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
dpress.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
>
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
ednesday, 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 seem
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"
On Sun, Jun 6, 2010 at 9:57 AM, Tomas Zulberti wrote:
> On Jun 5, 8:11 pm, Karen Tracey wrote:
> > On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti
> wrote:
> > > So my question is: is this a bug, or I am doing something wrong (I am
> > > sure I might be doing something grong but I don't know whe
On Jun 5, 8:11 pm, Karen Tracey wrote:
> On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti wrote:
> > So my question is: is this a bug, or I am doing something wrong (I am
> > sure I might be doing something grong but I don't know where).
>
> I ran into the same behavior this afternoon. I think it
On Sat, Jun 5, 2010 at 6:17 PM, Tomas Zulberti wrote:
> So my question is: is this a bug, or I am doing something wrong (I am
> sure I might be doing something grong but I don't know where).
>
I ran into the same behavior this afternoon. I think it is a bug:
http://code.djangoproject.com/ticket/
bject
insted of using the settings DATE_FORMAT value. After that the method,
force_unicode will be used, which it doesn't use the settings at all
(it does str(datetime.date())).
So my question is: is this a bug, or I am doing something wrong (I am
sure I might be doing something grong but I don
Hi all,
Currently the DATE_FORMAT is used only for admin pages.
Can I use similar setting where all my date objects are displayed in
the same way in templates , without having to apply humanize on
templates not using date function in templates?
Thanks
Sumanth
got...
>
> TIME_ZONE = 'Europe/Stockholm'
> DATE_FORMAT = "Y-m-d"
> TIME_FORMAT = "H:i"
> DATETIME_FORMAT = DATE_FORMAT + " " + TIME_FORMAT
>
> ...in my settings.py file, but no joy, these definitions are not
> us
Maybe this would shed some light:
http://code.djangoproject.com/ticket/2203
On Fri, Oct 24, 2008 at 4:57 PM, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>
> I've got...
>
> TIME_ZONE = 'Europe/Stockholm'
> DATE_FORMAT = "Y-m-d"
> TI
I've got...
TIME_ZONE = 'Europe/Stockholm'
DATE_FORMAT = "Y-m-d"
TIME_FORMAT = "H:i"
DATETIME_FORMAT = DATE_FORMAT + " " + TIME_FORMAT
...in my settings.py file, but no joy, these definitions are not
used in the admin interface when running the devel
Andy Dustman wrote:
> ... [snip] ...
> Your original error was: "You have an error in your SQL syntax near
> '(DATE_FORMAT(`polls_poll`.`pub_date`, '%Y-01-01 00:00:00') AS
> DATETIME) FROM `p' at line 1" I'm going to guess that the bit before
>
-q python
> python-2.3.4-13.1
> [EMAIL PROTECTED] ~]$ rpm -q mysql
> mysql-3.23.58-16.FC3.1
>
> If I had to take a guess, I'd say that MySQL was probably changed
> between 3.23 and 4.0.26 to accept the syntax Django is using. But
> that's only a naive guess.
Your original
I received in a private email:
> Hello Matthew,
>
> I'm seeing the exact same "date_hierarchy" problem and was wondering
> if you received a solution offline and/or figured it out.
>
> Seems like the problem is somewhere among my Python 2.3.3, MySQLdb
> 1.2.1 and the MySQL 3.23.53, 'cause I've got
your SQL syntax near
'(DATE_FORMAT(`polls_poll`.`pub_date`, '%Y-01-01 00:00:00') AS
DATETIME) FROM `p' at line 1")
Request Method: GET
Request URL:http://carter.dyndns.org:8000/mysite/admin/polls/poll/
Exception Type: ProgrammingError
Exception Value:(106
21 matches
Mail list logo