If you use {% url web-language 'nl-nl' %} like this 'nl-nl' is in your args (args[0]), not in your kwargs. For kwargs you should use syntax like {% url web-language language='nl-nl' %}. Then your view should work. Hopefully your urlconf matches the way the view is dealing with it.