get_resource_uri_template broken in Django 1.4

Issue #218 new
Bouke Haarsma
created an issue

https://bitbucket.org/Bouke/django-piston/changeset/464a9e6dcc06

{{{
Exception Type: ValueError
Exception Value:
too many values to unpack
Exception Location: /../piston/doc.py in get_resource_uri_template, line 160
}}}

I changed that line to read, which fixed the problem:
{{{
for possibility, pattern, arg2 in possibilities:
}}}
As it breaks Django < 1.4, the fix is not ready for a pull.

https://bitbucket.org/Bouke/django-piston/changeset/464a9e6dcc06

Comments (0)

  1. Log in to comment