Discussion:
Custom attributes in django forms
gordon nchy
2018-11-25 21:09:36 UTC
Permalink
hello everyone....
i'm facing a challenge on how to add custom attributes to django login
form. i used the LoginView from django.contrib.auth.views to generate a
login form, but i really need help on how to add custom attributes maybe
like using widgets but i dont know how to do it..i'll appreciate any help
from you guys!!
--
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/1b463fa5-ab80-4182-8022-5fe33b695444%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yavin Aalto Arba
2018-11-26 08:21:48 UTC
Permalink
Hi Gordon,

Try starting with the documentation here and if u have any questions please
let us know:

https://docs.djangoproject.com/en/2.1/ref/forms/widgets/
Post by gordon nchy
hello everyone....
i'm facing a challenge on how to add custom attributes to django login
form. i used the LoginView from django.contrib.auth.views to generate a
login form, but i really need help on how to add custom attributes maybe
like using widgets but i dont know how to do it..i'll appreciate any help
from you guys!!
--
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
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/1b463fa5-ab80-4182-8022-5fe33b695444%40googlegroups.com
<https://groups.google.com/d/msgid/django-users/1b463fa5-ab80-4182-8022-5fe33b695444%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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/CA%2B%2Be-ZUwP2q-fEXKWQ8mZa6uEZH%2BzExExWiHuDO3%3DGko9K2SyA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
gordon nchy
2018-11-26 10:08:24 UTC
Permalink
thanks!

gnchy
Post by Yavin Aalto Arba
Hi Gordon,
Try starting with the documentation here and if u have any questions
https://docs.djangoproject.com/en/2.1/ref/forms/widgets/
Post by gordon nchy
hello everyone....
i'm facing a challenge on how to add custom attributes to django login
form. i used the LoginView from django.contrib.auth.views to generate a
login form, but i really need help on how to add custom attributes maybe
like using widgets but i dont know how to do it..i'll appreciate any help
from you guys!!
--
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
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/1b463fa5-ab80-4182-8022-5fe33b695444%
40googlegroups.com
<https://groups.google.com/d/msgid/django-users/1b463fa5-ab80-4182-8022-5fe33b695444%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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
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/CA%2B%2Be-ZUwP2q-fEXKWQ8mZa6uEZH%
2BzExExWiHuDO3%3DGko9K2SyA%40mail.gmail.com
<https://groups.google.com/d/msgid/django-users/CA%2B%2Be-ZUwP2q-fEXKWQ8mZa6uEZH%2BzExExWiHuDO3%3DGko9K2SyA%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
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/CAEYkjC2HjjJkjJMGXHErqWPeycQW865aCiPhRfiAgCndLW_tgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
aakashchoudhary66
2018-11-25 10:55:13 UTC
Permalink
I am using version 2.1.3 of python and I add render in the view and after running the server it showing template does not existSent from my Samsung Galaxy smartphone.
-------- Original message --------From: gordon nchy <***@gmail.com> Date: 26/11/2018 02:08 (GMT-08:00) To: django-***@googlegroups.com Subject: Re: Custom attributes in django forms thanks!gnchyOn 26 Nov 2018 11:22, "Yavin Aalto Arba" <***@gmail.com> wrote:Hi Gordon, Try starting with the documentation here and if u have any questions please let us know:https://docs.djangoproject.com/en/2.1/ref/forms/widgets/On Sun, Nov 25, 2018, 11:09 PM gordon nchy <***@gmail.com wrote:hello everyone....i'm facing a challenge on how to add custom attributes to django login form. i used the LoginView from django.contrib.auth.views to generate a login form, but i really need help on how to add custom attributes maybe like using widgets but i dont know how to do it..i'll appreciate any help from you guys!!
--
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/1b463fa5-ab80-4182-8022-5fe33b695444%40googlegroups.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/CA%2B%2Be-ZUwP2q-fEXKWQ8mZa6uEZH%2BzExExWiHuDO3%3DGko9K2SyA%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/CAEYkjC2HjjJkjJMGXHErqWPeycQW865aCiPhRfiAgCndLW_tgQ%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/5bfbcfcb.1c69fb81.f25b3.57d5%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.
Loading...