dlamotte / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Error when importing an object with a TagField #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Traceback:
...\tagging\fields.py", line 32, in contribute_to_class
    signals.post_save.connect(self._save, cls, True)
AttributeError: 'object' object has no attribute 'connect'

is produced when an import is done, e.g. from blogs.models import BlogEntry
where BlogEntry is the model that has a TagField.

Original issue reported on code.google.com by calvin.c...@gtempaccount.com on 18 Aug 2008 at 9:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am getting the same error :(

Original comment by m.adilsa...@gmail.com on 18 Aug 2008 at 11:31

GoogleCodeExporter commented 8 years ago
You are not running with an up to date django.
Please update your django install.

Original comment by doug.nap...@gmail.com on 25 Aug 2008 at 4:29

GoogleCodeExporter commented 8 years ago
this works with django 1.0 beta 2

Original comment by doug.nap...@gmail.com on 29 Aug 2008 at 5:07

GoogleCodeExporter commented 8 years ago
Hi Doug,

It does work in an actual but would emit an error if I attempt to import 
TagField
object in python shell. This is most likely due to the refactoring of Signals in
django trunk (I track Django trunk).  Reference:
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Signalrefactorin
g

Regards

Original comment by calvin.c...@gtempaccount.com on 29 Aug 2008 at 7:56