Removed "built-in" Genshi backend as it is replaced by the github version now.
[toast/alpenzoo.git] / animals / admin.py
index 8c38f3f3dad51e4585f3984282c2a4bec5349c1e..618797ec8d4b3b08b33557680860dbbcab1c6b7b 100644 (file)
@@ -1,3 +1,10 @@
 from django.contrib import admin
+from .models import Animal
+
+
+class AnimalAdmin(admin.ModelAdmin):
+    list_display = ('name_german', 'size_cm')
+
 
 # Register your models here.
+admin.site.register(Animal, AnimalAdmin)
\ No newline at end of file