git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
File should be a value model, right?
[philo.git]
/
philo
/
forms
/
fields.py
diff --git
a/philo/forms/fields.py
b/philo/forms/fields.py
index
8bb5ce3
..
66b96ad
100644
(file)
--- a/
philo/forms/fields.py
+++ b/
philo/forms/fields.py
@@
-9,6
+9,7
@@
__all__ = ('JSONFormField',)
class JSONFormField(forms.Field):
class JSONFormField(forms.Field):
+ """A form field which is validated by :func:`philo.validators.json_validator`."""
default_validators = [json_validator]
def clean(self, value):
default_validators = [json_validator]
def clean(self, value):