#35899: Allow newlines in {% %} tags -------------------------------------+------------------------------------- Reporter: Anders Hovmöller | Type: New | feature Status: new | Component: Template | system Version: 5.0 | Severity: Normal Keywords: | Triage Stage: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- That newlines inside `{% %}` is not allowed makes some formatting of templates more ugly and bad for git blame. It also causes problems for beginners, as the error message when you do this is not great.
We should allow this, as opt in with an option for the template engine as a first step. Then progressively push people to this new world via defaulting `createproject` to do this, deprecating the old, and then moving over fully. Full discussion: https://forum.djangoproject.com/t/allow-newlines-inside- tags/36040 -- Ticket URL: <https://code.djangoproject.com/ticket/35899> 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 view this discussion visit https://groups.google.com/d/msgid/django-updates/010701930afa1966-24fb4e6a-039c-437d-829f-0f572246b9f3-000000%40eu-central-1.amazonses.com.