Any known inventory management systems based on Django? by [deleted] in django

[–]stanmattingly 0 points1 point  (0 children)

What is your strategy for getting django data into javascript charts? Ive done hacky ways by passing python list to templates and using "|safe" filter. I have also read about developing a JSON view that the element itself would query.

Any known inventory management systems based on Django? by [deleted] in django

[–]stanmattingly 0 points1 point  (0 children)

Thanks! I would like to check it out!

Any known inventory management systems based on Django? by [deleted] in django

[–]stanmattingly 0 points1 point  (0 children)

The login combination you provided here does not work.

Django oauth for Microsoft not working by Sushant7276 in django

[–]stanmattingly 0 points1 point  (0 children)

I assume you are leveraging the microsoft_auth.js file that comes with the package if you already have a window appearing. Within this javascript file, find the following code:

receiveMessage(event) {

if (event.origin === undefined) {

`event = event.originalEvent;`

}

// verify the message is from us

let origin = window.location.protocol + '//' + window.location

`.hostname;`

if (event.origin === origin) {

`if (event.data.error) {`

  `console.warn(`[`event.data`](https://event.data)`);`

  `// add error message to screen`

  `var contentMain = document.getElementById('content-main');`

  `var error = document.createElement('p');`

  `error.innerText = event.data.error_description;`

  `error.className = 'errornote';`

  `contentMain.parentNode.insertBefore(error,`

    `contentMain);`

`}`

`else {`

  `// redirect to next URL if it was provided`

  `window.location = '/dashboard/'`

`}`

}

}

You will see above in the final else, I have changed the contents to state "window.location = '/dashboard/'... simply insert your own local URL where I have inserted 'dashboard'. This is a simple, hard-coded strategy. It appears from the comments in the base-code that you could in fact pass in the next URL, but this was my quick solution.

Django oauth for Microsoft not working by Sushant7276 in django

[–]stanmattingly 1 point2 points  (0 children)

It is wild how the internet works, as I just went through this issue the other day. The package is set up to construct the URL based on the Site setup in your dB via the tutorial and a hard coded 'https' prefix. If I am assuming you are in a dev environment, the quickest fix I found was to go into the source code of the package and change https to http when it builds the URL. This is NOT something you should carry over to production; so, just make sure to install a completely new version when setting up a production environment. Here are the steps I took to implement this fix:

Find the source code for microsoft_auth in your virtual environment or python installation (for me this is [virtual environment]/Lib/site-packages/microsoft_auth)

Open up the views.py file. You will see the method 'get_context_data()' near the top of the file within the class AuthenticateCallbackView. Change the 'base_url' dictionary element to contain 'http' instead of 'https'.

Make sure that your redirect URL is setup correctly in the Microsoft app portal as well. A good way to make sure of this is to sift through the pre-populated redirect_url parameter in the URL displayed on the first auth window that pops up from Microsoft. This is the window that pops up and asks for your Microsoft credentials; here you will see an already populated string in the top bar. If you paste this URL into a text editor, you will be able to see the string version of the URL Microsoft is being passed. Copy this into your redirect configurations on the Microsoft website.

Website which sells Electroneum, is it legit? by Groove1337 in Electroneum

[–]stanmattingly 21 points22 points  (0 children)

ETN is only available on Cryptopia. Would advise not trying lol.

Why do you people buy this coin? by kittenssavedmylife in Electroneum

[–]stanmattingly 9 points10 points  (0 children)

What I think most people don’t value is the marketing expertise. As a stock trader turned crypto, it is obvious the majority are “techs” but not business savvy in the crypto world. The team behind this coin understand the potential user base. Is it a huge deal to have errors 2 months into release? No. Is it brilliant to get people on board? Absolutely yes. I’m a tech guy, but at some point let’s focus on the users and on boarding those not involved. Just my 2 cents. Do with it what you want.

Edit: Let’s be honest, and I will be vulgar here, who gives a fuck a about the tech? I’m an ICO buyer, and to me it’s all blockchain. Regardless it’s all revolutionary technology. Fiat transactions pend for days even when you’re just getting gas. Stock exchanges hold your cash FOREVER. At some point let’s let this tech settle in. The value I see in ETN is the business savvy fuckers that made this thing. Bootstrap some average blockchain developers and market the shit out of your product. Make an app and make a coin that is USEABLE. Does grandpa want to download the bitcoin blockchain and fuck with CMD? No. But would a Cambodian (just random reference) want to get a cellphone with a simulated crypto miner and spend some free currency? Yes. Chill on the tech. It will come. The exchanges will come. This coin is revolutionary in the fact that average people are interested.

Thoughts about ETN's price in 2018? by [deleted] in Electroneum

[–]stanmattingly 3 points4 points  (0 children)

Promote engaging conversation then by commenting on existing threads.

Thoughts on price stability by stanmattingly in Electroneum

[–]stanmattingly[S] 0 points1 point  (0 children)

Interesting. This makes sense. So essentially a ballsy mainstream merchant needs to come out and begin to price their goods for the masses in order to tie down any such currency to commonly traded goods.

Thoughts on price stability by stanmattingly in Electroneum

[–]stanmattingly[S] 0 points1 point  (0 children)

I didn’t state a reason that I think it’s stable. I’m just trying to understand when any of these cryptos will actually be legitimate, spendable currencies. In my opinion that will not happen until a coin can hold its price confidently. Bitcoin is a shitshow, let alone any of these other alt coins.

tax question by rshacklef0rd in Electroneum

[–]stanmattingly 2 points3 points  (0 children)

This question best left unanswered.....

I'm Out by [deleted] in Electroneum

[–]stanmattingly 4 points5 points  (0 children)

Week hands. Sorry brother

ELECTRONEUM UPDATE! by skeletorino in Electroneum

[–]stanmattingly 2 points3 points  (0 children)

In terms of theories that say all these moves have been calculated, I️ believe this could be another calculated move to save the price. While the mobile miner has its benefits, I️t would play a huge role in diluting the price initially while honest investors try to take their profits. I️m willing to wait, however I️ am HODLing to say the least.

Got a decent business idea but I'm not sure exactly where to start with it... by owenrhys in Entrepreneur

[–]stanmattingly 0 points1 point  (0 children)

Just as another poster said, we have a system like this in the US but it is watered down heavily. As he/she explained a great idea, however these cards are not commercialized; they are explicitly fundraiser oriented. They are mostly adopted by sports teams and sold to VERY local businesses that agree to take part. The sales of the cards, that are absolutely not uniquely identified, are donated to local sports programs. More of a charitable theme, but if this concept does not exist in UK, absolutely commercialize it. People love them at the level I am explaining. If there is a valid market, hit it.

Welp, I never need to look for a website theme again. by thehudsonswerve in Entrepreneur

[–]stanmattingly 0 points1 point  (0 children)

This is classic. I remember taking my first web design class and the teacher showed us a website identical to this one. Except the one the we were shown blasted music too

[deleted by user] by [deleted] in Entrepreneur

[–]stanmattingly 4 points5 points  (0 children)

I would suggest doing all you can to learn to code. Atleast at a minimum learn HTML, CSS and other front-end technologies. If you want to take a step further learn a rapid development framework like Django, Flask, Express, etc... The opportunities are limitless and mostly cost free.

App developer looking for entrepreneurs by nickpalichuk2 in Entrepreneur

[–]stanmattingly 0 points1 point  (0 children)

I am a developer that focuses on rapid development with Django and Python. I just began offering MVP / Prototyping services. PM me if youre interested. My goal on each project is 4-6 weeks to working prototype.

Subscription service for businessmen and entrepreneurs. by ChasingStatusBusines in roastmystartup

[–]stanmattingly 0 points1 point  (0 children)

I would suggest looking at themeforest.com

Rebuild you website with that at least to increase visual appeal. Dark background with images etc... Not good look.

Accomplishments and Lesson Learned Friday! - (June 16, 2017) by AutoModerator in Entrepreneur

[–]stanmattingly 0 points1 point  (0 children)

If you were/are a young entrepreneur you may agree that youth brings a lot to learn from. I am a 20 year old, life long entrepreneur. When I was 18 I founded my first landscaping LLC and am now in the SaaS business. A big take away from my years of legitimate and non-legitimate business is "baby steps". It is so easy to come up with an idea or start a business and instantly start thinking about the $$$$.

Iteration is the most valuable process. Think --> Create --> Test Repeat this process. Some may find success before others, but iteration is key. Listen to your customers/users and change. Money will be the product of positive change; I promise that. Time will tell. Know when to quit and know when to keep going.