PEP fixes

This commit is contained in:
Oliver 2018-04-16 20:46:21 +10:00
parent 09b357976d
commit 9191d1ae21

View File

@ -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)