summaryrefslogtreecommitdiffstats
path: root/core/models/wallets.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/models/wallets.py')
-rw-r--r--core/models/wallets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/models/wallets.py b/core/models/wallets.py
index f8662eb..9725a88 100644
--- a/core/models/wallets.py
+++ b/core/models/wallets.py
@@ -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