forked from expo/troggle
removed fossil URL_ROOT from active code
This commit is contained in:
@@ -84,7 +84,8 @@ class Wallet(models.Model):
|
||||
ordering = ("walletname",)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return urljoin(settings.URL_ROOT, reverse("singlewallet", kwargs={"path": re.sub("#", "%23", self.walletname)}))
|
||||
# we do not use URL_ROOT any more.
|
||||
return reverse("singlewallet", kwargs={"path": re.sub("#", "%23", self.walletname)})
|
||||
|
||||
def get_json(self):
|
||||
"""Read the JSON file for the wallet and do stuff
|
||||
|
||||
Reference in New Issue
Block a user