Re: #7210 - F() Query Expressions

2009-01-30 Thread Ian Kelly
On Fri, Jan 30, 2009 at 8:43 PM, Russell Keith-Magee wrote: > Can you clarify what you mean here - is it case of 'doesn't have these > operators in any form', or 'has these operators, but uses different > characters/functions? You answer this below for the bitwise

Re: #7210 - F() Query Expressions

2009-01-30 Thread Justin Bronn
> 2) F() expressions have not been updated to work with GIS fields. > However, based on some initial discussions with Justin, it should be > possible to make these changes without affecting any public API. If > anyone with access and experience with contrib.GIS cares to help out > on this front,

Re: #7210 - F() Query Expressions

2009-01-30 Thread Russell Keith-Magee
On Sat, Jan 31, 2009 at 5:39 AM, Ian Kelly wrote: > > On Thu, Jan 29, 2009 at 4:14 AM, Russell Keith-Magee > wrote: >> >> Hi all, >> >> With [9792], I've committed F() query expressions to trunk. For >> details, see the docs: > > Hi Russell, > >

Re: reason for missing readline() in uploaded files?

2009-01-30 Thread Todd O'Bryan
On Fri, Jan 30, 2009 at 5:08 PM, Ludvig Ericson wrote: > > On Jan 30, 2009, at 22:19, Todd O'Bryan wrote: >> >> I'm not sure I understand this. If you try to call a file-like method >> or access a file-like attribute on an UploadedFile, it would either do >> the right

Re: reason for missing readline() in uploaded files?

2009-01-30 Thread Ludvig Ericson
On Jan 30, 2009, at 22:19, Todd O'Bryan wrote: > On Fri, Jan 30, 2009 at 3:10 PM, Ludvig Ericson > wrote: >> >> On Jan 30, 2009, at 17:28, Todd O'Bryan wrote: >>> OK, after I did this, I was lying in bed and had the following >>> revelation. Would there be anything

Re: reason for missing readline() in uploaded files?

2009-01-30 Thread Todd O'Bryan
On Fri, Jan 30, 2009 at 3:10 PM, Ludvig Ericson wrote: > > On Jan 30, 2009, at 17:28, Todd O'Bryan wrote: >> OK, after I did this, I was lying in bed and had the following >> revelation. Would there be anything terribly wrong with just using >> __getattr__ in

Re: #7210 - F() Query Expressions

2009-01-30 Thread Alex Gaynor
On Fri, Jan 30, 2009 at 3:39 PM, Ian Kelly wrote: > > On Thu, Jan 29, 2009 at 4:14 AM, Russell Keith-Magee > wrote: > > > > Hi all, > > > > With [9792], I've committed F() query expressions to trunk. For > > details, see the docs: > > Hi Russell, >

Re: #7210 - F() Query Expressions

2009-01-30 Thread Ian Kelly
On Thu, Jan 29, 2009 at 4:14 AM, Russell Keith-Magee wrote: > > Hi all, > > With [9792], I've committed F() query expressions to trunk. For > details, see the docs: Hi Russell, First, my apologies for not testing this with Oracle sooner. It appears that nobody else

Re: reason for missing readline() in uploaded files?

2009-01-30 Thread Ludvig Ericson
On Jan 30, 2009, at 17:28, Todd O'Bryan wrote: > OK, after I did this, I was lying in bed and had the following > revelation. Would there be anything terribly wrong with just using > __getattr__ in UploadedFile to forward all attribute requests that the > UploadedFile can't process to self._file,

Re: Related Manager created using SiteManager with the site field not named 'site' causes error

2009-01-30 Thread Stephen Sundell
I was looking though some examples of code others have done to get around this. What if the SiteManager looked like this: class CurrentSiteManager(models.Manager): def __init__(self, field_name='site'): super(CurrentSiteManager, self).__init__() if self.__class__.__name__ ==

Re: reason for missing readline() in uploaded files?

2009-01-30 Thread Todd O'Bryan
On Thu, Jan 29, 2009 at 11:14 PM, Todd O'Bryan wrote: > On Thu, Jan 29, 2009 at 9:28 PM, Malcolm Tredinnick > wrote: >> >> On Thu, 2009-01-29 at 15:40 -0500, Todd O'Bryan wrote: >>> I'm trying to validate an uploaded csv file, so I want to read

Re: Controlling form/widgets output

2009-01-30 Thread Russell Keith-Magee
On Sat, Jan 24, 2009 at 5:27 AM, catsclaw wrote: > > On Jan 22, 11:53 pm, Russell Keith-Magee > wrote: >> On Fri, Jan 23, 2009 at 5:02 AM, catsclaw wrote: Apologies for the delay in replying - I was busy with some other items on