Changes between Version 9 and Version 10 of DjangoSpecifications/NfAdmin/FlexibleAppHandling
- Timestamp:
- Jun 18, 2008, 1:23:38 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DjangoSpecifications/NfAdmin/FlexibleAppHandling
v9 v10 31 31 32 32 class 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 34 34 name = "Foo" # overrides self.app.name 35 35 description = 'Foo application does foo'