Private
Public Access
1
0

logging enabled/disabled thru config

This commit is contained in:
Sander Roosendaal
2022-04-07 08:43:43 +02:00
parent f49ba3b36a
commit 3c2813c3e3
4 changed files with 16 additions and 6 deletions

View File

@@ -1576,7 +1576,7 @@ def workout_c2import_view(request, page=1, userid=0, message=""):
rower = getrequestrower(request, userid=userid)
if rower.user != request.user:
messages.error(
request, 'You can only access your own workouts on the NK Logbook, not those of your athletes')
request, 'You can only access your own workouts on the Concept2 Logbook, not those of your athletes')
url = reverse('workout_c2import_view', kwargs={
'userid': request.user.id})
return HttpResponseRedirect(url)