title: received a naive datetime while time zone support is active
body: <p>I am trying to insert some records to a Django Model which include some old dates in unix ctime Format. I am comverting it to YYYY-MM-DD hh:mm:ss and saving it to a model in datetime field.</p>
  
  <p>While running a import job ( Function which is converting the unix dates to YYYY-MM-DD hh:mm:ss) and saving it , I am getting a warning below </p>
  
  <pre><code>C:\Python\Python36\lib\site-packages\django\db\models\fields\__init__.py:1421: RuntimeWarning: DateTimeField SensorRecords.aqdate received a naive datetime (2012-07-06 05:00:00) while time zone support is active.
    RuntimeWarning)
  </code></pre>
  
  <p>How should I import it so to avoid this ?</p>
  
  <p>This is my Converter Function</p>
  
  <pre><code>def ctodatetime (ctimeinput):
      etime=time.ctime(int(ctimeinput))
      btime=datetime.datetime.strptime(etime,"%a %b %d %H:%M:%S %Y")
      print(btime)
      return btime
  </code></pre>
  
  <p>Here is a snippet of my model</p>
  
  <pre><code>class SensorRecords(models.Model):
      sensorid  = models.IntegerField(default=0)
      aqdate    = models.DateTimeField(default= "1970-01-01 00:00:00")
      cmpflaf   = models.BooleanField(default=0)
  </code></pre>