Issue Accessing DateTime Value (Unicode object has no attribute 'strftime')
<p>I have an AJAX processed view that takes several pieces of information, two of which are unicode datetime values. </p>

<p>However, when I try to access the datetime values (start/end) directly from the object, it seems that it is still unicode. </p>

<p>I thought saving converted to datetime?</p>

<pre><code>lid = int(postdata['lid'])
location = Group.objects.get(id=lid)
pgid = int(postdata['pgid'])
program = Group.objects.get(id=pgid)
start = postdata['start']
end = postdata['end']
eid = int(postdata['eid'])
creator = Employee.objects.get(id=eid)
description = postdata['description']

shift = ReliefShift()
shift.start = start
shift.end = end
shift.creator = creator
shift.description = description
shift.location = location
shift.program = program
shift.save()

alertModule = 'Relief Shifts Available'
alertMessage = 'A new relief shift has been posted for {0} from {1} to {2}. Visit the &lt;a href="/staff/program/open-relief-shifts/"&gt;Relief Shifts page&lt;/a&gt; for more details and to sign up.'.format(shift.location, shift.start.strftime('%b %d @ %I:%M%p'), shift.end.strftime('%b %d @ %I:%M%p'))
</code></pre>