Question

I would like to separate users into two different groups, employer or employee, at signup. I'm using django-userena and for the employer group I'm thinking of using a clone of the same signup view except with a different url tied to it.

So whoever signs up at url(r'^signup/employer/$) will be added to the employer group with

new user = user.groups.add(Group.objects.get(name=employer))

added to the view. Is this the right approach?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top