Changeset - 02a8e274f75d
[Not reviewed]
0 1 0
Luke Hatcher - 12 years ago 2012-07-18 23:22:41
lukeman@gmail.com
update admin views for sponsors
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
symposion/sponsorship/admin.py
Show inline comments
...
 
@@ -42,6 +42,7 @@ class SponsorAdmin(admin.ModelAdmin):
 
        })
 
    ]
 
    inlines = [SponsorBenefitInline]
 
    list_display = ["name", "external_url", "level", "active"]
 
    
 
    def get_form(self, *args, **kwargs):
 
        # @@@ kinda ugly but using choices= on NullBooleanField is broken
...
 
@@ -56,6 +57,7 @@ class SponsorAdmin(admin.ModelAdmin):
 

	
 
class BenefitAdmin(admin.ModelAdmin):
 
    
 
    list_display = ["name", "type", "description"]
 
    inlines = [BenefitLevelInline]
 

	
 

	
0 comments (0 inline, 0 general)