38 lines
589 B
Python
38 lines
589 B
Python
from django.contrib import admin
|
|
|
|
from inventory.models import Item, Container, ItemPlacement, Comment, 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)
|
|
|
|
|
|
class ItemPlacementAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
admin.site.register(ItemPlacement, ItemPlacementAdmin)
|
|
|
|
|
|
class CommentAdmin(admin.ModelAdmin):
|
|
pass
|
|
|
|
|
|
admin.site.register(Comment, CommentAdmin)
|