Tweet buttons.

master
Nick Sergeant 2012-09-17 22:30:46 -04:00
parent 7ddd5944ba
commit 0ab2494dbe
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def sitemap(request):
@render_to('stats.html')
def stats(request):
if not request.user.profile.is_pro:
if not request.user.is_authenticated() or not request.user.profile.is_pro:
raise Http404
snipts = Snipt.objects.filter(user=request.user).order_by('-views')