1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #25417 -- Added a field check for invalid default values.

This commit is contained in:
Simon Charette
2015-09-17 11:15:43 -04:00
parent 75ed590032
commit 71ebcb85b9
4 changed files with 89 additions and 0 deletions

View File

@@ -512,6 +512,9 @@ Models
* ``connection.queries`` shows queries with substituted parameters on SQLite.
* Added a new model field check that makes sure
:attr:`~django.db.models.Field.default` is a valid value.
CSRF
^^^^