Re: Does SELECT 1 FROM... Work on SQL Server and Oracle?

2007-08-12 Thread Michael van der Westhuizen
Hi, On 8/12/07, Simon Greenhill <[EMAIL PROTECTED]> wrote: > I'm trying to work out if Ticket #5030 is good to go or not. > Basically, when save() is called on a model, django does a SELECT > COUNT(*)... query to check that the primary key is good. > > However, SELECT 1... is apparently quite a

Re: Changing django.contrib.auth to make passwords optional

2007-05-11 Thread Michael van der Westhuizen
Hi Simon, On 5/11/07, Simon Willison <[EMAIL PROTECTED]> wrote: > [snip] > 1. The 'password' field in the User model should be altered to have > blank=True. > > This would allow us to set blank passwords as an empty string. It > would not require existing installations to make any schema changes

Re: Oracle patch is ready

2007-04-27 Thread Michael van der Westhuizen
Hi All, On 4/27/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > Hey Matt, > > On Thu, 2007-04-26 at 20:04 +, Matt Boersma wrote: > > I had purposely let this thread dangle, hoping Malcolm or Adrian or > > Jacob might weigh in and decide the "db_tablespace" minor controversy. > > > >

Re: Recommended way to connect Oracle Databases

2007-01-05 Thread Michael van der Westhuizen
Hi, On 1/5/07, vizcayno <[EMAIL PROTECTED]> wrote: [snip discussion of "lite" connection strings vs. TNS] To properly specify a database connection you'd also need provision for a port number (the listener port). While that seems like a reasonable idea, TNS is a better mechanism as it

Re: Oracle: call for testing

2006-11-19 Thread Michael van der Westhuizen
Hi, On 11/17/06, ogghead <[EMAIL PROTECTED]> wrote: > > The django source code in the boulder-oracle-sprint branch has had the > trunk HEAD merged in, and now passes all but 4 of the 65 tests in the > suite against my 10g and 9i database instances. [snip] I've finally got around to getting this

Re: Admin "View on site" link broken

2006-08-27 Thread Michael van der Westhuizen
Hi Alan, On 8/27/06, Alan Green <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm having a problem with the Admin "View on site" button. According [snip] > My model objects have a get_absolute_url() method, and the View on > site button appears as expected, however, the "View on site" button > links to