Ticket #4351: 4351.patch
File 4351.patch, 651 bytes (added by , 17 years ago) |
---|
-
docs/model-api.txt
464 464 465 465 Note that empty string values will always get stored as empty strings, not 466 466 as ``NULL`` -- so use ``null=True`` for non-string fields such as integers, 467 booleans and dates. 467 booleans and dates. Note that you will still need ``blank=True`` to if the 468 field is allowed to be blank in Django's admin site. 468 469 469 470 Avoid using ``null`` on string-based fields such as ``CharField`` and 470 471 ``TextField`` unless you have an excellent reason. If a string-based field