On 10/24/06, luxagraf <[EMAIL PROTECTED]> wrote:
>
> "'Tag' object has no attribute 'entry_set'"
>
> Which I believe means that get_object_or_404 is not finding anything
> to return... and yet the correct tag is being passed in and the error
> reporting shows the value of tag being what it should...

I read this as 'get_object_or_404' is returning an object, but that
object doesn't have an entry_set attribute. If get_object_or_404 was
not finding an object, it would raise a Http404 exception.

I can't say I know the 23 excuses data model, but if Entry is supposed
to have an m2m or m2m relation with Tag (which is implied by you
requesting tag.entry_set), the error you are reporting would be
consistent with not having added the Entry model to your application.
Without the data model, its difficult to help more than this.

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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