diff options
author | jayparikh111 | 2012-11-12 14:21:19 +0530 |
---|---|---|
committer | jayparikh111 | 2012-11-12 14:21:19 +0530 |
commit | 65d4498ff96090fecc569440f0cd1499ae0f6b69 (patch) | |
tree | e5ac6783f57f29d692d2d25963bbb122d37dc250 /testapp | |
parent | 370440db8a77969b7cd9c4a5803e6527841b55e4 (diff) | |
download | online_test-65d4498ff96090fecc569440f0cd1499ae0f6b69.tar.gz online_test-65d4498ff96090fecc569440f0cd1499ae0f6b69.tar.bz2 online_test-65d4498ff96090fecc569440f0cd1499ae0f6b69.zip |
change setting for URLs
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/settings.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/settings.py b/testapp/settings.py index a95706a..cb3defc 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -21,7 +21,7 @@ SERVER_TIMEOUT = 2 # are not hosted as host.org/exam/ but as host.org/foo/exam/ for whatever # reason set this to the root you have to serve at. In the above example # host.org/foo/exam set URL_ROOT='/foo' -URL_ROOT = '' +URL_ROOT = '/online_test' ADMINS = ( @@ -89,7 +89,7 @@ STATIC_URL = '/static/' # URL prefix for admin static files -- CSS, JavaScript and images. # Make sure to use a trailing slash. # Examples: "http://foo.com/static/admin/", "/static/admin/". -ADMIN_MEDIA_PREFIX = URL_ROOT + '/static/admin/' +ADMIN_MEDIA_PREFIX = '/static/admin/' # Additional locations of static files STATICFILES_DIRS = ( |