forked from DGNum/gestioCOF
fix error 500 shotgun
This commit is contained in:
parent
284dc12b7c
commit
ad0c398292
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ def buy_revente(request, spectacle_id):
|
||||||
if revente.shotgun:
|
if revente.shotgun:
|
||||||
reventes_shotgun.append(revente)
|
reventes_shotgun.append(revente)
|
||||||
|
|
||||||
if reventes_shotgun.empty():
|
if not reventes_shotgun:
|
||||||
return render(request, "bda-no-revente.html", {})
|
return render(request, "bda-no-revente.html", {})
|
||||||
|
|
||||||
if request.POST:
|
if request.POST:
|
||||||
|
|
Loading…
Reference in a new issue