field model from external app, won't show up

2007-03-13 Thread Panos Laganakos
I've created an app 'meta', which defines a 'Tag' model from the 'blog' app I do: from mysite.meta.models import Tag class Post(models.Model): ... tags = models.ManyToManyField(Tag, blank=True, null=True) ... then in the template file I try to: {% for tag in object.get_tag_list %}

Re: field model from external app, won't show up

2007-03-13 Thread Panos Laganakos
I came across, http://code.google.com/p/django-tagging/ which looks pretty interesting. I will be trying that out. Nonetheless, I'd still like to know what am I (if I am), doing wrong on my own implementation. On Mar 13, 6:11 pm, "Panos Laganakos" <[EMAIL PROTECTED]> wrote: > I've created an app

Re: field model from external app, won't show up

2007-03-13 Thread James Bennett
On 3/13/07, Panos Laganakos <[EMAIL PROTECTED]> wrote: > then in the template file I try to: > {% for tag in object.get_tag_list %} {{ tag.name }} {% endfor %} The many-to-many relationship will set up an accessor 'tag_set' which is a manager; the correct form in pure Python would be for tag in