[Python-modules-commits] [python-social-auth] 11/89: Fix 'RemovedInDjango110Warning: SubfieldBase has been deprecated.' messages from Django 1.9.

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:51 UTC 2016


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

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

commit 10a6f5570a4471d156c2bc06ecd4313189d23172
Author: Jared Contrascere <jcontra at gmail.com>
Date:   Wed Dec 30 16:45:20 2015 -0500

    Fix 'RemovedInDjango110Warning: SubfieldBase has been deprecated.' messages from Django 1.9.
---
 social/apps/django_app/default/fields.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/social/apps/django_app/default/fields.py b/social/apps/django_app/default/fields.py
index acdc6ea..4a865ee 100644
--- a/social/apps/django_app/default/fields.py
+++ b/social/apps/django_app/default/fields.py
@@ -11,7 +11,7 @@ except ImportError:
     from django.utils.encoding import smart_text
 
 
-class JSONField(six.with_metaclass(models.SubfieldBase, models.TextField)):
+class JSONField(models.TextField):
     """Simple JSON field that stores python structures as JSON strings
     on database.
     """

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