Skip to content

URL expression to use the Django URL dispatcher#501

Merged
retspen merged 2 commits intoretspen:masterfrom
ainoniwa:djang_url
Feb 16, 2015
Merged

URL expression to use the Django URL dispatcher#501
retspen merged 2 commits intoretspen:masterfrom
ainoniwa:djang_url

Conversation

@ainoniwa
Copy link
Copy Markdown
Contributor

Modified URL expression to use the Django URL dispatcher.

Expected uses:

Install the WebVirtMgr inside reverse proxy, and think the situation that access the all (exclude the noVNC) resources used subdirectory path.
(e.g. http://example.com/webvirtmgr/instances/1/)

Then add configuration the below, and work under the subdirectory.

$ cat webvirtmgr/local/local_settings.py
STATIC_URL = '/webvirtmgr/static/'
FORCE_SCRIPT_NAME='/webvirtmgr'

retspen added a commit that referenced this pull request Feb 16, 2015
URL expression to use the Django URL dispatcher
@retspen retspen merged commit c875e0d into retspen:master Feb 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants