Commit 27047a9c authored by Chris Bednar's avatar Chris Bednar

exception handling for create_user cas_callbacks

parent 8af57a9b
# secret settings
# secret settings
# copy to secret.py
# used for django's cryptographic signing, 50 characters long
......
......@@ -17,7 +17,7 @@ class HomepageView(TemplateView):
def get_context_data(self, **kwargs):
context = super(HomepageView, self).get_context_data(**kwargs)
if self.request.user.is_authenticated():
context['lookouts'] = Lookout.objects.filter(owner=self.request.user)
context['lookouts'] = Lookout.objects.filter(owner=self.request.user.student)
return context
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment