Re: Look at this! Perhaps a bug or a mistake

2006-04-04 Thread Douglas Campos
Confirmed: Works on postgresql... I will switch to mr very soon Thanx for allOn 4/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: On Mon, 2006-04-03 at 16:15 -0500, James Bennett wrote:> On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote:> > My environment> > Django 0.91 > > DB: sqlite3>> I'd

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread Malcolm Tredinnick
On Mon, 2006-04-03 at 16:15 -0500, James Bennett wrote: > On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > > My environment > > Django 0.91 > > DB: sqlite3 > > I'd bet money that this is the problem: IIRC there are some problems > with doing date-based queries on SQLite in 0.91. Can you try

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread James Bennett
On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > My environment > Django 0.91 > DB: sqlite3 I'd bet money that this is the problem: IIRC there are some problems with doing date-based queries on SQLite in 0.91. Can you try with MySQL or Postgres and see if you run into the same problem? --

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread Douglas Campos
sorry, like any other newb, there's a long path to achieve nettiquette goals :) My environment Django 0.91 DB: sqlite3 ---cut here--- from django.core import meta CLASSES_EVENTO = ( (0,'Sem Classe'), (1,'Pequeno Príncipe'), (2,'Ensino Fundamental I'), (3,'Ensino F

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread James Bennett
On 4/3/06, Douglas Campos <[EMAIL PROTECTED]> wrote: > Any Clues? Without more details on your setup, it's just about impossible to figure out what's going wrong here. For starters, what database backend are you using? -- "May the forces of evil become confused on the way to your house." -- Ge

Re: Look at this! Perhaps a bug or a mistake

2006-04-03 Thread Tom Tobin
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]: [, , ] In [11]: x[0] Out[11]: In [12]: x[0].time_published Out[12]: datetime.datetime(2006, 4, 3, 0, 45) In [13]: x = blo

Look at this! Perhaps a bug or a mistake

2006-04-03 Thread Douglas Campos
~/myprojects $ python manage.py shell Python 2.4.2 (#1, Feb 1 2006, 00:26:00) [GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole) >>> from django.models.calendario import eventos >>> eventos.