# HG changeset patch # User Brian Neal # Date 1428364086 18000 # Node ID 53eaeb29bd2a8fd9fc442b58bd5ca32421ac1b69 # Parent b8182ddb7847df303e4525f4e2c440382da17422 Fix Messages app label conflicting with Django's Messages. For Django 1.7.7 upgrade. diff -r b8182ddb7847 -r 53eaeb29bd2a messages/__init__.py --- a/messages/__init__.py Wed Mar 25 20:31:09 2015 -0500 +++ b/messages/__init__.py Mon Apr 06 18:48:06 2015 -0500 @@ -1,1 +1,2 @@ +default_app_config = 'messages.apps.MessagesConfig' MSG_BOX_LIMIT = 30 # hard limit on # of msgs per box diff -r b8182ddb7847 -r 53eaeb29bd2a messages/apps.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messages/apps.py Mon Apr 06 18:48:06 2015 -0500 @@ -0,0 +1,6 @@ +from django.apps import AppConfig + +class MessagesConfig(AppConfig): + name = 'messages' + verbose_name = 'Private Messages' + label = 'private_messages'