# HG changeset patch # User durandn # Date 1430228621 -7200 # Node ID 1b5550516ceb20ac6ecd966aee96006bb5ae363c # Parent b52d0f2347ab821e7f57ba4b78a393a0e19f649c Django 1.8 upgrade: adding app_label to models Meta + Using string instead of classes in ForeignKey fields diff -r b52d0f2347ab -r 1b5550516ceb src/ldt/ldt/settings.py --- a/src/ldt/ldt/settings.py Fri Apr 24 12:56:15 2015 +0200 +++ b/src/ldt/ldt/settings.py Tue Apr 28 15:43:41 2015 +0200 @@ -32,7 +32,6 @@ #'django_openid_consumer', 'corsheaders', 'social.apps.django_app.default', - #'south', 'guardian', 'sorl.thumbnail', 'tastypie', diff -r b52d0f2347ab -r 1b5550516ceb src/ldt/ldt/text/models.py --- a/src/ldt/ldt/text/models.py Fri Apr 24 12:56:15 2015 +0200 +++ b/src/ldt/ldt/text/models.py Tue Apr 28 15:43:41 2015 +0200 @@ -22,6 +22,9 @@ creation_date = models.DateTimeField(auto_now_add=True, verbose_name=_('annotation.creation_date')) update_date = models.DateTimeField(auto_now=True, verbose_name=_('annotation.update_date')) + class Meta: + app_label="text" + @Property def tags(): #@NoSelf