unable to open database file

2008-12-04 Thread gaz
Hi I am trying to run Django Questionaire (http://djangoquest.aperte- it.com/) on Apache with mod_python using SQlite on Windows 2003. When I try to log in I get the unable to open database file error. I saw a number of posts mention that the parent directory should be writable and it is. Here i

Re: OS path in python

2008-09-22 Thread gaz
On Sep 23, 10:01 am, Bobby Roberts <[EMAIL PROTECTED]> wrote: > I need to find the x part of the path which is the domain name > (whatever.com, ie).  I'm thinking that the only way to do this is to > get the current URL being viewed but I can't figure that out. Assuming you are using Python C

Re: Impact of a CustomManager on the RelatedManager

2008-09-22 Thread gaz
t; wrote: > On 22 sep, 01:49, gaz <[EMAIL PROTECTED]> wrote: > (snip)> I have overloaded the default manager in my model to use a slight > > variant of the CurrentSiteManager, shown below. > > (snip) > > What I am seeing is that the following queries work and present

Impact of a CustomManager on the RelatedManager

2008-09-21 Thread gaz
Hi everyone, I apologise for the verbosity of this message - for my first post it's quite long. I am currently working on my first project employing the Sites framework, and have been moving along quite well with the documentation until I hit a snag last night. I have overloaded the default man