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 

<div class="row">
<div class="col-md-4">
<div class="form-group">
    <label for="exampleInputEmail1">Email address</label>
    <input type="email" class="form-control" id="exampleInputEmail1" 
placeholder="Email">
  </div>
</div>

<div class="col-md-4 col-md-offset-1">
<div class="form-group">
    <label for="exampleInputEmail1">Email address</label>
    <input type="email" class="form-control" id="exampleInputEmail1" 
placeholder="Email">
  </div>
</div>
</div>

<button class="btn btn-info">some button</button>


<div class="col-md-4">
<div class="form-group">
    <label for="exampleInputEmail1">Email address</label>
    <select class="form-control">
<option>aa</option>
</select>
  </div>
</div>

On Monday, June 20, 2016 at 4:56:29 PM UTC+5, Ikram Ulhaq wrote:
>
> Hi everyone!
> i am new in django and want to design custom form in bootstarp that can 
> use to send data to database.i made form successfully but values not 
> inserted in database.please 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+unsubscr...@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/c1c0d45f-94d1-4047-8df5-d7370e27a70b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to