Problems with TIME_ZONE (bug?)

2007-12-04 Thread Diego pylorca
in models that contain DateTimeField with auto_now_add=True, some times the timezone fails (the row is saved with no TIME_ZONE that I have specified in the settings.py, but some time o.O ) I've a Debian etch linux server with : Apache2.2 prefork mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu

Re: is possible to only select the specified fields?

2007-08-30 Thread Diego pylorca
2 >>> qsv = Entry.objects.values('e1', 'e2') >>> EntryObject = Entry.somemetohd(qsv[0]) >>> On 8/30/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/29/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > ok, but this not return a querySet, retu

Re: is possible to only select the specified fields?

2007-08-29 Thread Diego pylorca
ok, but this not return a querySet, return a dictionary :S On 8/29/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/29/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > Somethimes I must show only field1 and field2. > > > > is some way to only se

is possible to only select the specified fields?

2007-08-29 Thread Diego pylorca
Hi! class Entry(models.model): field1 = models.x(...) field2 = models.x(...) field3 = models.y(...) # Too big field When I do Entry.objects.all() django convert this to "SELECT `field1`, `field2`, `field3` FROM app_entrys" Somethimes I must show only field1 and field2. is some way

Re: Curious error with Session Variables

2007-05-10 Thread Diego pylorca
as clashed in some > way with the Python md5 hash modules and caused the Python module to > give back incorrect results. This may have an effect on session > cookies if a md5 hash is used in some way to generate it. > > Graham > > On May 9, 11:16 pm, "Diego pylorca" <[EMAIL P

Re: Curious error with Session Variables

2007-05-09 Thread Diego pylorca
may have a cookie guard enabled. > > For example, Webroot's Spy Sweeper has a set of "shields" for web > browsers, and they include the blocking of certain tracking cookies and > some IE security 'protection'. Perhaps your system is running a similar > product? > >

Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
m I deployed my site, and in the admin when i try to login i get this message: "Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again." the cookies is enabled. my server is a debian etch stable (intalled modpython apache2 and

Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
s.settings PythonInterpreter **_main Alias /media /var/www/***/pvs/media SetHandler None Thanks On 5/8/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > m > > I deployed my site, and in the admin when i try to login i get this > messag