Create badge notification type

This commit is contained in:
Trever Fischer
2012-06-07 16:50:48 -04:00
parent 8bf1478208
commit 711e021e8e

View File

@@ -0,0 +1,7 @@
from django.db.models.signals import post_syncdb
from notification import models as notification
def create_notice_types(app, created_models, verbosity, **kwargs):
notification.create_notice_type("badge_awarded", "Badge Awarded", "You recieved a badge!")
post_syncdb.connect(create_notice_types, sender=notification)