25 lines
359 B
Python
25 lines
359 B
Python
|
from django.contrib import admin
|
||
|
|
||
|
from inventory.models import Item, Container, Event
|
||
|
|
||
|
|
||
|
class ItemAdmin(admin.ModelAdmin):
|
||
|
pass
|
||
|
|
||
|
|
||
|
admin.site.register(Item, ItemAdmin)
|
||
|
|
||
|
|
||
|
class ContainerAdmin(admin.ModelAdmin):
|
||
|
pass
|
||
|
|
||
|
|
||
|
admin.site.register(Container, ContainerAdmin)
|
||
|
|
||
|
|
||
|
class EventAdmin(admin.ModelAdmin):
|
||
|
pass
|
||
|
|
||
|
|
||
|
admin.site.register(Event, EventAdmin)
|