diff options
| author | Jacob Kaplan-Moss | 2009-04-12 19:25:57 -0500 |
|---|---|---|
| committer | Jacob Kaplan-Moss | 2009-04-12 19:25:57 -0500 |
| commit | 45a02f1af64ffa5ee5fddd8930c1507def786ee4 (patch) | |
| tree | 460c5d1ff1f1592956050400d27dd93271265fa4 /src | |
| parent | 1210c461e575e14b4b8eb90f429757456cbea8e0 (diff) | |
| download | django-shorturls-45a02f1af64ffa5ee5fddd8930c1507def786ee4.tar.bz2 | |
Fixed a final bug before stuffing up to github.
Diffstat (limited to 'src')
| -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 = { |
