Code

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


Ignore:
Timestamp:
06/18/08 11:23:38 (6 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'