Problem with Django and python social auth

55 views
Skip to first unread message

Alessandro Bispo dos Santos

unread,
Dec 5, 2016, 11:41:23 AM12/5/16
to django...@googlegroups.com
Hello. I'm new in Django. Has anyone here worked with
python-social-auth? I have an application here that was made using
version 1.6 of Django, and I am trying to migrate to version 1.10. It
turns out I'm going through some problems, and I'm not sure if it's
because of differences between versions. When I run 'python manage.py
runserver', the following error occurs:
socialconnections.SocialInfluence.social_auth: (fields.E300) Field
defines a relation with model 'default.UserSocialAuth', which is either
not installed, or is abstract.

The default.UserSocialAuth class is set to INSTALLED_APPS
(social.apps.django_app.default). Has anyone ever gone through something
like that and have any idea why this is happening? The code snippet that
gives error is as follows:

Social_auth = models.OneToOneField (
'Default.UserSocialAuth',
Related_name = 'social_influence')


Thanks in advance.

Alessandro Bispo dos Santos

unread,
Dec 6, 2016, 12:12:33 PM12/6/16
to django...@googlegroups.com
Please ignore the capital letters. The code is correct.

social_auth = models.OneToOneField (
'default.UserSocialAuth',
related_name = 'social_influence')
Reply all
Reply to author
Forward
0 new messages