djangosnippets.org: Latest snippets tagged with 'custom-tags'http://djangosnippets.org/tags/custom-tags/2008-09-08T18:25:07.765307-05:00Remove quotes from bits in a custom tag
2008-09-08T18:25:07.765307-05:00mwdiershttp://djangosnippets.org/snippets/1039/<p>A simple function that will remove the quote marks from every string in a list - if and only if the quote marks are the first and last character of the string, regardless of whether they are single or double quotes.</p>
<p>Useful when parsing the arguments of a custom tag.</p>
Freely redistributable