I'm trying to launch my first web app and it says 'something is wrong' when I try to load it.
I check the server logs and at the very bottom, it shows and error:
2015-10-04 06:01:42 spawned 2 offload threads for uWSGI worker 1
2015-10-04 06:01:44 announcing my loyalty to the Emperor...
For the Error log, the last lines show:
2015-10-04 06:01:50,172 : File "/home/KTruong88/.virtualenvs/Kappa/lib/python3.4/site-packages/django/__init__.py", line 17, in setup
2015-10-04 06:01:50,172 : configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
2015-10-04 06:01:50,172 : File "/home/KTruong88/.virtualenvs/Kappa/lib/python3.4/site-packages/django/conf/__init__.py", line 48, in __getattr__
2015-10-04 06:01:50,173 : self._setup(name)
2015-10-04 06:01:50,173 : File "/home/KTruong88/.virtualenvs/Kappa/lib/python3.4/site-packages/django/conf/__init__.py", line 42, in _setup
2015-10-04 06:01:50,174 : % (desc, ENVIRONMENT_VARIABLE))
2015-10-04 06:01:50,174 :django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I'm not exactly sure what LOGGING_CONFIG is or how to define the env. variable. How do I go about fixing this?
Edit: Problem solved. Not sure exactly what happened but I copied and pasted some wsgi stuff from tango with django tutorial.
[edit by admin: formatting]