pickle error when putting a form in session

2009-07-08 Thread yuccaplant
Hi all, When I try to put a form in session, I get pickle error: Can't pickle : it's not found as django.utils.functional.__proxy__ My setup: google app engine django trunk svn appengine_utilities session library python 2.5.1 (Os X Leopard) Any ideas? thanks in advance, pieter My Code:

Re: database lookup in url conf to efine the application url conf to be included

2009-02-15 Thread yuccaplant
I could use so the database lookup happens before the resolver gets called by django? kind regards, Pieter On Feb 15, 9:54 am, yuccaplant wrote: > Hi Malcolm, > > Thanks for your reply. I think I wasn't really clear. The problem is > that the first part of the url is could be really

Re: database lookup in url conf to efine the application url conf to be included

2009-02-15 Thread yuccaplant
cation), {'id': node.id}), ) However, if I have a big site with a lot of content, there woud be a lot of nodes and the urlpatterns list could become rather long. Maybe this would be bad for performance? thanks, kind regards, Pieter On Feb 15, 3:13 am, Malcolm Tredinnick wrote: > O

database lookup in url conf to efine the application url conf to be included

2009-02-14 Thread yuccaplant
Hi all, I want to develop a cms and I want my urls partially to be user- defined, for example: /home/info /home/blog/-/post/ /frank/blog/-/articles/2003 /frank/bio The first part (the part before '/-/' if any) would map to an application in the database and is user defined (it could be anything

psycopg2.ProgrammingError: relation * already exists

2007-06-24 Thread yuccaplant
I'm new to Django and I suspect I did something wrong. Whenever I do python manage.py syncdb I get these kind of errors: psycopg2.ProgrammingError: relation "auth_message" already exists which is of course true, because I ran "python manage.py syncdb" before to create these tables. But someho