Re: ManyRelatedManager.add() acting funny?

2011-08-13 Thread Jeff Blaine
Nevermind. I get it. 'tags' has another field, description, which is what the extra u'' is for. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/jnvlX18nW

ManyRelatedManager.add() acting funny?

2011-08-13 Thread Jeff Blaine
What happened here? Do I not understand .add()? I would have expected to see [(u'rcf_clients',)] not [(u'rcf_clients', u'')] >>> print d.tags.values_list() [] >>> d.tags.add('rcf_clients') >>> d.save() >>> print d.tags.values_list() [(u'rcf_clients', u'')] >>> -- You received this message bec