fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a filter
[wolnelektury.git]
/
src
/
funding
/
admin.py
diff --git
a/src/funding/admin.py
b/src/funding/admin.py
index
bb44cd4
..
7402c2a
100644
(file)
--- a/
src/funding/admin.py
+++ b/
src/funding/admin.py
@@
-73,6
+73,7
@@
class SpentAdmin(admin.ModelAdmin):
model = Spent
list_display = ['book', 'amount', 'timestamp']
search_fields = ['book__title']
+ autocomplete_fields = ['book']
admin.site.register(Offer, OfferAdmin)