Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated to be compatable with Django Alpha.

  • Loading branch information...
commit 75a32f85f550779eb02e73c68281bdd1afc2b5f5 1 parent e871a24
@lethain authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  forms.py
  2. +3 −3 models.py
View
2  forms.py
@@ -1,5 +1,5 @@
import cgi
-from django import newforms as forms
+from django import forms
from lifeflow.text_filters import comment_markup
View
6 models.py
@@ -3,7 +3,7 @@
from django.core.cache import cache
from django.contrib.sitemaps import ping_google
from django.contrib.sites.models import Site
-from django.dispatch import dispatcher
+from django.dispatch import Signal
from django.db.models import signals
from django.core.mail import mail_admins
from lifeflow.text_filters import entry_markup
@@ -569,5 +569,5 @@ def do_save():
resave_hist = {}
-dispatcher.connect(resave_object, signal=signals.post_save, sender=Project)
-dispatcher.connect(resave_object, signal=signals.post_save, sender=Entry)
+signals.post_save.connect(resave_object, sender=Project)
+signals.post_save.connect(resave_object, sender=Entry)
Please sign in to comment.
Something went wrong with that request. Please try again.