Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the simple_form class to properly convert variables to their htm... #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

genixpro
Copy link

I was having issues because simpleform did not use the formencode.Validator.from_python methods when filling the HTML forms with values. I made changes so that this is the case - so that the system properly switches between the python-style and html-style representations or variables.

My changes could be made better though, as in a couple of places we convert to python representation, back to html representation (see line 198 in the latest update). It seemed like I would have to rewrite the whole function to avoid this.

…html representation using formencode.Validator.from_python.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant