Easy,
while creating user make staff=false.
Second user will go using the admin panel and can update isStaff= True.
now the first user would be able to access the django app.
On Thu, Oct 1, 2020 at 8:46 PM Eugene TUYIZERE <eugenetuyizere@gmail.com> wrote:
Dear all,I want to make an application that requires 2 person to complete the user creation. I mean when initiator creates a user, for a user to login in application, it requires that an authorizer authorizes the user creation. This can also work in case a user is disable in the system. But I do not have an idea how to implement this in Django. If some can help I appreciate.Thank you--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0c965c18-a0b4-48b0-9518-fcf9da63af0en%40googlegroups.com.
Thanks & Regards
Regards,
Danish
Regards,
Danish
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPQdaF2QJz6Hk0G%3DJk4RxByrOSWY4E7%3DYLv%3DjJQjocVg7zLdYA%40mail.gmail.com.
No comments:
Post a Comment