[Python-modules-commits] [python-social-auth] 03/322: Fix migration issue on python 3
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:12:41 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 ca24550e49de098bc5c80791542560c5bef1da75
Author: Christopher Grebs <cg at webshox.org>
Date: Thu Oct 16 23:19:55 2014 +0200
Fix migration issue on python 3
Django calls ``related_name % {...}`` in RelatedField.contribute_to_class which does not work on Python 3 as it does not support string formatting on byte-strings.
---
social/apps/django_app/default/migrations/0001_initial.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/social/apps/django_app/default/migrations/0001_initial.py b/social/apps/django_app/default/migrations/0001_initial.py
index 42c9bb4..eaa7e40 100644
--- a/social/apps/django_app/default/migrations/0001_initial.py
+++ b/social/apps/django_app/default/migrations/0001_initial.py
@@ -75,7 +75,7 @@ class Migration(migrations.Migration):
('extra_data', social.apps.django_app.default.fields.JSONField(
default=b'{}')),
('user', models.ForeignKey(
- related_name=b'social_auth', to=settings.AUTH_USER_MODEL)),
+ related_name='social_auth', to=settings.AUTH_USER_MODEL)),
],
options={
'db_table': 'social_auth_usersocialauth',
--
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