1👍
In your settings.py, add FORCE_SCRIPT_NAME = 'path',
where 'path'
is the directory where the project resides.
For example, if your site exists at http://john.example.com/mywebsite
, settings.py would contain FORCE_SCRIPT_NAME = '/mywebsite'
.
Source:stackexchange.com