custom registration form

35 views
Skip to first unread message

Shubham Joshi

unread,
Mar 25, 2019, 8:52:57 AM3/25/19
to Django users
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in

Chetan Ganji

unread,
Mar 25, 2019, 10:02:26 AM3/25/19
to django...@googlegroups.com
There is a better way in django. 

Django provides admin panel for the admins, you just have to create one account for the admin as superuser. Email needs to be sent manually which can be done immediately after the form is validated. 
User model has "is_active" flag that can be used to limit access before the user is authorised by the admin. You will have to create an additional page to accept or discard the registered user.

If you dont want to use default admin panel, you will end up writing CRUD for the admin panel. Workflow will still be the same as above. 



Regards,
Chetan Ganji
+91-900-483-4183


On Mon, Mar 25, 2019 at 6:22 PM Shubham Joshi <shu...@tersesoft.com> wrote:
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in

--
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...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/67df728c-e165-4390-8fd8-9c5bc4ae1103%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohamed Amin

unread,
Mar 25, 2019, 12:28:56 PM3/25/19
to django...@googlegroups.com
O

On Mar 25, 2019 17:01, "Chetan Ganji" <ganji....@gmail.com> wrote:
There is a better way in django. 

Django provides admin panel for the admins, you just have to create one account for the admin as superuser. Email needs to be sent manually which can be done immediately after the form is validated. 
User model has "is_active" flag that can be used to limit access before the user is authorised by the admin. You will have to create an additional page to accept or discard the registered user.

If you dont want to use default admin panel, you will end up writing CRUD for the admin panel. Workflow will still be the same as above. 



Regards,
Chetan Ganji
+91-900-483-4183


On Mon, Mar 25, 2019 at 6:22 PM Shubham Joshi <shu...@tersesoft.com> wrote:
How can I create sign up form in such a way that..once a form has been filled and submitted by user (teacher / student) . The form should be sent to the Admins email id , once s/he verified the sign up form , the user should able log in

--
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.

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.

Sam W

unread,
Mar 25, 2019, 6:47:04 PM3/25/19
to Django users
Reply all
Reply to author
Forward
0 new messages