From 9e5b147d6eb09cf992c0b5dd1c2fae49d837da56 Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Thu, 16 Feb 2017 21:03:24 +0100 Subject: [PATCH] register eventlocation in program admin --- src/program/admin.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/program/admin.py b/src/program/admin.py index af5b07e9..a2b5be56 100644 --- a/src/program/admin.py +++ b/src/program/admin.py @@ -1,12 +1,18 @@ from django.contrib import admin -from .models import Event, Speaker, EventType, EventInstance +from .models import Event, Speaker, EventType, EventInstance, EventLocation + + +@admin.register(EventLocation) +class EventInstanceAdmin(admin.ModelAdmin): + pass @admin.register(EventInstance) class EventInstanceAdmin(admin.ModelAdmin): pass + @admin.register(EventType) class EventTypeAdmin(admin.ModelAdmin): pass