#24665: Model field relational attributes are None by default, not False
-------------------------------------+-------------------------------------
Reporter: MarkusH | Owner: pirosb3
Type: Bug | Status: new
Component: Database | Version: 1.8
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The docs state that the relational attributes, such as `many_to_many`,
`one_to_many`, etc should be `False` by default
(https://docs.djangoproject.com/en/1.8/ref/models/fields/#attributes-for-
fields-with-relations). In practice they are `None` though.
According to Daniel on IRC they should be `False` not `None` (i.e. the
documentation is correct).
--
Ticket URL: <https://code.djangoproject.com/ticket/24665>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.b2de9e99c47a9b3912ecf1bd11e24c57%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.