2006/2/6, limodou <[EMAIL PROTECTED]>:
> 2006/2/6, Luke Plant <[EMAIL PROTECTED]>:
> >
> > Fixed now.
> > http://code.djangoproject.com/ticket/1331
> >
>
> Thanks. I'll try now.
>

But the problem is still existed.

It is:

Exception Type:         AttributeError
Exception Value:        'Post' object has no attribute 'set_tags'
Exception Location:
        
c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\db\models\manipulators.py
in save, line 121

c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\db\models\manipulators.py
in save

 114. for f in self.opts.many_to_many:
 115. if self.follow.get(f.name, None):
 116. if not f.rel.edit_inline:
 117. if f.rel.raw_id_admin:
 118. new_vals = new_data.get(f.name, ())
 119. else:
 120. new_vals = new_data.getlist(f.name)

 121. was_changed = getattr(new_object, 'set_%s' % f.name)(new_vals) ...

 122. if self.change and was_changed:
 123. self.fields_changed.append(f.verbose_name)
 124.
 125. expanded_data = DotExpandedDict(dict(new_data))
 126. # Save many-to-one objects. Example: Add the Choice objects for a Poll.
 127. for related in self.opts.get_all_related_objects():

--
I like python!
My Blog: http://www.donews.net/limodou
NewEdit Maillist: http://groups.google.com/group/NewEdit

Reply via email to