Hi, I'm using django notification. I've installed django-messages, that tries to add records for into the notification_noticetype table.
Here is the management.py from django.db.models import get_models, signals from django.conf import settings from django.utils.translation import ugettext_noop as _ if "app.notification" in settings.INSTALLED_APPS: from trunk.app.notification.models import models def create_notice_types(app, created_models, verbosity, **kwargs): notification.create_notice_type("messages_received", _ ("Message Received"), _("you have received a message"), default=2) notification.create_notice_type("messages_sent", _("Message Sent"), _("you have sent a message"), default=1) notification.create_notice_type("messages_replied", _("Message Replied"), _("you have replied to a message"), default=1) notification.create_notice_type("messages_reply_received", _ ("Reply Received"), _("you have received a reply to a message"), default=2) notification.create_notice_type("messages_deleted", _("Message Deleted"), _("you have deleted a message"), default=1) notification.create_notice_type("messages_recovered", _ ("Message Recovered"), _("you have undeleted a message"), default=1) signals.post_syncdb.connect(create_notice_types, sender=notification) else: print "Skipping creation of NoticeTypes as notification app not found" Django founds the notification app but it seems that this line signals.post_syncdb.connect(create_notice_types, sender=notification) doesn't get executed. I googled but didn't found anything. Has anyone ever encountered this issue? I'm running on Python2.5 and Django 1.1.1 Thanks, Simone. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---