diff options
Diffstat (limited to 'src/shorturls')
| -rw-r--r-- | src/shorturls/templatetags/shorturl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shorturls/templatetags/shorturl.py b/src/shorturls/templatetags/shorturl.py index 2eef0ce..e1781cc 100644 --- a/src/shorturls/templatetags/shorturl.py +++ b/src/shorturls/templatetags/shorturl.py @@ -30,7 +30,7 @@ class ShortURL(template.Node): tinyid = base62.from_decimal(obj.pk) if hasattr(settings, 'SHORT_BASE_URL') and settings.SHORT_BASE_URL: - return urlparse.urljoin(settings.SHORT_BASE_URL, prefix+) + return urlparse.urljoin(settings.SHORT_BASE_URL, prefix+tinyid) try: return urlresolvers.reverse('shorturls.views.redirect', kwargs = { |
