Hi i have tried to create a login form where a teacher and student can login. Once the teacher clicks the teachers button, they can give their details. Once a student clicks the student button, they can give their details different from the teachers. I have a problem getting it done. Kindly help
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPqJkvstQVci1GC%3D%3Dyq%2BxNi%3DjNgfc9YJdR4TbgXUg%2Bm3hzJQ1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You could solve this problem in templates itself by placing form in different positions or using advanced frameworks like bootstrap of react.And in views code, write it separately and Connect it through urls.
On May 13, 2019 5:03 PM, "laurine ogutu" <laurin...@gmail.com> wrote:
Hi i have tried to create a login form where a teacher and student can login. Once the teacher clicks the teachers button, they can give their details. Once a student clicks the student button, they can give their details different from the teachers. I have a problem getting it done. Kindly help
--
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/CAPqJkvstQVci1GC%3D%3Dyq%2BxNi%3DjNgfc9YJdR4TbgXUg%2Bm3hzJQ1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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/CAAKmAQppO1YXYcGYTpv%2B_cB773TY-iEAu2o10_Gbidd8-Cadvg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFhdOCMR92e1CR40cdbQW11VVq1Y5bKxAVeSS2Da%2BOGh4XEKFw%40mail.gmail.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...@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/430caf1b-3a13-46a7-8db4-58ec41fbd5ed%40googlegroups.com.