#14831: Django Template Style Guide -------------------------------------+-------------------------------------- Reporter: DrMeers | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.2 Keywords: template, style, format | Stage: Unreviewed Has_patch: 0 | -------------------------------------+-------------------------------------- It would be nice to have a standard template style that should be followed. For example, I like to indent my Django templates by two additional spaces every time I enter a new HTML or template block. The Django core templates vary greatly in regards to style and indentation. Much of the time template readability is sacrificed in favour of attempting to preserve the "appearance" of the generated HTML code.
Regardless of what is decided, it would be great to have at least some guidelines for templates added to http://docs.djangoproject.com/en/dev/internals/contributing/#coding-style -- Ticket URL: <http://code.djangoproject.com/ticket/14831> Django <http://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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.
