0
votes
0
comments
1,020
views
Passing variable urlname to url tag in django template
What I’d like to do (for a recent changes ‘widget’ – not a django widget in this case) is pass a urlname into my template as a variable, then use it like so: {% url sitechangeobject.urlname %} Where urlname is a string containing a valid name for a url. Is this possible? The template keeps […]0
votes
0
comments
4,233
views
Writing a tokenizer in Python
I want to design a custom tokenizer module in Python that lets users specify what tokenizer(s) to use for the input. For instance, consider the following input: Q: What is a good way to achieve this? A: I am not so sure. I think I will use Python. I want to be able to provide […]0
votes
0
comments
4,209
views