Changes between Initial Version and Version 1 of Ticket #13529


Ignore:
Timestamp:
May 12, 2010, 8:10:53 AM (15 years ago)
Author:
Karen Tracey
Comment:

Fixed formatting; please use preview. Page is: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_foreignkey (actually under queryset, next section down, but that doesn't seem to have a permalink anchor). Difference is the order of arguments to super().

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13529

    • Property Triage Stage UnreviewedAccepted
  • Ticket #13529 – Description

    initial v1  
    11Change:
    2 
     2{{{
    33class MyModelAdmin(admin.ModelAdmin):
    44    def queryset(self, request):
     
    77            return qs
    88        return qs.filter(author=request.user)
    9 
     9}}}
    1010By:
    11 
     11{{{
    1212class MyModelAdmin(admin.ModelAdmin):
    1313    def queryset(self, request):
     
    1616            return qs
    1717        return qs.filter(author=request.user)
    18 
     18}}}
Back to Top