Author: leidel
Date: Wed Jan 21 01:03:21 2009
New Revision: 143
Modified:
wiki/IntegratingNotification.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/IntegratingNotification.wiki
==============================================================================
--- wiki/IntegratingNotification.wiki (original)
+++ wiki/IntegratingNotification.wiki Wed Jan 21 01:03:21 2009
@@ -23,11 +23,11 @@
from django.conf import settings
if "notification" in settings.INSTALLED_APPS:
- from notification.models import create_notice_type
+ from notification import models as notification
def create_notice_types(app, created_models, verbosity, **kwargs):
- create_notice_type("friends_invite", "Invitation Received", "you
have received an invitation")
- create_notice_type("friends_accept", "Acceptance Received", "an
invitation you sent has been accepted")
+ notification.create_notice_type("friends_invite", "Invitation
Received", "you have received an invitation")
+ notification.create_notice_type("friends_accept", "Acceptance
Received", "an invitation you sent has been accepted")
signals.post_syncdb.connect(create_notice_types, sender=notification)
else:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---