On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > > Any Clues?
Works for me (the following being from ipython): In [9]: x = blog.entry.get_list() In [10]: x Out[10]: [<Entry object>, <Entry object>, <Entry object>] In [11]: x[0] Out[11]: <Entry object> In [12]: x[0].time_published Out[12]: datetime.datetime(2006, 4, 3, 0, 45) In [13]: x = blog.entry.get_list(time_published__year=2006) In [14]: x Out[14]: [<Entry object>, <Entry object>, <Entry object>] In [15]: x = blog.entry.get_list(time_published__year=2006, time_published__month=4) In [16]: x Out[16]: [<Entry object>] In [17]: x = blog.entry.get_list(time_published__month=4) In [18]: x Out[18]: [<Entry object>] Could we see your model? By the way, I would have *sworn* your email was spam based on a quick glance at the subject line; imperative statements, especially those followed by exclamation marks, are usually a dead giveaway of spam lying underneath. :-p --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---