Compare commits

..

No commits in common. "9ea0839ba86f67165b3ee3b2d47400b3181cdd0c" and "411d258cd7a4d11608aa7db335e19e5eca397042" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View file

@ -14,7 +14,7 @@ depends=(
) )
makedepends=("git") makedepends=("git")
optdepends=("postgresql: database") optdepends=("postgresql: database")
backup=("etc/${pkgname%-git}/config.toml") backup=("etc/${pkgname%-git}.env")
source=( source=(
"${pkgname}::git+https://git.edgarpierre.fr/edpibu/nummi" "${pkgname}::git+https://git.edgarpierre.fr/edpibu/nummi"
"${pkgname%-git}.service" "${pkgname%-git}.service"

View file

@ -146,9 +146,7 @@ class Snapshot(AccountModel):
) )
def __str__(self): def __str__(self):
return "{} {}".format( return _("%(date)s statement") % {"date": self.date}
_("%(date)s statement") % {"date": self.date}, self.account
)
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
if Snapshot.objects.filter(id=self.id).exists(): if Snapshot.objects.filter(id=self.id).exists():