Hey Daniel,
On Feb 10, 8:36 am, Daniel Roseman wrote:
> Er... blush... I had a go at this myself last night, and have already raised
> a ticket. I'll mark yours as a duplicate (our fixes were pretty much the
> same). Sorry about that.
No problem. As long as it is fixed! :-)
Toodle-loo
On Thursday, February 10, 2011 4:04:14 PM UTC, creecode wrote:
>
> On Feb 9, 9:17 am, Daniel Roseman wrote:
>
> It would be worth raising a ticket for this.
>
> Done! < http://code.djangoproject.com/ticket/15267 >.
>
> Toodle-l..
> creecode
Er... blush... I had a go at this m
On Feb 9, 9:17 am, Daniel Roseman wrote:
It would be worth raising a ticket for this.
Done! < http://code.djangoproject.com/ticket/15267 >.
Toodle-l..
creecode
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
docs.djangoproject.com/en/1.2/ref/templates/builtins/#date
Thank you. I am aware of how to use the custom format. What I am
trying to do is use the predefined formats DATE_FORMAT,
DATETIME_FORMAT, SHORT_DATE_FORMAT or SHORT_DATETIME_FORMAT as
specifically mentioned in the docs for the now template
do
> ou se mais tarde.*
> *O presente é o único tempo que você possui.*
> *Viva, ame e trabalhe com vontade.*
> *Não ponha nenhuma esperança no tempo, pois o relógio pode parar a
> qualquer momento.*
> "
>
> Fred Chevitarese - GNU/Linux
> http://chevitarese.wor
ese - GNU/Linux
http://chevitarese.wordpress.com
2011/2/9 creecode
> Hello all,
>
> I'm trying to use the now template tag <
> http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#now >
> with the predefined format DATE_FORMAT and the now tag seems to be
> pr
Hey Daniel,
I thought things were off somewhere. Just seeing if it was me
first! :-) I looked at the code for Django v1.2.4 and couldn't see
any signs that the now template tag and friends were even checking for
the predefined formats.
On Feb 9, 9:17 am, Daniel Roseman wrote:
> On W
On Wednesday, February 9, 2011 3:31:53 PM UTC, creecode wrote:
>
> Hello all,
>
> I'm trying to use the now template tag <
> http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#now >
> with the predefined format DATE_FORMAT and the now tag seems to be
Hello all,
I'm trying to use the now template tag <
http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#now >
with the predefined format DATE_FORMAT and the now tag seems to be
processing the predefined format as a custom format.
I tried...
{% now "DATE_FORMAT"
I think that this is because now is a tag and date is a filter, and
you probably have a
a "date" variable in context. You could try passing in a "now"
variable from your
view.
Try rendering {{ date }} in this template to see whether there is such
a variable.
I think that you can only use variabl
Hi
I have been having some problems with the now date template tag. I
want to use it in the url tag. This works fine with the date tag:
{% url news_archive_month year=date|date:'Y' month=date|date:'m'
day=date|date:'d' %}
but if I want to use it with the current date using the now tag, it
does
11 matches
Mail list logo