Errors when reversing admin URLs when custom ModelAdmin doesn't provide model add/change URLs
|Reported by:||Ramiro Morales||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
(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 Changed 5 years ago by
|Status:||new → closed|
comment:7 Changed 5 years ago by
|Summary:||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|