RFC #9964 - fix "missing" db commits by forcing managed transactions to close

2010-11-21 Thread Shai Berger
Hi list, #9964 is about managed transactions not being committed under transaction middleware (or transaction.commit_on_success decorator) after the database was modified via raw SQL. The root cause of that is that, today, managed transactions only become "dirty" when there is clear evidence

Re: Deprecating ADMIN_MEDIA_PREFIX

2010-11-21 Thread Andrew Godwin
On 21/11/10 02:52, Carl Meyer wrote: > Hi all, > > The special-cased handling of contrib.admin static assets in Django > core is a long-time wart. Fortunately, the new static assets standard > introduced by contrib.staticfiles and the STATIC_URL and STATIC_ROOT > settings finally allows us to

Re: contrib.sites and multitenancy

2010-11-21 Thread burc...@gmail.com
Hi Carl, Russell, I think any settings.py option will help us a lot, but doesn't the overall solution mean that one would still need to have the Site model installed even if we use our custom callable? I'd also like if someone could explain correct interfaces and if we're going to change them.

Re: contrib.sites and multitenancy

2010-11-21 Thread Russell Keith-Magee
On 21/11/2010, at 12:41 PM, Carl Meyer wrote: > Hi all, > > I've recently been exploring simple multitenancy options in Django > using contrib.sites, and have some thoughts on how core could make it > easier. ... > A few options for how such a hook could be