git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added django cache backend use on top of cacheless shipherd.
[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):