title: How to add DateTimeField in django without microsecond
body: <p>I'm writing django application in django 1.8 and mysql 5.7.</p>
  
  <p>Below is the model which I have written:</p>
  
  <pre><code>class People(models.Model):
      name = models.CharField(max_length=20)
      age = models.IntegerField()
      create_time = models.DateTimeField()
  
      class Meta:
          db_table = "people"
  </code></pre>
  
  <p>Above model creates the table below:</p>
  
  <pre><code>mysql&gt; desc people;
  +-------------+-------------+------+-----+---------+----------------+
  | Field       | Type        | Null | Key | Default | Extra          |
  +-------------+-------------+------+-----+---------+----------------+
  | id          | int(11)     | NO   | PRI | NULL    | auto_increment |
  | name        | varchar(20) | NO   |     | NULL    |                |
  | age         | int(11)     | NO   |     | NULL    |                | 
  | create_time | datetime(6) | NO   |     | NULL    |                |
  +-------------+-------------+------+-----+---------+----------------+
  </code></pre>
  
  <p>Here Django creates datetime field with microsecond </p>
  
  <blockquote>
    <p>datetime(6)</p>
  </blockquote>
  
  <p>But I want datetime field without microsecond</p>
  
  <blockquote>
    <p>datetime</p>
  </blockquote>
  
  <p>I have another application, which is also using the same database and that datetime field with microsecond is raising an issue for me.</p>