Posts tagged cactus

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  ...

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

Jan. 19, 2013, 1:51 p.m. cactus , markdown , Python

Update Feb 16: If you came looking for a solution to a template error in the title;  see this link for the solution. This post is about static blog generators.Still blogging with wordpress despite my repeated assurances that I am moving away from it. This time my excuse is the error message in the t ...