On Jun 29, 6:05 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> Very odd.  UserFlag has an objects attribute which is an of
> UserFlagManager.  Looking at the svn source, I don't see how UserFlag
> in views.userflags.flag() could refer to a UseFlagManager object
> rather than the UserFlag model.  :-/

Sorry, I didn't mean to convey that ... userflags.flag() refers to
UserFlagManager directly. It's as you say, UserFlag's object is an
instance of UserFlagManager, but nonetheless, here's the line (no.
254) in UserFlagManager (called from UserFlag) where the request
fails:

     f = self.objects.get(user__pk=user.id, comment__pk=comment.id)

I was hoping for a working example from someone/somewheres, to help me
troubleshoot this ...

Cheers.
John


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to