Fix purchased courses list in profile

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent 8a0cd6bf81
commit 642994195c
  1. 2
      apps/user/views.py

@ -48,7 +48,7 @@ class UserView(DetailView):
)
context['paid'] = Course.objects.filter(
payments__in=CoursePayment.objects.filter(user=self.object),
)
).distinct()
return context

Loading…
Cancel
Save