#50 Removed photo album admin representation.

This commit is contained in:
Marcus Scholz 2021-10-02 04:20:16 +02:00
parent a5bcde301c
commit f5fb33c2c5

View File

@ -21,9 +21,6 @@ class VoucherAdmin(admin.ModelAdmin):
valid.boolean = True valid.boolean = True
class PhotoAlbumsAdmin(admin.ModelAdmin):
list_display = ('label', 'place', 'url' )
class ExternalLinksAdmin(admin.ModelAdmin): class ExternalLinksAdmin(admin.ModelAdmin):
list_display = ('label', 'place', 'url', 'linktype' ) list_display = ('label', 'place', 'url', 'linktype' )
@ -37,5 +34,4 @@ admin.site.register(Explorer)
admin.site.register(Voucher, VoucherAdmin) admin.site.register(Voucher, VoucherAdmin)
admin.site.register(Place, PlacesAdmin) admin.site.register(Place, PlacesAdmin)
admin.site.register(PlaceImage, PlaceImagesAdmin) admin.site.register(PlaceImage, PlaceImagesAdmin)
admin.site.register(PhotoAlbum, PhotoAlbumsAdmin)
admin.site.register(ExternalLink, ExternalLinksAdmin) admin.site.register(ExternalLink, ExternalLinksAdmin)