django/tests/regressiontests/model_fields
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
..
__init__.py Fixed call to `ugettext`, which is imported as `_`. 2007-07-30 17:25:35 +00:00
models.py Fixed #6445 -- Allow model instances to be used as a default for ForeignKeys 2008-03-20 06:56:23 +00:00
tests.py Fixed call to `ugettext`, which is imported as `_`. 2007-07-30 17:25:35 +00:00