Re: database schemas support for postgresql psycopg2

2009-05-29 Thread Jack Orenstein
On May 29, 2009, at 8:25 PM, david.schruth wrote: > > Hello, > > I'm trying to get this working for multiple (non public) schemas in > postgresql databases using the psycopg2 database driver. I'm using > the most current svn of django 1.01 (from today). > > ... > Does anybody have a solution for

Serving static content

2009-03-30 Thread Jack Orenstein
, I'm using mod_wsgi. Is the procedure pretty close to that of mod_python? 3) Why exactly is the builtin django method insecure? Thanks for any help. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Problem with Field errors

2009-03-29 Thread Jack Orenstein
On Mar 29, 2009, at 9:35 AM, Matthew Somerville wrote: > > Jack Orenstein wrote: >> On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: >> >>> On Mar 28, 4:14 pm, Jack Orenstein wrote: >>>> My application needs to validate data from a from beyond the >&

Re: Problem with Field errors

2009-03-28 Thread Jack Orenstein
On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: > > On Mar 28, 4:14 pm, Jack Orenstein wrote: >> My application needs to validate data from a from beyond the >> validation of Fields done by django. So in my form handler, I check >> Form.is_valid, and if that return

Problem with Field errors

2009-03-28 Thread Jack Orenstein
een set, right before the render_to_response call containing the form. I'm guessing that this has something to do with the fact that the form already passed the is_valid check. How can I force the form to become "invalid" again, once my own va

Problem getting application to run with Apache2 and wsgi

2009-03-20 Thread Jack Orenstein
RL, , didn't match any of these. What am I doing wrong? Jack Orenstein --~--~-~--~~~---~--~~ 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@googleg

Re: Location of files that are part of my application

2009-03-03 Thread Jack Orenstein
work whenever your app is propperly installed. > > On 3 Mar., 21:41, Jack Orenstein wrote: >> I have a small number of files that need to be accessible to my >> Django application. These are part of the application, and so should >> be treated as source code. The question is w

Location of files that are part of my application

2009-03-03 Thread Jack Orenstein
I have a small number of files that need to be accessible to my Django application. These are part of the application, and so should be treated as source code. The question is where to put them? Putting them under MEDIA_ROOT doesn't seem right. They go with the application so they should b

Re: Customizing HTML

2009-02-26 Thread Jack Orenstein
On Feb 26, 2009, at 10:04 PM, Alex Gaynor wrote: > > > On Thu, Feb 26, 2009 at 9:56 PM, Jack Orenstein > wrote: > > > value="m" name="gender" /> male > value="f" name="gender" /> female > > > I want to get rid

Re: Customizing HTML

2009-02-26 Thread Jack Orenstein
On Feb 26, 2009, at 9:44 PM, Alex Gaynor wrote: > On Thu, Feb 26, 2009 at 9:42 PM, Jack Orenstein > wrote: > > Suggestion: Instead of hardwiring formatting into Django, allow > attributes to specify formatting. E.g., here is the minimal HTML for > radio buttons fo

Customizing HTML

2009-02-26 Thread Jack Orenstein
after', and 'in_between'? These could default to what RadioFieldRendered does, but I could also substitute my own. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Django database connections

2009-02-14 Thread Jack Orenstein
returned to a pool? Can the pool be configured, (e.g. to set the postgres search_path)? Sorry to ask such basic questions, but I've been unable to find this information documented. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because

Adding fields to model objects that don't correspond to database state

2009-02-08 Thread Jack Orenstein
und with subclassing, e.g. class FooBase (models.Model) ... class Foo(FooBase) but couldn't get that to work. How can I add a field to the Foo class that doesn't come from the database? Jack Orenstein --~--~-~--~~~---~--~~ You received this messa

Re: Integrating raw SQL and model objects

2009-02-03 Thread Jack Orenstein
On Feb 3, 2009, at 12:15 AM, Malcolm Tredinnick wrote: >> >> 1) How do I turn a row into a model object? There is some discussion >> of writing raw SQL in the docs (http://docs.djangoproject.com/en/dev/ >> topics/db/sql/#topics-db-sql), but I didn't see anything on turning >> the row into a model

Integrating raw SQL and model objects

2009-02-02 Thread Jack Orenstein
ke manual construction of model objects difficult. I must be doing something wrong -- forcing creation of the related objects seems wasteful, especially as it could propagate, (if the referenced object has its own FKs). Jack Orenstein --~--~-~--~~~---~--~~ You rece