[Python-modules-commits] [python-social-auth] 260/322: Alter email max length for Django app

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit 663a174db194b1cc46effcaa4a2dc45d41d0d8e3
Author: Jones Chi <duguschi at gmail.com>
Date:   Thu Apr 16 11:40:20 2015 +0800

    Alter email max length for Django app
    
    Django 1.8 starts to set max length of EmailField to 254.
---
 .../default/migrations/0003_alter_email_max_length.py | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/social/apps/django_app/default/migrations/0003_alter_email_max_length.py b/social/apps/django_app/default/migrations/0003_alter_email_max_length.py
new file mode 100644
index 0000000..e9cb540
--- /dev/null
+++ b/social/apps/django_app/default/migrations/0003_alter_email_max_length.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('default', '0002_add_related_name'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='code',
+            name='email',
+            field=models.EmailField(max_length=254),
+        ),
+    ]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list