Commit 0e6a4259 authored by Nheo Samson's avatar Nheo Samson 🎸

Merge branch 'calendar' into 'staging'

Calendar

See merge request !8
parents 691c6991 ba4c2160
from django.contrib import admin
from .models import Event, Location
......@@ -28,13 +27,5 @@ class LocationAdmin(admin.ModelAdmin):
list_filter = ('mode', )
class EventInline(admin.TabularInline):
model = Event
class LocationInline(admin.TabularInline):
model = Location
admin.site.register(Event, EventAdmin)
admin.site.register(Location, LocationAdmin)
from django.http import HttpResponse
from .models import Event, Location
from .models import Event
def index(request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment