diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-05 19:13:32 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-11-05 19:13:32 +0100 |
| commit | d1d4bcfddf999ce13f04d2146dabb48c761cadc0 (patch) | |
| tree | 865e880579dcc177b991105e8d118fc1949a7c68 /archaeological_context_records/models.py | |
| parent | 1e5968aba7a9344e2c06686f581d597fe26c4fda (diff) | |
| download | Ishtar-d1d4bcfddf999ce13f04d2146dabb48c761cadc0.tar.bz2 Ishtar-d1d4bcfddf999ce13f04d2146dabb48c761cadc0.zip | |
WIP
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 0c8a18f43..63e6a773d 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -1376,7 +1376,7 @@ class ContextRecord( return self.full_label() def _generate_cached_periods(self): - return " & ".join(dating.period.label for dating in self.datings.all()) + return " & ".join(period.label for period in self.periods.all()) def _generate_cached_related_context_records(self): return self.detailed_related_context_records() |
