2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 04:47:11 +00:00

Wallet editor into separate file

This commit is contained in:
2023-01-31 17:13:41 +00:00
parent 57930b7aa5
commit 1f5b56a593
11 changed files with 840 additions and 806 deletions

View File

@@ -40,7 +40,7 @@ class Wallet(models.Model):
fp = Path(self.fpath)
wname = fp.name
wyear = fp.parent.name
wurl = f"/scanupload/{self.walletname}" # .replace('#', ':')
wurl = f"/walletedit/{self.walletname}" # .replace('#', ':')
jsonfile = Path(settings.DRAWINGS_DATA, "walletjson") / wyear / wname / "contents.json"
if not Path(jsonfile).is_file():