Best practices

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

  • Where a graphic or template designer may work, 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 djc.formrenderingtool

Next topic

Contribution guidelines

This Page