Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Django 3, there is no python_2_unicode_compatible in django.utils and so it fails #60

Open
LukasNel opened this issue Jul 8, 2022 · 0 comments

Comments

@LukasNel
Copy link

LukasNel commented Jul 8, 2022

Traceback (most recent call last):
File "X:\Lukas\MasterDrive\MasterdriveBackend\masterdrivebackend\manage.py", line 21, in
main()
File "X:\Lukas\MasterDrive\MasterdriveBackend\masterdrivebackend\manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "C:\Miniconda3\lib\site-packages\django\core\management_init_.py", line 419, in execute_from_command_line
utility.execute()
File "C:\Miniconda3\lib\site-packages\django\core\management_init_.py", line 395, in execute
django.setup()
File "C:\Miniconda3\lib\site-packages\django_init_.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Miniconda3\lib\site-packages\django\apps\registry.py", line 114, in populate
app_config.import_models()
File "C:\Miniconda3\lib\site-packages\django\apps\config.py", line 301, in import_models
self.models_module = import_module(models_module_name)
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "C:\Miniconda3\lib\site-packages\admin_tools_stats\models.py", line 18, in
from django.utils.encoding import python_2_unicode_compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant