class PublicField(models.Model):
pub_date = models.DateTimeField(auto_now_add=True)
def public_field(request, publicfield_id):
publicfield = PublicField.objects.get(id=publicfield_id)
return render_to_response('my_template.html', {'publicfield': publicfield})
{{ publicfield.pub_date|date }}
2014-08-13 20:28:26.896337