mirror of https://github.com/django/django.git
Documented "rel objects".
Kept the docstring short because these objects aren't very well defined and they're in the crosshairs of several refactorings.
This commit is contained in:
parent
e542e81b39
commit
361254810e
|
@ -1,3 +1,14 @@
|
||||||
|
"""
|
||||||
|
"Rel objects" for related fields.
|
||||||
|
|
||||||
|
"Rel objects" (for lack of a better name) carry information about the relation
|
||||||
|
modeled by a related field and provide some utility functions. They're stored
|
||||||
|
in the ``remote_field`` attribute of the field.
|
||||||
|
|
||||||
|
They also act as reverse fields for the purposes of the Meta API because
|
||||||
|
they're the closest concept currently available.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
Loading…
Reference in New Issue