Code

Ticket #7609: doc_patch_wo_link.diff

File doc_patch_wo_link.diff, 519 bytes (added by paulcollins, 3 years ago)

Same idea without the link to this ticket

Line 
1diff --git docs/ref/models/fields.txt docs/ref/models/fields.txt
2index cc89142..2ebf43a 100644
3--- docs/ref/models/fields.txt
4+++ docs/ref/models/fields.txt
5@@ -805,7 +805,8 @@ this as a ``<select>`` box with "Unknown", "Yes" and "No" choices.
6 
7 .. class:: PositiveIntegerField([**options])
8 
9-Like an :class:`IntegerField`, but must be positive.
10+Like an :class:`IntegerField`, but must be positive. Also accepts 0 for backward
11+compatibility reasons.
12 
13 ``PositiveSmallIntegerField``
14 -----------------------------