django-hosts
django-hosts copied to clipboard
reverse and url tag should reverse urls without need of hostname in case of uniqness
As said in docs we must pass host-name in both reverse
function and url
template tag.
I think it should be better if we could use something like {% url 'view-name' %}
in a case that we don't have same view-names
in different hosts. Or something like reverse(view_name)
in such cases.
May I add this feature and make a merge request?