Diego Búrigo Zacarão  committed f70c269

minor: Fixed auto add notice types after syncdb

- For some reason South break the post_syncdb signal from the
notification app. Now the notice types of the notification
are created after the txcommon app migration.

  • Participants
  • Parent commits 9d959dd

Comments (0)

Files changed (1)

File transifex/txcommon/management/

 from django.conf import settings
 from django.db.models import signals
 from django.utils.translation import ugettext_noop as _
+from txcommon import models as txcommon_app
 # This is temporary
-    signals.post_syncdb.connect(create_notice_types, sender=notification)
+    signals.post_syncdb.connect(create_notice_types, sender=txcommon_app)
 except ImportError:
     print "Skipping creation of NoticeTypes as notification app not found"