summaryrefslogtreecommitdiff
path: root/meetingtools/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/utils.py')
-rw-r--r--meetingtools/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meetingtools/utils.py b/meetingtools/utils.py
index eee0d80..767da43 100644
--- a/meetingtools/utils.py
+++ b/meetingtools/utils.py
@@ -16,5 +16,5 @@ def session(request,key=None,val=None):
else:
return request.session
-def base_url(request):
- return "%s://%s/" % ({True: 'https',False:'http'}[request.is_secure()],request.get_host()) \ No newline at end of file
+def base_url(request,path="/"):
+ return "%s://%s%s" % ({True: 'https',False:'http'}[request.is_secure()],request.get_host(),path) \ No newline at end of file