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
Alex, this is a real problem, as it prevents us to add more than one optional argument to - for example - django-taggit-templatetag because it depends on templatetag-sugar. See for yourself, on this abandoned but much used project, 3 forks at last have tried to implement a simple "limit" additionnal argument to limit the number of tags ouputted by the templatetag, only jonas did it, but he had to fix django-template-sugar first.
The rewrite of django-template-sugar by jonasgeiregat fixes this problem and introduces a simpler API, but there's a bunch of other apps relying on your original template-sugar app, and turning onto jonas version to solve this simple bug implies a syntax change that breaks other pluggable apps elsewhere...
Could you please have a look at this issue when you find 5 minutes ?
thanks...
Having more then one Optional Object fails parsing the parameters.
I think the problem lies inside the call method of the Parser Class, which assumes that all parameters are present in the order they are defined.
The text was updated successfully, but these errors were encountered: