[Python-modules-commits] [python-social-auth] 188/322: Add missing migration for Django app

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:07 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 52f6f1450299aee86730bb430228bf2ed6bb9774
Author: Andrei Petre <andreipetre at icloud.com>
Date:   Sat Mar 21 15:15:53 2015 +0000

    Add missing migration for Django app
---
 .../default/migrations/0002_add_related_name.py     | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

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
new file mode 100644
index 0000000..d33d47a
--- /dev/null
+++ b/social/apps/django_app/default/migrations/0002_add_related_name.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+from __future__ import unicode_literals
+
+from django.db import models, migrations
+from django.conf import settings
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('default', '0001_initial'),
+    ]
+
+    operations = [
+        migrations.AlterField(
+            model_name='usersocialauth',
+            name='user',
+            field=models.ForeignKey(related_name='social_auth', to=settings.AUTH_USER_MODEL),
+            preserve_default=True,
+        ),
+    ]

-- 
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