You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tutorial refers to the line os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' but does not explain that you need to create a file on PythonAnywhere called mysite.settings that has the SECRET_KEY=<my unique secret key> line in it.
Without this file you get this error:
`2018-01-21 14:39:10,456: Error running WSGI application
2018-01-21 14:39:10,457: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
2018-01-21 14:39:10,457: File "/var/www/sbeaumont_pythonanywhere_com_wsgi.py", line 12, in
2018-01-21 14:39:10,457: application = StaticFilesHandler(get_wsgi_application())'
The text was updated successfully, but these errors were encountered:
Issue description
The tutorial refers to the line
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
but does not explain that you need to create a file on PythonAnywhere called mysite.settings that has theSECRET_KEY=<my unique secret key>
line in it.Without this file you get this error:
`2018-01-21 14:39:10,456: Error running WSGI application
2018-01-21 14:39:10,457: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
2018-01-21 14:39:10,457: File "/var/www/sbeaumont_pythonanywhere_com_wsgi.py", line 12, in
2018-01-21 14:39:10,457: application = StaticFilesHandler(get_wsgi_application())'
The text was updated successfully, but these errors were encountered: