Issue
File "C:\Users\User\path\lib\site-packages\environ\environ.py", line 277, in get_value
raise ImproperlyConfigured(error_msg)
django.core.exceptions.ImproperlyConfigured: Set the CELERY_BROKER_URL environment variable
I'm getting this error when I execute the python manage.py
command.
I already installed cookiecutter
with its requirements but I don't know where to go from there.
Any suggestions?
Solution
When you create user project with cookiecutter
, you must set every required settings. In this case, it is celery
.
If you don't want to use celery, I recommend you to recreate your project. Then type n
when cookiecutter
ask to use celery.
If you want to use celery, see this tutorial First step with Django.
I give you some advise. cookiecutter
is powerful tool to create project simply. But if you are not familiar with django and other libraries, the cookiecutter
could confuse you. So I recommend you not to use the cookiecutter
. Instead, look at this tutorial and proceed step by step.
Answered By - Jrog
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.