fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggregation doesn't work with generic relations.
[prawokultury.git]
/
shop
/
admin.py
diff --git
a/shop/admin.py
b/shop/admin.py
index
6c84a94
..
58fd842
100644
(file)
--- a/
shop/admin.py
+++ b/
shop/admin.py
@@
-1,5
+1,5
@@
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
-# This file is part of
Wolnelek
tury, licensed under GNU Affero GPLv3 or later.
+# This file is part of
PrawoKul
tury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.utils.translation import ugettext_lazy as _
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from django.utils.translation import ugettext_lazy as _
@@
-10,7
+10,6
@@
from .models import Offer, Order
class OfferAdmin(admin.ModelAdmin):
model = Offer
list_display = ['entry', 'price']
class OfferAdmin(admin.ModelAdmin):
model = Offer
list_display = ['entry', 'price']
- #~ search_fields = ['entry__title_pl']
class PayedFilter(admin.SimpleListFilter):
class PayedFilter(admin.SimpleListFilter):