Multiple profiles #6

Open
ycchan opened this Issue Jul 6, 2011 · 2 comments

3 participants

@ycchan

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?

@turian

I too am interested in this.

@mattions

Check out the docs: http://oss.eldarion.com/idios/docs/0.1/gettingstarted.html#usage

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment