Best practices

Here are some of the guidelines about form rendering, followed in this application.

  • Where a web designer contributes to project, use templates rather than Python scripts

  • Put CSS classes to container, so that both container and contained element can be styled. As an example use:

    rather than:

    because the graphic designer may want the DIV’s background or the INPUT’s border to be red.

Previous topic

Migrate from Django’s builtins to django-formrenderingtools

Next topic

Contribution guidelines

This Page