Skip to content
Commit b3b84223 authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

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
parent 597f9d61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment