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


Ignore:
Timestamp:
Jun 18, 2008, 1:04:25 PM (16 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',)}
Back to Top