prispevek | drobna uprava ziskavani bodu
This commit is contained in:
parent
63e150b868
commit
335393d06a
1 changed files with 2 additions and 3 deletions
|
@ -278,9 +278,8 @@ class PrispevekView(generic.DetailView):
|
|||
try:
|
||||
resitel = context['prispevek'].reseni.resitel
|
||||
cislo = context['prispevek'].reseni.cislo_body
|
||||
body = VysledkyKCisluOdjakziva.objects.filter(resitel=resitel,
|
||||
cislo=cislo)
|
||||
body = body.first().body
|
||||
body = VysledkyKCisluOdjakziva.objects.get(resitel=resitel,
|
||||
cislo=cislo).body
|
||||
titul = resitel.get_titul(body)
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue