Formalizing manage.py's relationship to settings.py

2011-05-24 Thread graham_king
manage.py has an ambiguous relationship to settings.py: It requires it to be present, imports it, passes it to core.management.setup_environ, uses it's location to set your python path, but doesn't necessarily use it as your settings. You can override that final part via -- settings or DJANGO_SETTI

Re: Killing reloaders when parent receives TERM signals

2009-03-24 Thread graham_king
It looks like you're trying to run the dev server as a real web server, which is a very bad idea (it's only serves one request at a time, for starters). As it says here: http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-optional-port-number-or-ipaddr-port "DO NOT USE THIS SERVER

Re: Rethinking silent failures in templates

2008-05-20 Thread graham_king
Making {{ myval }} fail loudy would break the admin app. Setting TEMPLATE_STRING_IF_INVALID to anything other than '' also breaks it. Here's an example: http://code.djangoproject.com/ticket/5532 This ticket has all the details: http://code.djangoproject.com/ticket/3579 Will this be fixed in

Re: New faster SelectBox.js

2007-01-15 Thread graham_king
We've had this (http://code.djangoproject.com/ticket/3099) in production at work for over a month now with happy users. It's been confirmed as working in this thread by Jeremy Dunck and Gary Wilson, and solves a different ticket (#348). Any chance of a commit ? Or tips on what I need to do next t

Re: New faster SelectBox.js

2006-12-12 Thread graham_king
Has anyone else had a chance to test this new SelectBox.js ? I would really appreciate if someone could drop this js into their app and take a look - I guarantee you faster select boxes and faster page load times on all your admin interface that uses the filter interface. We've had it in producti

Re: New faster SelectBox.js

2006-12-06 Thread graham_king
Now with a ticket: http://code.djangoproject.com/ticket/3099 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To uns

Re: Django mail.py Message-ID header

2006-11-07 Thread graham_king
After reading Jacob's mail yesterday about adding your name and e-mail to the Trac 'settings' page, I managed to submit a ticket: http://code.djangoproject.com/ticket/2991 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Django mail.py Message-ID header

2006-11-06 Thread graham_king
Great. A patch it is. Askimet is refusing everything I enter into a new ticket, every single paragraph from my post individually, and even the standard Lorem Ipsum paragraph - something isn't right, so please accept my ticket here: --- Title: Adding Message-ID header in core/mail.py Body: A

mysql microsecond replace error

2006-01-08 Thread graham_king
Dear django developers, Using the latest django from SVN with python 2.4.2 and mysql 4.1.14, when I try and save an object with a date in it I get the following error: File "test.py", line 9, in ? -- my code activity.save() -- my code File "/usr/lib64/python2.4/sit