[Python-modules-commits] [python-social-auth] 225/322: Remove unsupported attribute from alter field migration
    Wolfgang Borgert 
    debacle at moszumanska.debian.org
       
    Sat Dec 24 15:13:12 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 320eb67f9c8c1a8a4deb36f42486b881d5486850
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Sat Apr 4 02:07:56 2015 -0300
    Remove unsupported attribute from alter field migration
---
 social/apps/django_app/default/migrations/0002_add_related_name.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/social/apps/django_app/default/migrations/0002_add_related_name.py b/social/apps/django_app/default/migrations/0002_add_related_name.py
index d33d47a..8e39f15 100644
--- a/social/apps/django_app/default/migrations/0002_add_related_name.py
+++ b/social/apps/django_app/default/migrations/0002_add_related_name.py
@@ -15,7 +15,6 @@ class Migration(migrations.Migration):
         migrations.AlterField(
             model_name='usersocialauth',
             name='user',
-            field=models.ForeignKey(related_name='social_auth', to=settings.AUTH_USER_MODEL),
-            preserve_default=True,
+            field=models.ForeignKey(related_name='social_auth', to=settings.AUTH_USER_MODEL)
         ),
     ]
-- 
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