acangiani / django-tagging

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

Bug with new Django-1.0_alpha2: diario.models #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DeprecationWarning: dispatcher.connect() is deprecated; use
Signal.connect() instead.

this is because the new module django.dispatch.dispatcher use a class named
Signal before the fuction connect.

the diario.models called fuction connect like this:

dispatcher.connect(entry_pre_save, signal=signals.pre_save, sender=Entry)

I removed the signal=signals.pre_save from inside the fuction called
connect(), and add like this:

dispatcher.Signal().connect(entry_pre_save, sender=Entry)

and it's works,

marcello.

Original issue reported on code.google.com by mbsalgue...@linuxmail.org on 13 Aug 2008 at 3:49

GoogleCodeExporter commented 9 years ago
opsss...
the wrong place
discart that! hiiii =)

Original comment by mbsalgue...@linuxmail.org on 13 Aug 2008 at 4:04

GoogleCodeExporter commented 9 years ago

Original comment by doug.nap...@gmail.com on 20 Aug 2008 at 11:29