Thursday, January 31, 2013

Re: previous values of custom method in save

Daniel, thank you for your response.
I just use standard "edit album" page in admin interface without any special forms or widgets for ManyToManyField.
Perhaps it worth mentioning, I also use django-mptt for Tag like this:

    from mptt.models import MPTTModel, TreeForeignKey

    class Tag(MPTTModel):
        name = models.CharField(max_length=50, unique=True)
        parent = TreeForeignKey('self', null=True, blank=True, related_name='children')

четверг, 31 января 2013 г., 14:52:35 UTC+4 пользователь Daniel Roseman написал:
On Wednesday, 30 January 2013 10:31:09 UTC, Sammael wrote:
When I change 'tags' in admin panel and save my model, old tags are being written to file 'info.txt' instead of new ones, but it works good with regular fields like
How do I overcome this issue?
Thank you in advance for any advice.

How are you updating the tags?

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment