bzaghalarov

Untitled

Aug 22nd, 2022
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 5.59 KB | None | 0 0
  1. (.venv) bahruz@bzaghalarov:~/projects/tutorial/bahruz-aghalar/app$ python manage.py migrate
  2. Traceback (most recent call last):
  3.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 402, in run_from_argv
  4.     self.execute(*args, **cmd_options)
  5.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 448, in execute
  6.     output = self.handle(*args, **options)
  7.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 93, in wrapped
  8.     saved_locale = translation.get_language()
  9.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/translation/__init__.py", line 210, in get_language
  10.     return _trans.get_language()
  11.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/translation/__init__.py", line 65, in __getattr__
  12.     if settings.USE_I18N:
  13.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 92, in __getattr__
  14.     self._setup(name)
  15.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 79, in _setup
  16.     self._wrapped = Settings(settings_module)
  17.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 190, in __init__
  18.     mod = importlib.import_module(self.SETTINGS_MODULE)
  19.   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
  20.     return _bootstrap._gcd_import(name[level:], package, level)
  21.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  22.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  23.   File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  24.   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  25.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  26.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  27.   File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
  28. ModuleNotFoundError: No module named 'app'
  29.  
  30. During handling of the above exception, another exception occurred:
  31.  
  32. Traceback (most recent call last):
  33.   File "manage.py", line 23, in <module>
  34.     main()
  35.   File "manage.py", line 18, in main
  36.     execute_from_command_line(sys.argv)
  37.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
  38.     utility.execute()
  39.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 440, in execute
  40.     self.fetch_command(subcommand).run_from_argv(self.argv)
  41.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 415, in run_from_argv
  42.     connections.close_all()
  43.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/connection.py", line 84, in close_all
  44.     for conn in self.all(initialized_only=True):
  45.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/connection.py", line 76, in all
  46.     return [
  47.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/connection.py", line 73, in __iter__
  48.     return iter(self.settings)
  49.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/functional.py", line 57, in __get__
  50.     res = instance.__dict__[self.name] = self.func(instance)
  51.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/connection.py", line 45, in settings
  52.     self._settings = self.configure_settings(self._settings)
  53.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/db/utils.py", line 148, in configure_settings
  54.     databases = super().configure_settings(databases)
  55.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/utils/connection.py", line 50, in configure_settings
  56.     settings = getattr(django_settings, self.settings_name)
  57.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 92, in __getattr__
  58.     self._setup(name)
  59.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 79, in _setup
  60.     self._wrapped = Settings(settings_module)
  61.   File "/home/bahruz/projects/tutorial/bahruz-aghalar/.venv/lib/python3.8/site-packages/django/conf/__init__.py", line 190, in __init__
  62.     mod = importlib.import_module(self.SETTINGS_MODULE)
  63.   File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
  64.     return _bootstrap._gcd_import(name[level:], package, level)
  65.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  66.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  67.   File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
  68.   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  69.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  70.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  71.   File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
  72. ModuleNotFoundError: No module named 'app'
  73. (.venv) bahruz@bzaghalarov:~/projects/tutorial/bahruz-aghalar/app$
  74.  
Advertisement
Add Comment
Please, Sign In to add comment