Commit 629b12da authored by Aleksandar Trifunovic's avatar Aleksandar Trifunovic Committed by Jelle van der Waa
Browse files

request.user.is_authenticated() -> request.user.is_authenticated

parent b8b85e7f
......@@ -18,7 +18,7 @@
def index(request):
if request.user.is_authenticated():
if request.user.is_authenticated:
def updates():
return get_recent_updates(testing=True, staging=True)
......@@ -79,7 +79,7 @@ def download(request):
def feeds(request):
repos = Repo.objects.all()
if not request.user.is_authenticated():
if not request.user.is_authenticated:
repos = repos.filter(staging=False)
context = {
'arches': Arch.objects.all(),
Supports Markdown
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