Re: FileField question

2007-10-27 Thread Justin Driscoll
Any reason not to have upload_to accept a string OR a callable and function accordingly? Justin On 10/27/07, Robert Coup <[EMAIL PROTECTED]> wrote: > > > Presumably filename is optional, so only people who actually care will > use it... with that in mind, personally I'd save the back-compat > hass

setup_environ question

2007-10-27 Thread Gary Wilson
Is there a reason why setup_environ adds the parent directory of the project directory to the path, imports the project module, and then removes the parent directory from the path? The imported project module is also not used afterwards. --~--~-~--~~~---~--~~ You

Re: FileField question

2007-10-27 Thread Robert Coup
Presumably filename is optional, so only people who actually care will use it... with that in mind, personally I'd save the back-compat hassle and support upload_to (as it works now) as well as the callable. And make it clear in the docs that all it does is os.path.join() the two. It also might be

Re: GeoDjango--no "django_session_id_seq" with pgsql?

2007-10-27 Thread limodou
You can read this thread, and someone given a patch, you can test it. The newest code is in the svn. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ meide <>: http://code.google.com/p/meide/ My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~---