Typo
This commit is contained in:
parent
33bdae96e4
commit
db067e56fc
|
@ -91,7 +91,7 @@ class Website(models.Model):
|
||||||
""" Generates the url in case the interest chosen is a website.
|
""" Generates the url in case the interest chosen is a website.
|
||||||
"""
|
"""
|
||||||
rand = random.random()
|
rand = random.random()
|
||||||
if user.uses_url:
|
if user.uses_urls:
|
||||||
url = self.url
|
url = self.url
|
||||||
elif rand <= 0.1:
|
elif rand <= 0.1:
|
||||||
url = random.choice(self.notable_pages).url
|
url = random.choice(self.notable_pages).url
|
||||||
|
|
Loading…
Reference in New Issue