1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Small formatting changes to model unit tests to make them look better in the model examples online

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-05-31 19:10:43 +00:00
parent 3daae59aab
commit a846155118
5 changed files with 19 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
"""
XX. Validation
29. Validation
This is an experimental feature!
Each model instance has a validate() method that returns a dictionary of
validation errors in the instance's fields. This method has a side effect