fix(k-fet/accouts/new): reverse path at trigramme creation
This commit is contained in:
parent
aafbab29ff
commit
0fdc1a2a46
1 changed files with 7 additions and 3 deletions
|
@ -283,9 +283,13 @@ class Account(models.Model):
|
||||||
context={
|
context={
|
||||||
"account": self,
|
"account": self,
|
||||||
"site": Site.objects.get_current(),
|
"site": Site.objects.get_current(),
|
||||||
"url_read": reverse("kfet.account.read", args=(self.trigramme)),
|
"url_read": reverse("kfet.account.read", args=(self.trigramme,)),
|
||||||
"url_update": reverse("kfet.account.update", args=(self.trigramme)),
|
"url_update": reverse(
|
||||||
"url_delete": reverse("kfet.account.delete", args=(self.trigramme))
|
"kfet.account.update", args=(self.trigramme,)
|
||||||
|
),
|
||||||
|
"url_delete": reverse(
|
||||||
|
"kfet.account.delete", args=(self.trigramme,)
|
||||||
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
from_email=mail_data["FROM"],
|
from_email=mail_data["FROM"],
|
||||||
|
|
Loading…
Reference in a new issue