Upgrade tastypie

master
Nick Sergeant 2011-11-01 16:37:13 -04:00
parent 538bb2f1da
commit aba40a57b3
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ from django.db.models import Count
from snipts.models import Snipt
from taggit.models import Tag
TODO: MUST UPGRADE TASTYPIE.
def home(request):
if request.user.is_authenticated():
return list_user(request, user=request.user)