django-hosts icon indicating copy to clipboard operation
django-hosts copied to clipboard

reverse and url tag should reverse urls without need of hostname in case of uniqness

Open professormahi opened this issue 7 years ago • 4 comments

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?

professormahi avatar Aug 02 '17 06:08 professormahi