mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
09b357976d
commit
9191d1ae21
@ -4,6 +4,7 @@ from simple_history.admin import SimpleHistoryAdmin
|
||||
from .models import StockLocation, StockItem
|
||||
from .models import StockItemTracking
|
||||
|
||||
|
||||
class LocationAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'pathstring', 'description')
|
||||
|
||||
@ -15,6 +16,7 @@ class StockItemAdmin(SimpleHistoryAdmin):
|
||||
class StockTrackingAdmin(admin.ModelAdmin):
|
||||
list_display = ('item', 'date', 'title')
|
||||
|
||||
|
||||
admin.site.register(StockLocation, LocationAdmin)
|
||||
admin.site.register(StockItem, StockItemAdmin)
|
||||
admin.site.register(StockItemTracking, StockTrackingAdmin)
|
||||
admin.site.register(StockItemTracking, StockTrackingAdmin)
|
||||
|
Loading…
Reference in New Issue
Block a user