u need read how to use css file by django
:https://docs.djangoproject.com/en/1.9/intro/tutorial06/
before this u need download bootstrap in ur location disk,and add
in the of ur html.
ww
From: Ikram Ulhaq
Date: 2016-06-21 05:02
To: Django users
Subject: Re: how to design custom forms in
Hi,
If you're unsure what markup should look a like, you can create initial
HTML as you have done it with form.as_p (or whatever you used to make
working form). Then open then source of page and copy to and start
applying bootstrap CSS/html tags/attributes.
You should then get working form.
Hello Ikram,
You still didn't give enough details. For example, does it submit and
successfully or does it not?
Anyway, I can see some problems in your markup.
1. I do not see any form tag ( <\form>) in your markup.
2. More importantly, your form input elements do not have a name attribute.
sir i want to design a custom form in django that will store data in
database...i done this with built in django forms but i can't be able to
design with bootstarp or css. data not inserted if i create my own custom
form like
Email address
Email address
some
sir i want to design a custom form in django that will store data in
database...i done this with built in django forms but i can't be able to
design with bootstarp or css. data not inserted if i create my own custom
form like
Email address
Email address
some
Hello Ikram,
It's going to be difficult to help you without more information about the
problem. If you give information about what you have tried and what's
failing, you will get more helpful answers.
On Jun 20, 2016 12:56 PM, "Ikram Ulhaq" wrote:
> Hi everyone!
> i am new in django and want to d
6 matches
Mail list logo