Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Watching for file changes with StatReloader
- Exception in thread Thread-1:
- Traceback (most recent call last):
- File "/home/ubuntu/.pyenv/versions/3.7.0/lib/python3.7/threading.py", line 917, in _bootstrap_inner
- self.run()
- File "/home/ubuntu/.pyenv/versions/3.7.0/lib/python3.7/threading.py", line 865, in run
- self._target(*self._args, **self._kwargs)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 54, in wrapper
- fn(*args, **kwargs)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
- autoreload.raise_last_exception()
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 77, in raise_last_exception
- raise _exception[0](_exception[1]).with_traceback(_exception[2])
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 54, in wrapper
- fn(*args, **kwargs)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/__init__.py", line 24, in setup
- apps.populate(settings.INSTALLED_APPS)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/apps/registry.py", line 122, in populate
- app_config.ready()
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/contrib/admin/apps.py", line 24, in ready
- self.module.autodiscover()
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/contrib/admin/__init__.py", line 26, in autodiscover
- autodiscover_modules('admin', register_to=site)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/module_loading.py", line 47, in autodiscover_modules
- import_module('%s.%s' % (app_config.name, module_to_search))
- File "/home/ubuntu/.pyenv/versions/3.7.0/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 "/home/ubuntu/project/aqmt/apps/cycle_registartion/admin.py", line 7, in <module>
- from django_reverse_admin import ReverseModelAdmin
- ModuleNotFoundError: No module named 'django_reverse_admin'
- Traceback (most recent call last):
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/apps/registry.py", line 155, in get_app_config
- return self.app_configs[app_label]
- KeyError: 'users'
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/contrib/auth/__init__.py", line 165, in get_user_model
- return django_apps.get_model(settings.AUTH_USER_MODEL, require_ready=False)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/apps/registry.py", line 205, in get_model
- app_config = self.get_app_config(app_label)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/apps/registry.py", line 162, in get_app_config
- raise LookupError(message)
- LookupError: No installed app with label 'users'.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "manage.py", line 31, in <module>
- execute_from_command_line(sys.argv)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
- utility.execute()
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/__init__.py", line 375, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/base.py", line 323, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 60, in execute
- super().execute(*args, **options)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/base.py", line 364, in execute
- output = self.handle(*args, **options)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 95, in handle
- self.run(**options)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 102, in run
- autoreload.run_with_reloader(self.inner_run, **options)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 579, in run_with_reloader
- start_django(reloader, main_func, *args, **kwargs)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 564, in start_django
- reloader.run(django_main_thread)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/autoreload.py", line 272, in run
- get_resolver().urlconf_module
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/utils/functional.py", line 80, in __get__
- res = instance.__dict__[self.name] = self.func(instance)
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/urls/resolvers.py", line 564, in urlconf_module
- return import_module(self.urlconf_name)
- File "/home/ubuntu/.pyenv/versions/3.7.0/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 "/home/ubuntu/project/aqmt/config/urls.py", line 29, in <module>
- path('cycle/form/', include('cycle_registartion.urls')),
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/urls/conf.py", line 34, in include
- urlconf_module = import_module(urlconf_module)
- File "/home/ubuntu/.pyenv/versions/3.7.0/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 "/home/ubuntu/project/aqmt/apps/cycle_registartion/urls.py", line 2, in <module>
- from .views import *
- File "/home/ubuntu/project/aqmt/apps/cycle_registartion/views.py", line 17, in <module>
- from .forms import EducationForm, PassportForm, SelfDocsScansForm, OfferDocsForm
- File "/home/ubuntu/project/aqmt/apps/cycle_registartion/forms.py", line 9, in <module>
- User = get_user_model()
- File "/home/ubuntu/.pyenv/versions/env/lib/python3.7/site-packages/django/contrib/auth/__init__.py", line 170, in get_user_model
- "AUTH_USER_MODEL refers to model '%s' that has not been installed" % settings.AUTH_USER_MODEL
- django.core.exceptions.ImproperlyConfigured: AUTH_USER_MODEL refers to model 'users.User' that has not been installed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement