Installing in a Subdirectory: /mysite/¶
This section is for those that need Django is a subdirectory, such as /mysite
. If your Django installation is at the root of your domain, skip this section.
In other words, suppose your Django site isn’t the only thing on your server. Instead of the normal url pattern, http://www.yourdomain.com/
, your Django installation is at http://www.yourdomain.com/mysite/
. All apps are contained within this mysite/
directory.
This is accomplished in the normal Django way. Adjust your urls.py
file to include the prefix:
url('^mysite/', include('django_mako_plus.urls')),