fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
User list sorted by last activity.
[redakcja.git]
/
src
/
catalogue
/
admin.py
diff --git
a/src/catalogue/admin.py
b/src/catalogue/admin.py
index
a628961
..
8ce330c
100644
(file)
--- a/
src/catalogue/admin.py
+++ b/
src/catalogue/admin.py
@@
-137,7
+137,7
@@
class CollectionAdmin(admin.ModelAdmin):
autocomplete_fields = []
prepopulated_fields = {"slug": ("name",)}
search_fields = ["name"]
autocomplete_fields = []
prepopulated_fields = {"slug": ("name",)}
search_fields = ["name"]
- fields = ['name', 'slug', 'category', 'estimated_costs']
+ fields = ['name', 'slug', 'category', '
notes', '
estimated_costs']
readonly_fields = ['estimated_costs']
inlines = [AuthorInline, BookInline]
readonly_fields = ['estimated_costs']
inlines = [AuthorInline, BookInline]