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
When I add SimpleAdminConfig in settings.py, and set admin.site to a new AdminSitePlus in urls.py, I get the message "You don’t have permission to view or edit anything." when logged in as a superuser.
If I revert those two edits, switching back to the standard admin, I can see and edit as usual.
Happy to help debug but not sure where to start.
The text was updated successfully, but these errors were encountered:
Aha. This happens if you don't explicitly call admin.autodiscover(). I thought it wasn't necessary since I had stuff in admin.py. I only see the tables for my app and not the auth tables, but I suspect this is related.
Now, if you use any other package, and it uses the @admin.register decorator, it won't know about adminplus. For example, contrib.auth. And so, nothing in admin.
This sounds like a bug so I won't close this out. I can't decide if it's a Django bug or an adminplus bug.
When I add SimpleAdminConfig in settings.py, and set admin.site to a new AdminSitePlus in urls.py, I get the message "You don’t have permission to view or edit anything." when logged in as a superuser.
If I revert those two edits, switching back to the standard admin, I can see and edit as usual.
Happy to help debug but not sure where to start.
The text was updated successfully, but these errors were encountered: