The default behavior is to only allow relations within the same database.
To allow cross-database relations, some router must return True.
--
Ticket URL: <https://code.djangoproject.com/ticket/29349>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => Stefan R. Filipek
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/29349#comment:1>
* has_patch: 0 => 1
Comment:
Pull request: https://github.com/django/django/pull/9893
--
Ticket URL: <https://code.djangoproject.com/ticket/29349#comment:2>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/29349#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9ec77f3d6633691c9bbf31d10af2313689170c85" 9ec77f3d]:
{{{
#!CommitTicketReference repository=""
revision="9ec77f3d6633691c9bbf31d10af2313689170c85"
Fixed #29349 -- Doc'd the default behavior of router.allow_relation().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29349#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"9f2586b96486d13e5d9bbcfb6fe6836f989f79dc" 9f2586b]:
{{{
#!CommitTicketReference repository=""
revision="9f2586b96486d13e5d9bbcfb6fe6836f989f79dc"
[2.0.x] Fixed #29349 -- Doc'd the default behavior of
router.allow_relation().
Backport of 9ec77f3d6633691c9bbf31d10af2313689170c85 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29349#comment:5>