]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/photo/admin.py
Update copyright years
[sommitrealweird.git] / sommitrealweird / photo / admin.py
index d45b4c115d71ca1bff71dc57ccadf29ca6b56ae1..6f71cbe91c6ccba4660a8a3d306217f7ef80b747 100644 (file)
@@ -5,7 +5,7 @@ class AlbumAdmin(admin.ModelAdmin):
     prepopulated_fields = { "slug": ("name",) }
     ordering = ( 'name', )
 
-class PhotoAdmin(admin.PhotoAdmin):
+class PhotoAdmin(admin.ModelAdmin):
     ordering = ( 'image', )
 
 admin.site.register(Album, AlbumAdmin)