Added Admin panel representation for ExternalLinks.
This commit is contained in:
parent
caa69d6e6e
commit
c3ea5cdccd
@ -24,6 +24,9 @@ class VoucherAdmin(admin.ModelAdmin):
|
||||
class PhotoAlbumsAdmin(admin.ModelAdmin):
|
||||
list_display = ('label', 'place', 'url' )
|
||||
|
||||
class ExternalLinksAdmin(admin.ModelAdmin):
|
||||
list_display = ('label', 'place', 'url', 'linktype' )
|
||||
|
||||
class PlacesAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'submitted_by', 'submitted_when')
|
||||
|
||||
@ -35,3 +38,4 @@ 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)
|
||||
|
Loading…
Reference in New Issue
Block a user