Skip to content

Instantly share code, notes, and snippets.

@theSekyi
Created May 13, 2019 11:54
Show Gist options
  • Select an option

  • Save theSekyi/adb2a0f7c408786d295264150599ac33 to your computer and use it in GitHub Desktop.

Select an option

Save theSekyi/adb2a0f7c408786d295264150599ac33 to your computer and use it in GitHub Desktop.
System check identified no issues (0 silenced).
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
May 13, 2019 - 11:41:38
Django version 2.2.1, using settings 'ohemaa.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
Exception in thread django-main-thread:
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/utils/autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 137, in inner_run
handler = self.get_handler(*args, **options)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 27, in get_handler
handler = super().get_handler(*args, **options)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 64, in get_handler
return get_internal_wsgi_application()
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/servers/basehttp.py", line 45, in get_internal_wsgi_application
return import_string(app_path)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/utils/module_loading.py", line 17, in import_string
module = import_module(module_path)
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/socrates/Projects/ohemaa/ohemaa/wsgi.py", line 16, in <module>
application = get_wsgi_application()
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application
return WSGIHandler()
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/handlers/wsgi.py", line 135, in __init__
self.load_middleware()
File "/Users/socrates/.local/share/virtualenvs/ohemaa--c6Qww2Z/lib/python3.7/site-packages/django/core/handlers/base.py", line 37, in load_middleware
mw_instance = middleware(handler)
TypeError: __init__() missing 1 required positional argument: 'app_module'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment