Luke,

Not sure where exactly is the error but by reading the code above there
is something strange in the view "edit_blog".
the line : b = blogs.get_object(pk=request.user.id) seems a bit strange
to me. I do not understand why the primary key of is "request.user.id".
Don't you this would be better?
  * b = blogs.get_object(user__exact =request.user.id)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to