I am not 100% sure what the question is. However, I can vaguely grasp that some customization of html elements is needed from the FormModel, which I believe is best addressed here:
https://docs.djangoproject.com/en/2.1/ref/forms/widgets/ (cf. Customizing widget instances).
If I have misunderstood you please try to make the question a bit more clear please.
On Sat, 24 Nov 2018 at 00:00, Gear Crew <mohamed.khaled33388@gmail.com> wrote:
--this image for rendering fields manually and if used automate form how can add class attribute for p or label HTML tags if I used forms.ModelForm instance not forms.Form
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-users@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/adfa85b9-6920-4050-8363-0dbd1b3dfb60%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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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-ZU47LQG4EdX%3DuG6ZTefLppAj03Z%2BQVFC69ohnv3J5bxeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:
Post a Comment