You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 youradmin.py
file. This should be documented, but it's better to fix the core issue.Long fix: make autodiscovery work properly
The text was updated successfully, but these errors were encountered: