mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
14 lines
358 B
Python
14 lines
358 B
Python
from django.contrib import admin
|
|
|
|
from .models import StockItemLabel, StockLocationLabel, PartLabel
|
|
|
|
|
|
class LabelAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ('name', 'description', 'label', 'filters', 'enabled')
|
|
|
|
|
|
admin.site.register(StockItemLabel, LabelAdmin)
|
|
admin.site.register(StockLocationLabel, LabelAdmin)
|
|
admin.site.register(PartLabel, LabelAdmin)
|