diff options
author | Johan Lundberg <lundberg@nordu.net> | 2014-10-22 16:54:29 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2014-10-22 16:54:29 +0200 |
commit | bbb6962f43bf5d020fbc1ae41fbee2f0c9aff199 (patch) | |
tree | c15d6e834f434cef3445491247657807e19d9493 /meetingtools/apps/content | |
parent | 805350c85087fa9900daf0baeda330fc54321cbc (diff) |
Minor fixes and PEP-8.
Diffstat (limited to 'meetingtools/apps/content')
-rw-r--r-- | meetingtools/apps/content/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meetingtools/apps/content/views.py b/meetingtools/apps/content/views.py index d300b86..bc8abb3 100644 --- a/meetingtools/apps/content/views.py +++ b/meetingtools/apps/content/views.py @@ -32,7 +32,7 @@ def user(request, username=None): def cluster(request, cluster_name=None): if not request.user.is_staff: - return HttpResponseForbidden + return HttpResponseForbidden() clusters = ACCluster.objects.all().values('name') if cluster_name: @@ -54,7 +54,7 @@ def cluster(request, cluster_name=None): def domain(request, domain_name): if not request.user.is_staff: - return HttpResponseForbidden + return HttpResponseForbidden() domain_tag = get_object_or_404(Tag, name='domain:%s' % domain_name) users = cache.get('%s-users' % domain_tag) |