diff options
author | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2014-01-03 01:06:22 +0100 |
---|---|---|
committer | Joaquín Aguirrezabalaga <kinote@kinote.org> | 2014-01-03 01:06:40 +0100 |
commit | f05c5e2d8a705df1c94b63a978267b291c893bbb (patch) | |
tree | a8bd95e9cc2c0bd48be57893ccc4ddec63152d29 /fotos/admin.py | |
parent | 802a74102b9073e961ef1d7a487f99b962d76512 (diff) | |
download | elgarito-master.tar.gz elgarito-master.zip |
Diffstat (limited to 'fotos/admin.py')
-rw-r--r-- | fotos/admin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fotos/admin.py b/fotos/admin.py index 8a5f94a..f5cc4cc 100644 --- a/fotos/admin.py +++ b/fotos/admin.py @@ -1,12 +1,14 @@ # vim: set fileencoding=utf-8 ts=4 shiftwidth=4 softtabstop=4 expandtab: from django.contrib import admin -from elgarito.fotos.models import Album, Foto +from fotos.models import Album, Foto + class AlbumAdmin(admin.ModelAdmin): list_display = ('nombre', 'autor', 'created_on') admin.site.register(Album, AlbumAdmin) + class FotoAdmin(admin.ModelAdmin): list_display = ('nombre', 'album', 'autor', 'created_on') |