Commit 327db338 authored by Jose Gabriel L. Salas's avatar Jose Gabriel L. Salas

removed unnecessary code in admin.py

parent d6fc7537
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)
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