M
M
Michael La2019-06-23 18:35:53
Django
Michael La, 2019-06-23 18:35:53

Error in Django_react. What to do?

I found a Django + React bundle on GitHub, but when running migrations (python manage.py migrate), an error occurs:


Traceback (most recent call last):
File "manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Python37-32\lib\site-packages\django\core\management\__init__.py" , line 381, in execute_from_command_line
utility.execute()
File "C:\Python37-32\lib\site-packages\django\core\management\__init__.py", line 357, in execute
django.setup()
File "C :\Python37-32\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Python37-32\lib\site-packages\django\apps \registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "C:\Python37-32\lib\site-packages\django\apps\config.py", line 90, in create
module = import_module(entry)
File "C:\Python37-32\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006 , in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'webpack_loader'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Malyarov, 2019-06-23
@Mihail_Tropin

pip install django-webpack-loader

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question