Re: Absolute paths in settings.py

2008-10-30 Thread Valts Mazurs
On Thu, Oct 30, 2008 at 10:23 PM, James Bennett <[EMAIL PROTECTED]>wrote: > Except for the part where it breaks/causes headaches for eggs and > zipped packages, both of which are somewhat popular in this Python > world. There should be significantly greater number of Django projects that are

Re: Absolute paths in settings.py

2008-10-30 Thread Valts Mazurs
It would be useful to have at least this one by default: PROJECT_DIR = os.path.abspath(os.path. dirname(__file__)) Other defaults such as MEDIA_ROOT and TEMPLATE_DIRS also would be useful for me as I repeat these exact lines for every project. Regards, Valts. On Thu, Oct 30, 2008 at 8:44 PM,

Re: Use admin.autodiscover() by default?

2008-07-19 Thread Valts Mazurs
+1 As this would remove unneccessary frustration. Regards, Valts. On Sat, Jul 19, 2008 at 11:08 AM, James Bennett <[EMAIL PROTECTED]> wrote: > > As of the newforms-admin merge, the IRC channel is seeing a sudden > rush of folks who try the tutorial and complain because the admin > doesn't work.

Re: Maybe DEBUG=True should only record the last N SQL queries?

2008-04-21 Thread Valts Mazurs
Hello, +1 from my side. I agree with Simon's proposal and also the email above. It is not really necessary to log *all* of queries also on development servers. If there's something fishy going on nothing would stop me to enable unlimited logging again. Cheers, Valts. On Mon, Apr 21, 2008 at

Re: floating point django.VERSION element versus adding another element to the tuple

2008-04-18 Thread Valts Mazurs
Hello, What is the meaning for the serial number in version_info? Is it some kind of build number? Sorry for the dumb question. :) Anyway, I would be happy for having (major, minor, micro, release_level) tuple as Django version info. Regards, Valts. On Fri, Apr 18, 2008 at 9:52 PM, J. Cliff