summaryrefslogtreecommitdiff
path: root/app/stuff/admin.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-04-08 15:59:08 -0400
committerluxagraf <sng@luxagraf.net>2018-04-08 15:59:08 -0400
commit58e2e73fef2db84a46f6d706a39997f2a6b9a9ba (patch)
tree12836b39060e51421ee31c94b944812a12966b7e /app/stuff/admin.py
parent179b60bfe0fd5f4333040ef343ac472b2cf8b993 (diff)
improved stuff admin some more
Diffstat (limited to 'app/stuff/admin.py')
-rw-r--r--app/stuff/admin.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/stuff/admin.py b/app/stuff/admin.py
index dc15a1f..135b17b 100644
--- a/app/stuff/admin.py
+++ b/app/stuff/admin.py
@@ -24,6 +24,7 @@ class ItemAdmin(admin.ModelAdmin):
'purchase_price',
'image',
'item_type',
+ 'creator',
'serial_number',
'isbn',
),
@@ -36,7 +37,6 @@ class ItemAdmin(admin.ModelAdmin):
),
('Extra', {
'fields': (
- 'creator',
'creator_sort_last_name',
'creator_sort_first_name',
'current_price',
@@ -51,3 +51,6 @@ class ItemAdmin(admin.ModelAdmin):
)
}),
)
+
+ class Media:
+ js = ('image-loader.js', 'next-prev-links.js')