[tor-commits] [pups/master] /stats now requires login
colin at torproject.org
colin at torproject.org
Sun May 18 07:04:34 UTC 2014
commit d4813decec3314077087eae43344d26caba6d507
Author: Sherief Alaa <sheriefalaa.w at gmail.com>
Date: Sun May 18 01:36:48 2014 +0300
/stats now requires login
---
stats/views.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/stats/views.py b/stats/views.py
index 6b7c360..433d37a 100644
--- a/stats/views.py
+++ b/stats/views.py
@@ -22,8 +22,10 @@
from django.http import HttpResponse
from django.shortcuts import render, redirect
+from django.contrib.auth.decorators import login_required
+ at login_required
def stats(request):
return render(request, 'stats.html')
More information about the tor-commits
mailing list