[Answer]-Why am I getting a "IndexError: string index out of range" when loading this Django template?

1👍

From the documentation you can see that the argument to the tag needs to be quoted.

{% inplace_edit  "OBJ.FIELD_NAME" %}
{% inplace_edit  "OBJ.FIELD_NAME|FILTER1|FILTER2|...|FILTERN" %}

Quoting the argument will fix the issue.

Leave a comment