Private
Public Access
1
0

history post to get plus predefined links

This commit is contained in:
Sander Roosendaal
2020-05-06 21:09:25 +02:00
parent bf5f76e2ea
commit e9f1fe7a21
3 changed files with 60 additions and 30 deletions

View File

@@ -467,6 +467,7 @@ def getrequestrower(request,rowerid=0,userid=0,notpermanent=False):
raise Http404("Rower doesn't exist")
if r.user == request.user:
request.session['rowerid'] = r.id
return r
if userid != 0 and not is_rower_team_member(request.user,u.rower):
@@ -476,6 +477,7 @@ def getrequestrower(request,rowerid=0,userid=0,notpermanent=False):
if notpermanent == False:
request.session['rowerid'] = r.id
request.session['rowerid'] = r.id
return r
def getrequestplanrower(request,rowerid=0,userid=0,notpermanent=False):