Re: Need help with userena - assign user to group at signup

2012-01-20 Thread Jesramz
>you just make your choice in the backend depending what your database says Would I have to go into the admin myself? (please, I have the mind of a four year-old) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Need help with userena - assign user to group at signup

2012-01-20 Thread Andres Reyes
What do you mean with the employee choosing the employer option? You normally don't give a choice in the frontend, you just make your choice in the backend depending what your database says 2012/1/19 Jesramz : > > > The problem with that, if I'm understanding correctly, is that a > person who is m

Re: Need help with userena - assign user to group at signup

2012-01-19 Thread Jesramz
The problem with that, if I'm understanding correctly, is that a person who is meant to be an employee can easily choose the employer option. I want to add permissions such that an employer can see employee profiles while the employee can't (a separate form might add a tiny bit more security, I t

Re: Need help with userena - assign user to group at signup

2012-01-19 Thread Andres Reyes
I don't think you need two different login forms, it looks more like a UserProfile with field in it saying something like EMPLOYEE_CHOICES = ( (1, 'employer'), (2, 'employee'), ) employee_type = models.IntegerField(choices=EMPLOYEE_CHOICES) 2012/1/19 Jesramz : > I would like to separate

Need help with userena - assign user to group at signup

2012-01-19 Thread Jesramz
I would like to separate users into two different groups, employer or employee, at signup. I think the usual approach is to make two different sign-up forms one for the employer group and another for the employee group. I'm currently using django-userena. What would I have to do to get this working