From 4a9112de5ec927b2140f6b20b4da9073b9256df0 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 8 Nov 2009 19:46:55 +0000 Subject: [PATCH] Fix typo. --- sommitrealweird/photo/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sommitrealweird/photo/admin.py b/sommitrealweird/photo/admin.py index d45b4c1..6f71cbe 100644 --- a/sommitrealweird/photo/admin.py +++ b/sommitrealweird/photo/admin.py @@ -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) -- 2.39.5