Commit 16dc4315 authored by Bruno Martin's avatar Bruno Martin
Browse files

fix is_anonymous

parent dec4008c
......@@ -9,7 +9,7 @@ register = template.Library()
def get_current_class(context, course):
current_user = context.get('user')
if current_user.is_anonymous():
if current_user.is_anonymous:
return None
current_class = None
......
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