Template styles.

瀏覽次數:58 次
跳到第一則未讀訊息

Mohemed Misfar

未讀,
2020年10月17日 上午11:50:302020/10/17
收件者:Django users
Django has amazing model forms and django froms. In case if i use them, I am unable to get the bootstrap and css styles. I can use raw html forms. but, model forms and django forms are validated itself. in this case how can I get such an amazing bootstrap styles in model forms or django forms.?

Sameer Ahmed

未讀,
2020年10月17日 中午12:24:012020/10/17
收件者:django...@googlegroups.com
You can create separate template add bootstrap to it. Also add your form to it.
If you want to know how to do it kindly visit   geeksforgeeks.org/django-forms/

On Sat, Oct 17, 2020, 9:19 PM Mohemed Misfar <asm.m...@gmail.com> wrote:
Django has amazing model forms and django froms. In case if i use them, I am unable to get the bootstrap and css styles. I can use raw html forms. but, model forms and django forms are validated itself. in this case how can I get such an amazing bootstrap styles in model forms or django forms.?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fde1d80a-4c75-46fc-ba93-b6eb9a8d3dc4n%40googlegroups.com.

Mohemed Misfar

未讀,
2020年10月17日 下午2:53:362020/10/17
收件者:django...@googlegroups.com
Oh. Thank you very much. I will try that. 

Derek

未讀,
2020年10月19日 凌晨2:25:592020/10/19
收件者:Django users
You can also consider using django-crispy-forms; they have a Bootstrap styling option:
and also:

Mohemed Misfar

未讀,
2020年10月19日 凌晨3:14:422020/10/19
收件者:django...@googlegroups.com
ohhh. great. i will go through this.
Thank you for your response. 



Mailtrack Sender notified by
Mailtrack 10/19/20, 12:41:50 PM

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

Ryan Nowakowski

未讀,
2020年10月19日 晚上7:58:362020/10/19
收件者:Django users
回覆所有人
回覆作者
轉寄
0 則新訊息