Re: #13870: Correctly handling database isolation (in PostgreSQL)

2010-09-07 Thread David De La Harpe Golden
On 06/09/10 14:29, Patryk Zawadzki wrote: > The problem only exists when Django sets isolation level to 1, if you > use the deprecated "autocommit" setting, you will not be affected. > Uh. Is this deprecated? At what layer? Since when? I've been using it* happily for a while (modulo that one kn

Re: #13870: Correctly handling database isolation (in PostgreSQL)

2010-09-07 Thread David De La Harpe Golden
On 07/09/10 16:16, Robert Gravsjö wrote: >> with db.isolation(ISOLATION_SERIALIZABLE): >> # ... >> > > You don't want to serialize access to the database in a multi-user > application. Just in case: serializable transaction != serializing access - among serializable level transactions, the

Re: #13870: Correctly handling database isolation (in PostgreSQL)

2010-09-07 Thread David De La Harpe Golden
On 07/09/10 14:05, Patryk Zawadzki wrote: > Not deprecated in Django sense. I don't think it's going away any time > soon. Just that it's been discouraged for a while at the > psycopg/database level. Well, maybe "discouraged" is fair, but it does exist and you have the option (and if you use Tran

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-09-09 Thread David De La Harpe Golden
On 08/09/10 09:22, Patryk Zawadzki wrote: >> 1) Use of IP address - a bad idea for the reasons I mentioned in my >> other message. > > A lot of web frameworks I've worked with use the IP to lock the > session cookie to prevent easy cookie theft. ... just mentioning the existence of django-parano

Re: #6375 -- Class Based Views: Opinions on commit plan

2010-10-15 Thread David De La Harpe Golden
On 15/10/10 07:11, Russell Keith-Magee wrote: > We're happy to entertain design suggestions, but only if they're > enlightened by the extensive discussions that have proceeded the > implementation that we have. You're free to say "as_view() sucks", but > unless you are proposing an *specific* alte

Re: Default project layout / directory structure

2011-03-18 Thread David De La Harpe Golden
On 18/03/11 04:59, Alex Kamedov wrote: > On Thu, Mar 17, 2011 at 9:26 PM, Calvin Spealman wrote: > >> -1 On django manipulating PYTHONPATH > > +1 On encouraging people to keep their applications out of their project! >> > I think, it's a good idea to add new option to startapp command for create

Re: State of X-Sendfile support?

2011-03-24 Thread David De La Harpe Golden
On 24/03/11 13:40, Kristaps Kūlis wrote: > I wish to note that Nginx implements this feature differently than > LigHTTPd and Apache2 > http://wiki.nginx.org/XSendfile , > > Should django implementation consider that ? > I'd also note that wsgi itself apparently has an api abstraction wsgi.file_w

<    4   5   6   7   8   9