Re: Role based Authentication

2022-07-21 Thread Mihir Patel
i am unable to authenticate normal user, can anyone help me?, when i try to normal user login in, it show's me same login page after putting right credentials, when i checked built in authenticationform in django folder in vscode it show's me 162 errors in terminal, can anyone help, what problem

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
can you please give me a example? so that I can understand it well. thanks in advance. Virus-free. www.avast.com

Re: Role based Authentication

2021-07-07 Thread Avi shah
you can normally do it using fbv's , just make sure while saving the model , you also save the user model also parallely with the student model(in reference with my repo) On Thu, Jul 8, 2021 at 7:44 AM DJANGO DEVELOPER wrote: > Avi Shah I have just visited your github repo. is there any other co

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
Avi Shah I have just visited your github repo. is there any other code where you have performed multi-user sign up with FBV's? On Thu, Jul 8, 2021 at 4:53 AM sum abiut wrote: > From the admin site you can create different groups and then assign > specific users to specific groups. > then filter

Re: Role based Authentication

2021-07-07 Thread sum abiut
>From the admin site you can create different groups and then assign specific users to specific groups. then filter users' roles based on the specific group that you have assigned them to. On Thu, Jul 8, 2021 at 3:53 AM Lalit Suthar wrote: > you can extend User model and have a role field in

Re: Role based Authentication

2021-07-07 Thread Lalit Suthar
you can extend User model and have a role field in default User model https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html On Wed, 7 Jul 2021 at 20:47, Avi shah wrote: > https://github.com/Avishah123/Multi-user-auth1 > > On Wed, Jul 7, 2021 at 8:16 PM DJ

Re: Role based Authentication

2021-07-07 Thread Avi shah
https://github.com/Avishah123/Multi-user-auth1 On Wed, Jul 7, 2021 at 8:16 PM DJANGO DEVELOPER wrote: > f > > On Wed, Jul 7, 2021 at 7:07 PM LokRaj Kumar Vuppu < > lokrajkumarvu...@gmail.com> wrote: > >> How to assign a role to user when registered into our application. >> >> -- >> You received

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
f On Wed, Jul 7, 2021 at 7:07 PM LokRaj Kumar Vuppu < lokrajkumarvu...@gmail.com> wrote: > How to assign a role to user when registered into our application. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

Role based Authentication

2021-07-07 Thread LokRaj Kumar Vuppu
How to assign a role to user when registered into our application. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To