#14831: Django Template Style Guide -------------------------------------+------------------------------------- Reporter: Simon Meers | Owner: nobody Type: New feature | Status: new Component: Documentation | Version: 1.2 Severity: Normal | Resolution: Keywords: template, style, | Triage Stage: Accepted format | Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tobias Kunze):
* cc: Tobias Kunze (added) Comment: By now, there is a [https://docs.djangoproject.com/en/dev/internals/contributing/writing-code /coding-style/#template-style place] to add further template style guides (currently it only says to add one space between `{{` and the variable name. So we'd need a consensus on what a good template style would mean: Indented for template readability or for meaningful HTML indentation? Indented by two spaces or four? I'd be all for two spaces and indentation as proposed by [https://code.djangoproject.com/ticket/14831#comment:4 Simon]. -- Ticket URL: <https://code.djangoproject.com/ticket/14831#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.215a1ddb12e7b8d0df99fa37d713e25a%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.