diff options
author | Usman Khalid <2200617@gmail.com> | 2015-11-24 15:32:27 +0500 |
---|---|---|
committer | Usman Khalid <2200617@gmail.com> | 2015-11-24 15:32:27 +0500 |
commit | cf6ba4310a59b60d4e2733a4d49724f367c13fb5 (patch) | |
tree | d46eb13b110f190601d2990d0654252140f219f8 | |
parent | 5cb37e85d0ddc39147f4bfaf94d700a976e239d1 (diff) | |
parent | dbf4c9b7fcbb000ec21bb30ea39a69c1907bcb12 (diff) |
Merge pull request #2 from edx/django1.8-upgrade
Django1.8 upgrade
-rw-r--r-- | django_openid_auth/migrations/0001_initial.py | 2 | ||||
-rw-r--r-- | django_openid_auth/models.py | 2 | ||||
-rw-r--r-- | setup.py | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/django_openid_auth/migrations/0001_initial.py b/django_openid_auth/migrations/0001_initial.py index c8bb23c..244cec0 100644 --- a/django_openid_auth/migrations/0001_initial.py +++ b/django_openid_auth/migrations/0001_initial.py @@ -43,7 +43,7 @@ class Migration(migrations.Migration): name='UserOpenID', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), - ('claimed_id', models.TextField(unique=True, max_length=2047)), + ('claimed_id', models.TextField(max_length=2047)), ('display_id', models.TextField(max_length=2047)), ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)), ], diff --git a/django_openid_auth/models.py b/django_openid_auth/models.py index ca6b0f3..30224e2 100644 --- a/django_openid_auth/models.py +++ b/django_openid_auth/models.py @@ -57,7 +57,7 @@ class Association(models.Model): class UserOpenID(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL) - claimed_id = models.TextField(max_length=2047, unique=True) + claimed_id = models.TextField(max_length=2047) display_id = models.TextField(max_length=2047) class Meta: @@ -43,7 +43,7 @@ from setuptools import find_packages, setup description, long_description = __doc__.split('\n\n', 1) -VERSION = '0.7' +VERSION = '0.8' setup( name='django-openid-auth', @@ -53,7 +53,6 @@ setup( install_requires=[ 'django>=1.5', 'python-openid>=2.2.0', - 'south', ], package_data={ 'django_openid_auth': ['templates/openid/*.html'], |