Changes between Version 37 and Version 38 of NewformsAdminBranch
- Timestamp:
- Oct 30, 2007, 11:46:34 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewformsAdminBranch
v37 v38 222 222 class Admin: 223 223 fields = ( 224 ('group1', {'fields': ('field1','field2') ,),225 ('group2', {'fields': ('field3','field4') ,),224 ('group1', {'fields': ('field1','field2')}), 225 ('group2', {'fields': ('field3','field4')}), 226 226 ) 227 227 … … 232 232 class MyModelB_Options(admin.ModelAdmin): 233 233 fieldsets = ( 234 ('group1', {'fields': ('field1','field2') ,),235 ('group2', {'fields': ('field3','field4') ,),234 ('group1', {'fields': ('field1','field2')}), 235 ('group2', {'fields': ('field3','field4')}), 236 236 ) 237 237 }}}