Hello
One of my projects which is running on trunk version of Django (not in
production, of course) have been broken with recent updates.
DatabaseError at /news/ : near "FROM": syntax error
Django Version: 1.3 alpha 1 SVN-14719
/home/deploy/envs/fest/src/django/django/views/generic/dates.py in get_date_list
date_list = queryset.dates(date_field, date_type)[::-1] ...
date_field 'date'
date_type 'day'
queryset [<Entry: алоэ>, <Entry: День России>]
results in
params ('news', u'2010-11-01 00:00:00', u'2010-12-01 00:00:00',
u'2010-11-26 19:44:34.802072')
query 'SELECT DISTINCT FROM "news_uentry" WHERE
("news_uentry"."type" = ? AND "news_uentry"."date" >= ? AND
"news_uentry"."date" < ? AND "news_uentry"."date" <= ? ) ORDER BY 1
ASC'
DB engine is 'django.contrib.gis.db.backends.spatialite'
(You can see a full stacktrace on our test server http://events.ride.ru/news/ )
I'll write a test and file a ticket; but maybe you've ran into this
bug already or I'm doing something wrong myself?
--
Valya Golev
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.