Ticket #3997: 3997_2.diff
File 3997_2.diff, 656 bytes (added by , 17 years ago) |
---|
-
docs/model-api.txt
79 79 release_date = models.DateField() 80 80 num_stars = models.IntegerField() 81 81 82 .. note:: 83 Unless otherwise specified (``null`` or ``default`` attributes) ALL fields 84 are required to be set in an instance. Any missing field will cause 85 ``save()`` to raise exceptions (backend-dependent, for example sqlite will 86 raise ``IntegrityError`` while mysql would raise ``OperationalError``). 87 82 88 Field name restrictions 83 89 ----------------------- 84 90