Code

Changes between Initial Version and Version 1 of Ticket #8060, comment 19


Ignore:
Timestamp:
09/22/11 08:46:08 (3 years ago)
Author:
sjaensch
Comment:

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=True as filter. Anybody have a better solution for that? I think the patch is more or less ready for review. 
     1Version 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.