diff options
author | Prabhu Ramachandran | 2011-11-20 23:26:18 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-20 23:26:18 +0530 |
commit | 5650db889ad19d199efe06c59f766698a515a4c5 (patch) | |
tree | 5fc269ed1f38608bbd46cee8af68687803115d82 /templates/exam/login.html | |
parent | 13d4aa869a8a49c2ea27ee97b88decfde48639b5 (diff) | |
download | online_test-5650db889ad19d199efe06c59f766698a515a4c5.tar.gz online_test-5650db889ad19d199efe06c59f766698a515a4c5.tar.bz2 online_test-5650db889ad19d199efe06c59f766698a515a4c5.zip |
ENH: Adding a URL_ROOT configuration option.
This is useful when you are forced to host the app on a URL like
host.org/foo/exam and not as host.org/exam as you would want. Change
the URL_ROOT setting to "/foo" in the above case for this to work.
Diffstat (limited to 'templates/exam/login.html')
-rw-r--r-- | templates/exam/login.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/exam/login.html b/templates/exam/login.html index 8f0ef6c..8e6352e 100644 --- a/templates/exam/login.html +++ b/templates/exam/login.html @@ -15,6 +15,6 @@ Please login to proceed.</p> <input type="submit" value="Login" /> </form> -<!-- <a href="/exam/forgotpassword/">Forgot Password</a> <br /> --> -<a href="/exam/register/">New User Registration</a> +<!-- <a href="{{URL_ROOT}}/exam/forgotpassword/">Forgot Password</a> <br /> --> +<a href="{{URL_ROOT}}/exam/register/">New User Registration</a> {% endblock content %}
\ No newline at end of file |