Re: Auto assigning 2 types of user roles on sign up

2019-10-23 Thread Stephanie Semerville
r account at least with email and with > member role. Make account disabled. You might also add invitation key which > you can put in email and check as well. > > When invited user starts sign up procedure you can just fill in the blanks > and enable account. > > > ke 23.

Re: Auto assigning 2 types of user roles on sign up

2019-10-23 Thread Stephanie Semerville
ass to create an instance and save it to db > later. > > u = User(name='Lucy') > u.save() > > Maybe you can check the docs here > https://docs.djangoproject.com/en/2.2/topics/db/models/ . > > On Wed, Oct 23, 2019 at 9:37 AM Stephanie Semerville < > stephanie.

Auto assigning 2 types of user roles on sign up

2019-10-22 Thread Stephanie Semerville
I am new to Django and trying to create a website that has two user roles primary and member. What i would like to happen is for by default a primary user to sign up and be assigned the primary role. When that primary user logs into the website, I would like them to have the ability to invite