Název id v url
This commit is contained in:
parent
d5d55d76a9
commit
3db6231a77
1 changed files with 1 additions and 0 deletions
|
@ -105,3 +105,4 @@ def soustredeniStvrzenkyView(request, soustredeni):
|
|||
class SoustredeniAbstraktyView(generic.DetailView):
|
||||
model = Soustredeni
|
||||
template_name = 'soustredeni/export_do_abstraktu.html'
|
||||
pk_url_kwarg = 'soustredeni' # v url bude <int:soustredeni> místo defaultně požadovaného <int:pk>
|
||||
|
|
Loading…
Reference in a new issue