forked from beba/foerderbarometer
added whitespace
This commit is contained in:
parent
17f763ba66
commit
52315d4378
|
|
@ -38,11 +38,13 @@ def auth_deny(choice, pk, auth):
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
def export(request):
|
def export(request):
|
||||||
'''export the project database to a csv'''
|
'''export the project database to a csv'''
|
||||||
return HttpResponse('WE WANT CSV!')
|
return HttpResponse('WE WANT CSV!')
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
def authorize(request, choice, pk):
|
def authorize(request, choice, pk):
|
||||||
'''If IF grant a support they click a link in a mail which leads here.
|
'''If IF grant a support they click a link in a mail which leads here.
|
||||||
|
|
@ -54,6 +56,7 @@ def authorize(request, choice, pk):
|
||||||
else:
|
else:
|
||||||
return HttpResponse(f"AUTHORIZED! choice: {choice}, pk: {pk}")
|
return HttpResponse(f"AUTHORIZED! choice: {choice}, pk: {pk}")
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
@login_required
|
||||||
def deny(request, choice, pk):
|
def deny(request, choice, pk):
|
||||||
'''If IF denies a support they click a link in a mail which leads here
|
'''If IF denies a support they click a link in a mail which leads here
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue