Formato de fecha en plantilla de Django
{{ request.user.date_joined|date:"Y-m-d H:i:s" }}
Difficult Donkey
{{ request.user.date_joined|date:"Y-m-d H:i:s" }}
<p>Birthday: {{ birthday|date:"M d, Y" }}</p>
# get the object details
home = Home.objects.get(home_id=homeid)
# get the start date
_startDate = home.home_startdate.strftime('%m/%d/%Y')
# assign it to template
return render_to_response('showme.html', {'home_startdate':_startDate}, context_instance=RequestContext(request) )