Author: gregoryjnewman
Date: Thu Sep 11 16:41:33 2008
New Revision: 873
Modified:
trunk/pinax/local_apps/blog/views.py
Log:
adding @login_required for your_posts in blog view otherwise can't adapt
errors are showing up
Modified: trunk/pinax/local_apps/blog/views.py
==============================================================================
--- trunk/pinax/local_apps/blog/views.py (original)
+++ trunk/pinax/local_apps/blog/views.py Thu Sep 11 16:41:33 2008
@@ -42,6 +42,7 @@
"post": post[0],
}, context_instance=RequestContext(request))
[EMAIL PROTECTED]
def your_posts(request):
user = request.user
blogs = Post.objects.filter(author=user)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---