add admin page

This commit is contained in:
Robert Einsle 2017-01-03 19:40:35 +01:00
parent 38cd810017
commit 7e875101c9

View File

@ -1,3 +1,19 @@
from django.contrib import admin
from .models import *
# Register your models here.
class LocationAdmin(admin.ModelAdmin):
pass
class ClientAdmin(admin.ModelAdmin):
pass
class TableAdmin(admin.ModelAdmin):
pass
admin.site.register(Location, LocationAdmin)
admin.site.register(Client, ClientAdmin)
admin.site.register(Table, TableAdmin)