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 am trying to use idios with multiple profiles but I don't see how I can create different profiles when creating a new user.
idios/model.py:60 registers the function create_profile with the post_save signal but create_profile creates a profile without any profile_slug passed in.
Does it mean that I can't create a user and a non-default profile at the same time?
The text was updated successfully, but these errors were encountered:
You have to create a ghost app, with amodels file and class inside
for example, if you call it profiles/models.py
# profiles/models.py
from django.db import models
from idios.models import ProfileBase
class Profile(ProfileBase):
name = models.CharField(max_length=100)
phone_number = models.CharField(max_length=20)
I am trying to use idios with multiple profiles but I don't see how I can create different profiles when creating a new user.
idios/model.py:60 registers the function create_profile with the post_save signal but create_profile creates a profile without any profile_slug passed in.
Does it mean that I can't create a user and a non-default profile at the same time?
The text was updated successfully, but these errors were encountered: