Posts tagged templates

django.template.base.TemplateSyntaxError: 'block' tag takes only one argument

Feb. 16, 2013, 1:24 a.m. cactus , Django , templates

Have you run into an error of this nature? It's because your django template blocks are incomplete. You probably have something like this: {% block %} where as what you really ought to have is something like this (choose a suitable name): {% block content %} Yes it's a trivial solution. ThisĀ errorĀ  ...