Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

admin.site.urls autodiscovery doesn't work quite right #1

Open
sbuss opened this issue Feb 5, 2016 · 0 comments
Open

admin.site.urls autodiscovery doesn't work quite right #1

sbuss opened this issue Feb 5, 2016 · 0 comments

Comments

@sbuss
Copy link

sbuss commented Feb 5, 2016

The normal django pattern of admin.site.urls for admin urls doesn't work with baya. I'm pretty sure this is a problem with autodiscovery.

Docs fix: You need to do from myapp import admin as my_admin; my_admin.site.urls at the bottom of your admin.py file. This should be documented, but it's better to fix the core issue.

Long fix: make autodiscovery work properly

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

No branches or pull requests

1 participant