Changes between Version 40 and Version 41 of NewformsHOWTO


Ignore:
Timestamp:
07/14/2008 04:34:31 PM (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v40 v41  
    510510#!python
    511511
    512 class PageOptions(admin.ModelAdmin):
     512class PageModelAdmin(admin.ModelAdmin):
    513513    class Media:
    514514        js = ('/some/form/javascript',)
     
    517517        }
    518518 
    519 admin.site.register(Page, PageOptions)
     519admin.site.register(Page, PageModelAdmin)
    520520}}}
    521521
Back to Top