Bug fix in heightweight create
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1ffac09c11
commit
e4080de1d5
|
@ -364,7 +364,7 @@ def heightweight_create_or_update(request, heightweightid=None, gymnast_id=None)
|
||||||
heightweight = get_object_or_404(HeightWeight, pk=heightweightid)
|
heightweight = get_object_or_404(HeightWeight, pk=heightweightid)
|
||||||
data = {"gymnast_related": heightweight.gymnast}
|
data = {"gymnast_related": heightweight.gymnast}
|
||||||
else:
|
else:
|
||||||
mindstate = None
|
heightweight = None
|
||||||
data = {}
|
data = {}
|
||||||
if gymnast_id:
|
if gymnast_id:
|
||||||
gymnast = get_object_or_404(Gymnast, pk=gymnast_id)
|
gymnast = get_object_or_404(Gymnast, pk=gymnast_id)
|
||||||
|
|
Loading…
Reference in New Issue