Skip to content
Browse files

Fixed #24, imported urlresolvers and fixed the link string

git-svn-id: file:///Users/brian/Backups/S3/backups/Wednesday/brian/svn/djog/trunk@64 95ab7de8-677b-4562-a266-b8acc9dd993c
  • Loading branch information...
1 parent 6e8dbb9 commit 033176d22f76d811924a7095456d52a56ed1cd04 @alex alex committed Oct 25, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 djog/feeds.py
View
3 djog/feeds.py
@@ -1,4 +1,5 @@
+from django.core import urlresolvers
from django.core.exceptions import ObjectDoesNotExist
from django.db.models import Q
from django.utils.encoding import smart_str
@@ -67,7 +68,7 @@ def title(self, obj):
return "%s: Search Results for \"%s\"" % (site.get_blog().title, obj)
def link(self, obj):
- return "?s=%s" % (urlresolvers.reverse('djog_search'), obj)
+ return "%s?s=%s" % (urlresolvers.reverse('djog_search'), obj)
def description(self, obj):
return "Search results for \"%s\"" % obj

0 comments on commit 033176d

Please sign in to comment.
Something went wrong with that request. Please try again.