add admin page
This commit is contained in:
parent
38cd810017
commit
7e875101c9
@ -1,3 +1,19 @@
|
|||||||
from django.contrib import admin
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user