Answer the question
In order to leave comments, you need to log in
How to fix a Django project?
Hello.
the project worked, but after manipulating the renaming of the application, it stopped working. It gives the following error:
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 961, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django.api'
[02/May/2020 11:46:42] "GET /api/posts/ HTTP/1.1" 500 169757
Answer the question
In order to leave comments, you need to log in
If anyone is interested, the following helped:
1. Remove the virtual environment
2. Create a new Wirth. environment
3. Install dependencies
4. PROFIT
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question