Issue 20: Template Syntax Error: 'blocktrans' doesn't allow other block tags...
Status:  Fixed
Owner: ----
Closed:  May 2008
Reported by s.ko...@dms-arts.com, May 28, 2008
After install via svn i get the following template error:
'blocktrans' doesn't allow other block tags (seen u'plural') inside it

Sorry, iam new in django, don't know if its realy a bug.


line:
{% blocktrans with forum.threads as thread_count and forum.posts as
post_count %}{{ thread_count }} thread, {{ post_count }} posts{% plural
%}{{ thread_count }} threads, {{ post_count }} posts{% endblock %}

fix:
{% blocktrans with forum.threads as thread_count and forum.posts as
post_count %}{{ thread_count }} thread, {{ thread_count }} threads, {{
post_count }} posts{% endblocktrans %}

I removed "{{ post_count }} posts{% plural %}" and changed "endblock" in
"endblocktrans".




May 28, 2008
#1 s.ko...@dms-arts.com
ohhh i forgot the file:

It's the forum_list.html file in templates/forum.


May 28, 2008
Project Member #2 rwpoul...@gmail.com
Fixed, will be in SVN shortly. Thank you!
Status: Fixed