mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
17 lines
423 B
Python
17 lines
423 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
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)
|