fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Phone not required.
[wolnelektury.git]
/
src
/
funding
/
admin.py
diff --git
a/src/funding/admin.py
b/src/funding/admin.py
index
f4be465
..
7402c2a
100644
(file)
--- a/
src/funding/admin.py
+++ b/
src/funding/admin.py
@@
-1,5
+1,5
@@
-# This file is part of Wolne
l
ektury, licensed under GNU Affero GPLv3 or later.
-# Copyright © Fundacja
Nowoczesna Polska
. See NOTICE for more information.
+# This file is part of Wolne
L
ektury, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja
Wolne Lektury
. See NOTICE for more information.
#
from django.contrib import admin
from modeltranslation.admin import TranslationAdmin
#
from django.contrib import admin
from modeltranslation.admin import TranslationAdmin
@@
-73,6
+73,7
@@
class SpentAdmin(admin.ModelAdmin):
model = Spent
list_display = ['book', 'amount', 'timestamp']
search_fields = ['book__title']
model = Spent
list_display = ['book', 'amount', 'timestamp']
search_fields = ['book__title']
+ autocomplete_fields = ['book']
admin.site.register(Offer, OfferAdmin)
admin.site.register(Offer, OfferAdmin)