python - Accessing `http://localhost:8080/admin/djcelery/` returns 403 in Django -
i trying access http://localhost:8080/admin/djcelery/
in django admin. can access http://localhost:8080/admin
, can run celery task can't access djcelery admin site.
here url
url(r'^admin/', include(admin.site.urls)),
here settings.py
import djcelery djcelery.setup_loader() broker_url = "amqp://guest:guest@localhost:5672//" celery_result_backend='djcelery.backends.database:databasebackend' celerybeat_scheduler = 'djcelery.schedulers.databasescheduler'
do have add additional access admin/djcelery/
?
i assume have installed package
pip install django-celery
make sure added in installed_apps
installed_apps += ("djcelery", )
and run migrate
python manage.py migrate djcelery
if still not load can glance detailed documentation
Comments
Post a Comment