Browse Source

Fix search pole Resitele

remotes/origin/vysl
Tomas Gavenciak 9 years ago
parent
commit
c347e75d38
  1. 2
      seminar/admin.py

2
seminar/admin.py

@ -160,7 +160,7 @@ class ResitelAdmin(reversion.VersionAdmin):
] ]
list_display = ['jmeno', 'prijmeni', 'user', 'pohlavi_muz', 'skola', 'rok_maturity', 'pocet_reseni'] list_display = ['jmeno', 'prijmeni', 'user', 'pohlavi_muz', 'skola', 'rok_maturity', 'pocet_reseni']
list_filter = ['pohlavi_muz', 'rok_maturity', 'zasilat'] list_filter = ['pohlavi_muz', 'rok_maturity', 'zasilat']
search_fields = ['jmeno', 'prijmeni', 'ulice', 'user', 'mesto', 'email'] search_fields = ['jmeno', 'prijmeni', 'ulice', 'mesto', 'email']
inlines = [ReseniKResiteliInline] inlines = [ReseniKResiteliInline]
def get_queryset(self, request): def get_queryset(self, request):

Loading…
Cancel
Save