InvenTree/InvenTree/label/admin.py

15 lines
293 B
Python
Raw Normal View History

2020-08-15 23:29:45 +00:00
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
2020-08-15 23:28:12 +00:00
from django.contrib import admin
2020-08-15 23:29:45 +00:00
from .models import StockItemLabel
class StockItemLabelAdmin(admin.ModelAdmin):
list_display = ('name', 'description', 'label')
admin.site.register(StockItemLabel, StockItemLabelAdmin)