Fix ResitelInline a ReseniAdmin
This commit is contained in:
parent
9945d6232a
commit
32807c9f88
1 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ class ResitelAdmin(VersionAdmin):
|
|||
list_display = ['jmeno', 'prijmeni', 'user', 'pohlavi_muz', 'skola', 'rok_maturity', 'pocet_reseni']
|
||||
list_filter = ['pohlavi_muz', 'rok_maturity', 'zasilat']
|
||||
search_fields = ['jmeno', 'prijmeni', 'ulice', 'mesto', 'email']
|
||||
inlines = [ReseniKResiteliInline]
|
||||
# inlines = [ReseniKResiteliInline] # FIXME:
|
||||
view_on_site = False
|
||||
|
||||
def get_queryset(self, request):
|
||||
|
@ -341,7 +341,7 @@ class ReseniAdmin(VersionAdmin):
|
|||
list_display = [ProblemInline, ResitelInline, 'forma', 'cas_doruceni']
|
||||
list_filter = ['cas_doruceni', 'forma']
|
||||
search_fields = []
|
||||
inlines = [PrilohaReseniInline,ProblemInline,ResitelInline]
|
||||
inlines = [PrilohaReseniInline,ProblemInline,] # FIXME: odmazáno ResitelInline
|
||||
view_on_site = False
|
||||
|
||||
def get_queryset(self, request):
|
||||
|
|
Loading…
Reference in a new issue