django-history

changeset 7:dfffea3feff0

Admin is not inner class anymore
author Alexander Solovyov <piranha@piranha.org.ua>
date Tue Jul 22 09:57:38 2008 +0000
parents b3369df99950
children 4575b3524be4
files base.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/base.py	Tue Jul 22 09:44:58 2008 +0000
     1.2 +++ b/base.py	Tue Jul 22 09:57:38 2008 +0000
     1.3 @@ -32,7 +32,7 @@
     1.4      # Create the class, which automatically triggers ModelBase processing
     1.5      model = type(name, (models.Model,), attrs)
     1.6  
     1.7 -    # Create an Admin inner class if admin options were provided
     1.8 +    # Create an Admin class if admin options were provided
     1.9      if admin_opts is not None:
    1.10          class Admin(admin.ModelAdmin):
    1.11              pass
Repositories maintained by Alexander Solovyov