Please ignore the capital letters. The code is correct.

   social_auth = models.OneToOneField (
         'default.UserSocialAuth',
         related_name = 'social_influence')


Em 05-12-2016 14:38, Alessandro Bispo dos Santos escreveu:
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.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/050ba107-9d45-f007-8a3a-6e5878214abd%40bispo.eti.br.
For more options, visit https://groups.google.com/d/optout.

Reply via email to