Changes between Version 37 and Version 38 of NewformsAdminBranch


Ignore:
Timestamp:
10/30/07 11:46:34 (7 years ago)
Author:
ys@…
Comment:

corrected wrong parentheses ) -> }

Legend:

Unmodified
Added
Removed
Modified
  • NewformsAdminBranch

    v37 v38  
    222222   class Admin:
    223223     fields = (
    224        ('group1', {'fields': ('field1','field2'),),
    225        ('group2', {'fields': ('field3','field4'),),
     224       ('group1', {'fields': ('field1','field2')}),
     225       ('group2', {'fields': ('field3','field4')}),
    226226       )
    227227
     
    232232class MyModelB_Options(admin.ModelAdmin):
    233233     fieldsets = (
    234        ('group1', {'fields': ('field1','field2'),),
    235        ('group2', {'fields': ('field3','field4'),),
     234       ('group1', {'fields': ('field1','field2')}),
     235       ('group2', {'fields': ('field3','field4')}),
    236236       )
    237237}}}
Back to Top