models.py:
class Post(models.Model):
pub_date = models.DateTimeField
template.html:
{{ post.pub_date }}
output:
23 october 2014 19:25
Problem is I dont want "19:25" to show. What can I do?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/bd6c974f-5762-48c1-92c3-65b338345b85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.