Re: Feature proposal: Test client form value extraction

2009-08-25 Thread Joshua Russo
On Aug 25, 6:09 pm, Joshua Russo wrote: > I've just put together an enhancement of the test Client used in unit > testing. I added the parsing of the content to extract the form fields with > their initial values as a dictionary, so you can just change a few values > and

Feature proposal: Test client form value extraction

2009-08-25 Thread Joshua Russo
I've just put together an enhancement of the test Client used in unit testing. I added the parsing of the content to extract the form fields with their initial values as a dictionary, so you can just change a few values and throw it back at the server. http://dpaste.com/hold/85281/ I had to do a

Re: On returning appropriate subclass instances when querying a model with subclasses

2009-08-25 Thread Alex Gaynor
On Tue, Aug 25, 2009 at 10:41 AM, Carl Meyer wrote: > > > > On Aug 23, 9:14 pm, Andrea Zilio wrote: >> So the answer to the question "Can I get the right instances with one >> single and only DB query" seems to be: >> "No, you cannot do so without

Re: On returning appropriate subclass instances when querying a model with subclasses

2009-08-25 Thread Carl Meyer
On Aug 23, 9:14 pm, Andrea Zilio wrote: > So the answer to the question "Can I get the right instances with one > single and only DB query" seems to be: > "No, you cannot do so without touching the Django orm code". > > Am I right? Actually, I think the ORM's extensibility

Re: I need a pony: Model translations (aka "my proposal")

2009-08-25 Thread David Danier
Hi Gonzalo, > [...] sorry for the late answer. Sorry for my late answer, too. > I like your proposal! You simplified some over designed or complex > stuff about my original proposal and added some very neat ideas, good > work. Thanks! >> 4. Special case: Create an own model for translations

localization, i18n, localflavor

2009-08-25 Thread hinnack
Hi, I wonder where to put/get country specific information on: - money sign (printable and iso) - money format - number format - date format - timezones maybe even: - country names in local language I did not find something about it anywhere in django itself - there are some modules out there

Re: USStateField (again)

2009-08-25 Thread Russell Keith-Magee
On Tue, Aug 25, 2009 at 11:08 AM, ch...@moffitts.net wrote: > > > > On Aug 22, 8:12 am, Russell Keith-Magee > wrote: >> On Sat, Aug 22, 2009 at 7:49 PM, Tim >> >> Chase wrote: >> >> > James Bennett wrote: >> >> The