Skip to content

Zen of Django Spire

Django Spire

... if the interface cannot be near perfect it cannot live in Django Spire

... you should only use Base, Page & Nav Templates from Django Spire

... let django do its job

Templates

... are for Logic, Functionality or Structure

... are NOT for Design, Colors or Style

... use HTML first, Django second, Bootstrap third, Alpine fourth, JavaScript only when all else can't do it.

... have short extends and as little conditions as possible

... should prioritize using only when being included

Cascading Style Sheets

... is for all style

... should control design

JavaScript

... is for global logic

Alpine

... is for individual logic

Views

... should be opt-in logic not enforced

Forms