2023-11-18 11:57:50 +00:00
|
|
|
from django.contrib import admin
|
|
|
|
|
2024-11-23 13:40:13 +00:00
|
|
|
from inventory.models import Item, Container, ItemPlacement, Comment, Event
|
2023-11-18 11:57:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
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)
|
2024-11-23 13:40:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
class ItemPlacementAdmin(admin.ModelAdmin):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
admin.site.register(ItemPlacement, ItemPlacementAdmin)
|
|
|
|
|
|
|
|
|
|
|
|
class CommentAdmin(admin.ModelAdmin):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
admin.site.register(Comment, CommentAdmin)
|