Bug fix
This commit is contained in:
parent
6bc64ceb7a
commit
04270e88c0
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class Website(models.Model):
|
|||
url = random.choice(self.notable_pages.all()).url
|
||||
elif rand <= 0.8:
|
||||
search_term_text = self.name + " " + \
|
||||
random.choice(self.keywords.all())
|
||||
str(random.choice(self.keywords.all()))
|
||||
url = user.search_engine.search_url(search_term_text)
|
||||
else:
|
||||
url = user.search_engine.search_url(self.name)
|
||||
|
|
Loading…
Reference in a new issue