register eventlocation in program admin
This commit is contained in:
parent
b2a5874a1c
commit
9e5b147d6e
|
@ -1,12 +1,18 @@
|
||||||
from django.contrib import admin
|
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)
|
@admin.register(EventInstance)
|
||||||
class EventInstanceAdmin(admin.ModelAdmin):
|
class EventInstanceAdmin(admin.ModelAdmin):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
@admin.register(EventType)
|
@admin.register(EventType)
|
||||||
class EventTypeAdmin(admin.ModelAdmin):
|
class EventTypeAdmin(admin.ModelAdmin):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue