2👍
✅
It is possible in Django 1.3 if you’re willing to use a future compatibility library.
See the section Forwards compatibility at https://docs.djangoproject.com/en/dev/ref/templates/builtins/#url (just above the discussion on widthratio) for an explanation and examples.
Source:stackexchange.com