Release 0.5.1

This commit is contained in:
Bernardo Heynemann 2012-03-08 16:28:59 -03:00
parent 2663441db9
commit 617d79e91f
2 changed files with 2 additions and 2 deletions

View file

@ -112,5 +112,5 @@ class DjangoHTTPContext(DjangoContext):
def get_url(self, path):
if re.match('^https?:\/\/', path):
return path
return 'http://%s:%d%s' % (self.host, self.port, path)
return 'http://%s:%d/%s' % (self.host, self.port, path.lstrip('/'))

View file

@ -8,4 +8,4 @@
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2011 Rafael Caricio rafael@caricio.com
__version__ = (0, 5, 0)
__version__ = (0, 5, 1)