Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove UID from context, not needed anymore

Roland Geider703c856f9ba2
diff --git a/wger/manager/views/log.py b/wger/manager/views/log.py
index bb4b58e96..c9be94693 100644
--- a/wger/manager/views/log.py
+++ b/wger/manager/views/log.py
@@ -420,6 +420,5 @@ def calendar(request, username=None, year=None, month=None):
context['owner_user'] = user
context['is_owner'] = is_owner
context['impressions'] = WorkoutSession.IMPRESSION
- context['uid'] = uid
context['month_list'] = WorkoutLog.objects.filter(user=user).dates('date', 'month')
return render(request, 'workout/calendar.html', context)