aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/forms.py
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2011-04-03 18:23:15 +0200
committerMarcin Kuzminski <marcin@python-works.com>2011-04-03 18:23:15 +0200
commita9862d361f68562c8394b2e2fac6627729237310 (patch)
tree98b56ec8e58003643693b6b95200a0101a007115 /rhodecode/model/forms.py
parent100470636de2ceb0b856c644e53d269fc7e8f64f (diff)
source code cleanup: remove trailing white space, normalize file endings
--HG-- branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r--rhodecode/model/forms.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py
index 5f9a3e66..e60903c9 100644
--- a/rhodecode/model/forms.py
+++ b/rhodecode/model/forms.py
@@ -10,14 +10,14 @@ chained_validators [] These validators will be applied after the schema
allow_extra_fields False If True, then it is not an error when keys that aren't associated with a validator are present
filter_extra_fields False If True, then keys that aren't associated with a validator are removed
if_key_missing NoDefault If this is given, then any keys that aren't available but are expected will be replaced with this value (and then validated). This does not override a present .if_missing attribute on validators. NoDefault is a special FormEncode class to mean that no default values has been specified and therefore missing keys shouldn't take a default value.
-ignore_key_missing False If True, then missing keys will be missing in the result, if the validator doesn't have .if_missing on it already
-
-
+ignore_key_missing False If True, then missing keys will be missing in the result, if the validator doesn't have .if_missing on it already
+
+
<name> = formencode.validators.<name of validator>
<name> must equal form name
list=[1,2,3,4,5]
for SELECT use formencode.All(OneOf(list), Int())
-
+
"""
import os
import re
@@ -361,7 +361,7 @@ class AttrLoginValidator(formencode.validators.FancyValidator):
return value
#===============================================================================
-# FORMS
+# FORMS
#===============================================================================
class LoginForm(formencode.Schema):
allow_extra_fields = True