Use RequestContext if possible in default 500 error view

2009-04-29 Thread Igor Sobreira
Hello devs, As you know, the view django.views.defaults.server_error() uses Context instead of RequestContext. There are 2 tickets about it: http://code.djangoproject.com/ticket/5617 http://code.djangoproject.com/ticket/6377 (duplicated) ubernostrum explaied why it works that way: "The default serv

Re: Multi-DB

2009-04-29 Thread Alex Gaynor
On Wed, Apr 29, 2009 at 8:24 PM, Simon Willison wrote: > > On Apr 30, 12:25 am, Alex Gaynor wrote: > > My question would be how is using a DSN and letting those be passed > directly > > to using() any advantage over letting someone pass a dict of those > options > > to using(), or a connection ob

Re: Multi-DB

2009-04-29 Thread Simon Willison
On Apr 30, 12:25 am, Alex Gaynor wrote: > My question would be how is using a DSN and letting those be passed directly > to using() any advantage over letting someone pass a dict of those options > to using(), or a connection object itself. No advantage at all - I'm interested in being able to h

Re: Multi-DB

2009-04-29 Thread Alex Gaynor
On Wed, Apr 29, 2009 at 7:19 PM, Joey Wilhelm wrote: > On Wed, Apr 29, 2009 at 16:03, Simon Willison wrote: > >> 3. (really nutty one this) - a very high scale situation where an >> application is partitioned across hundreds of databases, which each >> one having the same set of tables. This is h

Re: Multi-DB

2009-04-29 Thread Joey Wilhelm
On Wed, Apr 29, 2009 at 16:03, Simon Willison wrote: > 3. (really nutty one this) - a very high scale situation where an > application is partitioned across hundreds of databases, which each > one having the same set of tables. This is how WordPress-MU works (as > used by wordpress.com), with ever

Re: Multi-DB

2009-04-29 Thread Simon Willison
On Apr 25, 7:11 am, Alex Gaynor wrote: > Simon uses a new DSN based syntax for specifying DBs, however I find this > pretty akward in the presence of our existing way for defining DB settings. I had a few reasons for suggesting DSNs: * We already use DSN-style syntax for cache backends - it's w

Re: Django 1.0 and Django SVN side by side?

2009-04-29 Thread Andrew Smith
Thanks, and sorry for posting to the wrong list! 2009/4/29 Alex Gaynor > > > On Wed, Apr 29, 2009 at 6:23 PM, Alex Gaynor wrote: > >> >> >> On Wed, Apr 29, 2009 at 6:08 PM, Andrew Smith wrote: >> >>> Hello >>> >>> Sorry, this is probably a silly question but I'm fairly new to >>> python/django.

Re: Django 1.0 and Django SVN side by side?

2009-04-29 Thread Alex Gaynor
On Wed, Apr 29, 2009 at 6:23 PM, Alex Gaynor wrote: > > > On Wed, Apr 29, 2009 at 6:08 PM, Andrew Smith wrote: > >> Hello >> >> Sorry, this is probably a silly question but I'm fairly new to >> python/django. Is it possible to have django 1.0.x and the svn version >> installed side by side and if

Re: Django 1.0 and Django SVN side by side?

2009-04-29 Thread Alex Gaynor
On Wed, Apr 29, 2009 at 6:08 PM, Andrew Smith wrote: > Hello > > Sorry, this is probably a silly question but I'm fairly new to > python/django. Is it possible to have django 1.0.x and the svn version > installed side by side and if so, how do I achieve this? > > The reason I ask is that I'm devel

Re: Django 1.0 and Django SVN side by side?

2009-04-29 Thread Jacob Kaplan-Moss
On Wed, Apr 29, 2009 at 5:08 PM, Andrew Smith wrote: > Sorry, this is probably a silly question but I'm fairly new to > python/django. Is it possible to have django 1.0.x and the svn version > installed side by side and if so, how do I achieve this? PYTHONPATH is what you want to learn about her

Django 1.0 and Django SVN side by side?

2009-04-29 Thread Andrew Smith
Hello Sorry, this is probably a silly question but I'm fairly new to python/django. Is it possible to have django 1.0.x and the svn version installed side by side and if so, how do I achieve this? The reason I ask is that I'm developing production code against 1.0.x. I've found a bug in that vers

Re: Integrating fckeditor with django

2009-04-29 Thread Joe Tyson
This is a question that should be directed to django-users. Django-developers is a list dedicated to discussing of developing django itself. On Wed, Apr 29, 2009 at 2:53 PM, megaman821 wrote: > > I see fckeditor has python functions for its quick upload and image > browsing. Is anyone using this

Integrating fckeditor with django

2009-04-29 Thread megaman821
I see fckeditor has python functions for its quick upload and image browsing. Is anyone using this? If so, how do you set up Apache to serve the fckeditor pages? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: some observations on form features

2009-04-29 Thread Waylan Limberg
On Wed, Apr 29, 2009 at 10:33 AM, ken keller wrote: > > form.as_table is appealing but seems limited: Ken, the consensus seems to be that the form.as_* methods are for quick prototyping and not really meant for fine grained control. If you want more control over the output of the form, build it

some observations on form features

2009-04-29 Thread ken keller
form.as_table is appealing but seems limited: * Many forms need field groups to be highlighted. * Sometimes multiple fields need to be in the same row (e.g., first & last name). * The use of for errorlist can cause layout problems. Sometimes I need to add non-bound fields to a bound form such as

Re: test suite fails in release 10604

2009-04-29 Thread Karen Tracey
On Fri, Apr 24, 2009 at 1:38 PM, wrote: > Thanks for the update. Here is what I have found. I ran the tests on python > 2.4 and python 2.5. The error only seems to occur in python 2.6. Here is > what I found regarding this error > > http://bugs.python.org/issue3210 > > > I don't that that Python

Templates for projects and apps

2009-04-29 Thread Kless
I've created new templates for the applications and projects which has major features as: * settings has been splitted into a directory for better manage * all settings related to media, admin and debug are set automatically (included its urls) * creates a full directory structure (following reco