django.template.base.TemplateSyntaxError: 'block' tag takes only one argument
2013 Feb 16 at 01:24 » Tagged as :django, cactus, 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 was encountered when trying to import from Wordpress into Cactus. I had reached that stage only after overcoming another one related to encoding, so I just gave up on it. However I felt I the need to write this blog entry because the previous post ranked pretty high in search results, and it seems rude to turn people away without a solution. .