hello,

i have a datetime field in my model. is there a way to order a query
set by this field truncated to the given precision?

even worse. i have another field in the model that specifies the
precision ('year', 'day', etc), i need to order the query set by the
datetime field truncated using the corresponding precision field.

thanks
konstantin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to