You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
The assumed behaviour is that "page",page.id,"main_content" would become "page_1_main_content".
Instead throws TemplateSyntaxError:
Caught an exception while rendering: sequence item 1: expected string or Unicode, int found
Original Traceback (most recent call last):
File "/Library/Python/2.5/site-packages/django/template/debug.py", line 71, in render_node
result = node.render(context)
File "/Users/tanner/virtualenvs/pinax-env/lib/python2.5/site-packages/django_generic_flatblocks-0.5dev-py2.5.egg/django_generic_flatblocks/templatetags/generic_flatblocks.py", line 91, in render
slug = self.generate_slug(self.slug, context)
File "/Users/tanner/virtualenvs/pinax-env/lib/python2.5/site-packages/django_generic_flatblocks-0.5dev-py2.5.egg/django_generic_flatblocks/templatetags/generic_flatblocks.py", line 32, in generate_slug
return slugify('_'.join([self.resolve(i, context) for i in slug.split(',')]))
TypeError: sequence item 1: expected string or Unicode, int found
The text was updated successfully, but these errors were encountered:
The assumed behaviour is that "page",page.id,"main_content" would become "page_1_main_content".
Instead throws TemplateSyntaxError:
Caught an exception while rendering: sequence item 1: expected string or Unicode, int found
The text was updated successfully, but these errors were encountered: