Ticket #3997: 3997.diff

File 3997.diff, 571 bytes (added by PhiR, 8 years ago)

note in the model api doc about that ...

  • docs/model-api.txt

     
    7979        release_date = models.DateField()
    8080        num_stars = models.IntegerField()
    8181
     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    ``validate()`` to return errors and ``save()`` to raise exceptions.
     86
    8287Field name restrictions
    8388-----------------------
    8489
Back to Top