Code

Changes between Version 6 and Version 7 of DjangoSpecifications/NfAdmin/FlexibleAppHandling


Ignore:
Timestamp:
06/18/08 11:04:25 (6 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/NfAdmin/FlexibleAppHandling

    v6 v7  
    3131 
    3232class FooAppAdmin(admin.AppAdmin): 
    33     name = "Foo" # overrides app().name 
     33    app = settings.INSTALLED_APPS[0] 
     34    name = "Foo" # overrides self.app.name 
    3435    description = "An application that does foo" 
    3536    style = {'classes' : ('collapse',)}