title: Django date filter: how come the format used is different from the one in datetime library?
body: <p>For formatting a date using <em>date</em> filter you must use the following format :</p>
  
  <pre><code>{{ my_date|date:"Y-m-d" }}
  </code></pre>
  
  <p>If you use <em>strftime</em> from the standard <em>datetime</em>, you have to use the following :</p>
  
  <pre><code>my_date.strftime("%Y-%m-%d")
  </code></pre>
  
  <p>So my question is ... isn't it ugly (I guess it is because of the <code>%</code> that is used also for tags, and therefore is escaped or something) ?</p>
  
  <p>But that's not the main question ... I would like to use the same <code>DATE_FORMAT</code> parametrized in <code>settings.py</code> all over the project, but it therefore seems that I cannot ! Is there a work around (for example a filter that removes the <code>%</code> after the date has been formatted like <code>{{ my_date|date|dream_filter }}</code>, because if I just use <code>DATE_FORMAT = "%Y-%m-%d"</code> I got something like <code>%2001-%6-%12</code>)?</p>