You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed idios following the instructions. When finished I run the command manage.py syncdb and returns with this error:
asprofile.profile: Accessor for field 'user' clashes with related field 'User.profile_set'. Add a related_name argument to the definition for 'user'.
My model class is this:
class Profile(ProfileBase):
maquinaria = models.CharField(("maquinaria"), max_length=50, null=True, blank=True)
intereses = models.TextField(("intereses"), null=True, blank=True)
My settings.py is this too:
INSTALLED_APPS = [
#"pinax.apps.profiles",
"idios",
I've installed idios following the instructions. When finished I run the command manage.py syncdb and returns with this error:
asprofile.profile: Accessor for field 'user' clashes with related field 'User.profile_set'. Add a related_name argument to the definition for 'user'.
My model class is this:
class Profile(ProfileBase):
maquinaria = models.CharField(("maquinaria"), max_length=50, null=True, blank=True)
intereses = models.TextField(("intereses"), null=True, blank=True)
My settings.py is this too:
INSTALLED_APPS = [
#"pinax.apps.profiles",
"idios",
ABSOLUTE_URL_OVERRIDES = {
"auth.user": lambda o: "/profiles/profile/%s/" % o.username,
}
AUTH_PROFILE_MODULE = "asprofile.Profile"
Best wishes
The text was updated successfully, but these errors were encountered: