瀏覽代碼

HUE-1973 [core] django-openid-auth mysql issue

Change django-auth-ldap model.
There are no migrations, so this may break some upgrade paths.
Abraham Elmahrek 11 年之前
父節點
當前提交
4db11f2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/models.py

+ 1 - 1
desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/models.py

@@ -54,5 +54,5 @@ class Association(models.Model):
 
 class UserOpenID(models.Model):
     user = models.ForeignKey(User)
-    claimed_id = models.TextField(max_length=2047, unique=True)
+    claimed_id = models.CharField(max_length=255, unique=True)
     display_id = models.TextField(max_length=2047)