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 %} {{ tag.name }} {% endfor %}

though, it won't show up anything.

- Any ideas what am I doing wrong?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to