pondělí 10. září 2012

Forms are escaped [Jinja2, Jingo, Django-Bootstrap]

Django-bootstrap is great app for generating nice forms in Django. But be careful together with template system Jinja2 and adapter Jingo, you can be surprised by unexpected behaviour. Form fields are escaped in default. You can simply get rid of this in settings.py:
JINGO_EXCLUDE_APPS += 'bootstrap'
Form fields are escaped unexpectly.

Žádné komentáře:

Okomentovat