]> git.sommitrealweird.co.uk Git - sommitrealweird.git/commitdiff
Fix typo.
authorBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 8 Nov 2009 19:46:55 +0000 (19:46 +0000)
committerBrett Parker <iDunno@sommitrealweird.co.uk>
Sun, 8 Nov 2009 19:46:55 +0000 (19:46 +0000)
sommitrealweird/photo/admin.py

index d45b4c115d71ca1bff71dc57ccadf29ca6b56ae1..6f71cbe91c6ccba4660a8a3d306217f7ef80b747 100644 (file)
@@ -5,7 +5,7 @@ class AlbumAdmin(admin.ModelAdmin):
     prepopulated_fields = { "slug": ("name",) }
     ordering = ( 'name', )
 
     prepopulated_fields = { "slug": ("name",) }
     ordering = ( 'name', )
 
-class PhotoAdmin(admin.PhotoAdmin):
+class PhotoAdmin(admin.ModelAdmin):
     ordering = ( 'image', )
 
 admin.site.register(Album, AlbumAdmin)
     ordering = ( 'image', )
 
 admin.site.register(Album, AlbumAdmin)