From f5fb33c2c5f6b24b077a01a7e5edba7100916f70 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sat, 2 Oct 2021 04:20:16 +0200 Subject: [PATCH] #50 Removed photo album admin representation. --- django_lostplaces/lostplaces/admin.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django_lostplaces/lostplaces/admin.py b/django_lostplaces/lostplaces/admin.py index a771a8a..a9d9769 100644 --- a/django_lostplaces/lostplaces/admin.py +++ b/django_lostplaces/lostplaces/admin.py @@ -21,9 +21,6 @@ class VoucherAdmin(admin.ModelAdmin): valid.boolean = True -class PhotoAlbumsAdmin(admin.ModelAdmin): - list_display = ('label', 'place', 'url' ) - class ExternalLinksAdmin(admin.ModelAdmin): list_display = ('label', 'place', 'url', 'linktype' ) @@ -37,5 +34,4 @@ admin.site.register(Explorer) admin.site.register(Voucher, VoucherAdmin) admin.site.register(Place, PlacesAdmin) admin.site.register(PlaceImage, PlaceImagesAdmin) -admin.site.register(PhotoAlbum, PhotoAlbumsAdmin) admin.site.register(ExternalLink, ExternalLinksAdmin)