[Answer]-How do I deploy Django to a suburl using mod wsgi?

1👍

You must modify your hard coded links to use Django’s reversal methods. For example, instead of

<a href="/login/">Login</a>

you should use

<a href="{% url 'accounts_login' %}">Login</a>

this will allow Django to dynamically determine the URLs with respect to the root URL.

👤Selcuk

Leave a comment