Changes between Initial Version and Version 1 of Ticket #8060, comment 19
- Timestamp:
- Sep 22, 2011, 10:46:08 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8060, comment 19
initial v1 1 Version 2 of the patch is ready. I moved the permission checking code to the InlineModelAdmin class and added some tests. Fine-grained permission checking for the change_view should now work too. Any comments welcome. I'm not very fond of how I return an empty queryset by using pk__isnull=Trueas filter. Anybody have a better solution for that? I think the patch is more or less ready for review.1 Version 2 of the patch is ready. I moved the permission checking code to the InlineModelAdmin class and added some tests. Fine-grained permission checking for the change_view should now work too. Any comments welcome. I'm not very fond of how I return an empty queryset by using {{{ pk__isnull=True }}} as filter. Anybody have a better solution for that? I think the patch is more or less ready for review.