~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/forms.py

Cache worksheet and exercise rST-generated XHTML in the DB, accelerating rendering by up to 2000%.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        try:
128
128
            return datetime.datetime.strptime(value, "%Y-%m-%d %H:%M:%S")
129
129
        except ValueError, e:
 
130
            raise formencode.Invalid(str(e) + " -> " + repr(value), value, state)
130
131
            raise formencode.Invalid("Must be a timestamp in "
131
132
                "YYYY-MM-DD HH:MM:SS format", value, state)
132
133
    def _from_python(self, value, state):