mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Add admin interface for StockItemLabel
This commit is contained in:
parent
a45902bd4f
commit
aefd70ce49
@ -1,3 +1,14 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
|
||||||
# Register your models here.
|
from .models import StockItemLabel
|
||||||
|
|
||||||
|
|
||||||
|
class StockItemLabelAdmin(admin.ModelAdmin):
|
||||||
|
|
||||||
|
list_display = ('name', 'description', 'label')
|
||||||
|
|
||||||
|
|
||||||
|
admin.site.register(StockItemLabel, StockItemLabelAdmin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user