diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-04-12 17:53:27 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-04-12 17:56:28 +0200 |
commit | 226bc1e62a3fec5df009d3f4bc349303167b289f (patch) | |
tree | 1847020756d69ea7d75b9a5d2cbd78e9d72fca7d /archaeological_warehouse | |
parent | d489063468c6cf5ec8602d37e76d063ec238a42f (diff) | |
download | Ishtar-226bc1e62a3fec5df009d3f4bc349303167b289f.tar.bz2 Ishtar-226bc1e62a3fec5df009d3f4bc349303167b289f.zip |
CSV export: manage __count - fix get localisations
Diffstat (limited to 'archaeological_warehouse')
-rw-r--r-- | archaeological_warehouse/models.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py index 6347104bc..b4bf8c5ea 100644 --- a/archaeological_warehouse/models.py +++ b/archaeological_warehouse/models.py @@ -1367,39 +1367,39 @@ class Container( @property def localisation_1(self): - return self.get_localisation(0) + return self.get_localisation(1) @property def localisation_2(self): - return self.get_localisation(1) + return self.get_localisation(2) @property def localisation_3(self): - return self.get_localisation(2) + return self.get_localisation(3) @property def localisation_4(self): - return self.get_localisation(3) + return self.get_localisation(4) @property def localisation_5(self): - return self.get_localisation(4) + return self.get_localisation(5) @property def localisation_6(self): - return self.get_localisation(5) + return self.get_localisation(6) @property def localisation_7(self): - return self.get_localisation(6) + return self.get_localisation(7) @property def localisation_8(self): - return self.get_localisation(7) + return self.get_localisation(8) @property def localisation_9(self): - return self.get_localisation(8) + return self.get_localisation(9) def set_localisation(self, place, value, static=False, return_errors=False): """ |