django1/django
Malcolm Tredinnick b3b8422363 Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys
(via a callable). Also updates the documentation of the "default" attribute to
indicate a callable can be used. Thanks, Philipe Raoult.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-03-20 06:56:23 +00:00
..
bin Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it. 2007-11-19 05:59:58 +00:00
conf Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a 2008-03-20 06:43:58 +00:00
contrib Fixed #5507 -- Use a more portable way to get at the system's tmpdir (fixes a 2008-03-20 06:43:58 +00:00
core Fixed #6789 -- Added some small amount of extra protection for learners trying 2008-03-19 15:10:31 +00:00
db Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys 2008-03-20 06:56:23 +00:00
dispatch Fixed #5664 -- Added a Jython workaround for some assumptions in the signal 2007-10-21 18:26:24 +00:00
forms Changed django.forms to remove duplicate code and import from django.oldforms instead 2006-12-22 01:44:34 +00:00
http Fixed #6764 -- Added some error checking around cookie decoding. Thanks, 2008-03-17 13:49:04 +00:00
middleware Fixed #6480 -- Added application/pdf the list of content types we don't compress when sending to Internet Explorer. Thanks, Bastien Kleineidam. 2008-02-04 01:40:53 +00:00
newforms Fixed #4620: you can now easily add custom labels to ModelChoiceFields via subclassing. Thanks, PhiR. 2008-03-19 23:10:45 +00:00
oldforms Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359 2007-11-14 12:58:53 +00:00
shortcuts Fixed #3511 -- Changed QuerySet.get() to return a MultipleObjectsReturned exception, rather than an assertion error. Thanks, Gary Wilson and cheeming. 2007-12-02 18:21:07 +00:00
template Fixed #5884 -- Added better display error handling for template variables. 2008-03-17 14:21:09 +00:00
templatetags Fixed #4539 -- Fixed a subtle context resolving bug in the i18n template tag. 2008-03-17 14:55:30 +00:00
test Fixed #5982 -- Changed test client's URL processing to match core's (everything 2008-03-20 06:50:54 +00:00
utils Fixed #6687: added outlog/errlog options to runfcgi. Thanks, tamas. 2008-03-18 15:53:46 +00:00
views Fixed #5935 -- the 'It worked' page is now served with a 200 status code, not a 404. Thanks for bringing this up, Free Neuron 2008-03-18 22:21:04 +00:00
__init__.py Fixed #5215 -- Added Subversion revision number to Django version string. Thanks for the patch, Deryck Hodge 2007-08-21 03:08:02 +00:00