Renaming Django application.
As default DO creating Django droplet with django project located here :
Also main application is named djangoproject:
I want to correctly change name of main application to ‘core’.
So… my steps was:
- ’mkdir core’ at /home/django/djangoproject/
- ’cp -r ./djangoproject/* ./core’ at /home/django/djangoproject/
- then I changed every reference of application 'djangoproject’ to 'core’ in files: settings.py, wsgi.py etc.
After restarting gunicorn ('sudo service gunicorn restart’) I got only 502 Errors.
What did I miss? Is there any another settings I need to change? Maybe nginx or gunicorn settings? If 'yes’ - where these settings are located?
I’ll appreciate any suggestions.
P.S. sorry for my English -___-