Advertisement
cfox04

django error

Feb 15th, 2021
51
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2. File "manage.py", line 22, in <module>
  3. main()
  4. File "manage.py", line 18, in main
  5. execute_from_command_line(sys.argv)
  6. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
  7. utility.execute()
  8. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\__init__.py", line 377, in execute
  9. django.setup()
  10. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\__init__.py", line 24, in setup
  11. apps.populate(settings.INSTALLED_APPS)
  12. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\apps\registry.py", line 114, in populate
  13. app_config.import_models()
  14. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\apps\config.py", line 211, in import_models
  15. self.models_module = import_module(models_module_name)
  16. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\importlib\__init__.py", line 127, in import_module
  17. return _bootstrap._gcd_import(name[level:], package, level)
  18. File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  19. File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  20. File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  21. File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  22. File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  23. File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  24. File "D:\Folders\Games\FiveM\sunnyvale-rp\sunnyvalecad\website\cad\civilian\models.py", line 4, in <module>
  25. User = apps.get_model('discord_user', 'User')
  26. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\apps\registry.py", line 199, in get_model
  27. self.check_models_ready()
  28. File "C:\Users\Colton Fox\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\apps\registry.py", line 141, in check_models_ready
  29. raise AppRegistryNotReady("Models aren't loaded yet.")
  30. django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.
Advertisement
RAW Paste Data Copied
Advertisement