Errors when reversing admin URLs when custom ModelAdmin doesn't provide model add/change URLs
|Patch needs improvement:
(Originally reported here)
Commit r16857 introduced a backward incompatible behavior of the admin app's master index and per-app index views.
The commit introduces changes in the template context building process that assume add and change permissions on models are always present when it is going to check for them. This fails with projects where these permissions might have been completely removed.
Change History (10)
comment:3 by , 12 years ago
|new → closed
comment:7 by , 12 years ago
|Errors when reversing admin URLs when add/change standard permissions don't exist → Errors when reversing admin URLs when custom ModelAdmin doesn't provide model add/change URLs