Changes between Version 9 and Version 10 of DjangoSpecifications/NfAdmin/FlexibleAppHandling


Ignore:
Timestamp:
Jun 18, 2008, 1:23:38 PM (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoSpecifications/NfAdmin/FlexibleAppHandling

    v9 v10  
    3131
    3232class FooAppAdmin(admin.AppAdmin):
    33     app = settings.INSTALLED_APPS[0]
     33    # app = settings.INSTALLED_APPS[0] -- seems largely unneccessary, admin code has access to the app instance already
    3434    name = "Foo" # overrides self.app.name
    3535    description = 'Foo application does foo'
Back to Top