[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [pups/master] /stats now requires login
commit d1ca8e7ba42ce7b2360050e56711bd73eb1f1ec3
Author: Sherief Alaa <sheriefalaa.w@xxxxxxxxx>
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
+@login_required
def stats(request):
return render(request, 'stats.html')
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits