Hi,
I have just setup a droplet using the one-click install for django. I uploaded all my file and have been following a tutorial that multiple people have recommended to me. I got two errors, one I fixed which sent to another error that looked more-or-less like this:
RuntimeError: Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
However, in trying to fix the problem I ran service gunicorn restart in my terminal hoping that the problem would be resolved. However, it did not work and not I am getting this:
502 Bad Gateway
nginx/1.10.3 (Ubuntu)
I am really annoyed because DO doesn’t seem to have a phone number so I have to wait around in an online forum to get help and I can’t seem to find anything online about this. I am beginner with all this stuff, so if you can help it would be greatly appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I got the same error but i am trying to upload a django project that is already created, I change the sattings.py file and also the urls but still I am getting the same problem, what can I do this is annoying?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.