I have a postgresql table with a timestamp field, among other fields.
How can I convert this timestamp field to a standard datetime python object and get the date like this: "Apr 23"
I know how to do it in the django template (with the 'date' template tag), I need to do in views.py so I can create an array with these dates and pass it to the django template.