mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 22:12:14 +00:00
Much versioning work
This commit is contained in:
@@ -42,7 +42,7 @@ class ProfileDetail(generic.DetailView):
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(ProfileDetail, self).get_context_data(**kwargs)
|
||||
context['page_title'] = "Profile: {}".format(self.object)
|
||||
context["completed_levels"] = self.object.as_trainee.level_qualifications()
|
||||
context["completed_levels"] = self.object.level_qualifications.all().select_related('level')
|
||||
return context
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user