Merge branch 'Aufinal/bda_revente' Fix

This commit is contained in:
Martin Pépin 2016-09-28 16:48:51 +02:00
commit 2f920536dd

View file

@ -443,7 +443,7 @@ def buy_revente(request, spectacle_id):
if revente.shotgun:
reventes_shotgun.append(revente)
if reventes_shotgun.empty():
if not reventes_shotgun:
return render(request, "bda-no-revente.html", {})
if request.POST: