1

I have a query set in Django template. It has a date time column. I want to display only the day name . Is there any template filter which will help the cause?......help will be appreciated...

4

1 回答 1

6

有一个 Djangodate模板过滤器:

{{ model.field|date:'l' }}

文档在这里

于 2013-09-05T14:26:20.547 回答