summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cresswell <robert.cresswell@outlook.com>2016-02-08 12:14:10 +0000
committerRob Cresswell <robert.cresswell@outlook.com>2016-02-08 14:11:46 +0000
commitd0e385621edcc71c4bb74e5a429e809ea47bade4 (patch)
treeab518c5be0766955e77ed06cc0666075272b705a
parentd779eb6fe3dedcd37e777f1530fa24a1a9343353 (diff)
downloaddjango_openstack_auth-d0e385621edcc71c4bb74e5a429e809ea47bade4.tar.gz
Add app_label
This is required by Django 1.9. See https://docs.djangoproject.com/en/1.9/ref/models/options/#app-label Partially-Implements: blueprint drop-dj17 Change-Id: I0403d7cc478302a9d88f8fc3df50a16a96af0d76
-rw-r--r--openstack_auth/user.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/openstack_auth/user.py b/openstack_auth/user.py
index e0f7df4..6162f13 100644
--- a/openstack_auth/user.py
+++ b/openstack_auth/user.py
@@ -401,3 +401,6 @@ class User(models.AbstractBaseUser, models.AnonymousUser):
if not self.has_a_matching_perm(perm, obj):
return False
return True
+
+ class Meta(object):
+ app_label = 'openstack_auth'