summaryrefslogtreecommitdiff
path: root/archaeological_context_records
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_context_records')
-rw-r--r--archaeological_context_records/migrations/0007_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py (renamed from archaeological_context_records/migrations/0024_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py)0
-rw-r--r--archaeological_context_records/migrations/0008_generate_cached_label.py (renamed from archaeological_context_records/migrations/0025_generate_cached_label.py)3
2 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_context_records/migrations/0024_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py b/archaeological_context_records/migrations/0007_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py
index 675326715..675326715 100644
--- a/archaeological_context_records/migrations/0024_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py
+++ b/archaeological_context_records/migrations/0007_auto__add_field_contextrecord_cached_label__add_field_historicalcontex.py
diff --git a/archaeological_context_records/migrations/0025_generate_cached_label.py b/archaeological_context_records/migrations/0008_generate_cached_label.py
index 1c559b21a..2e6117c78 100644
--- a/archaeological_context_records/migrations/0025_generate_cached_label.py
+++ b/archaeological_context_records/migrations/0008_generate_cached_label.py
@@ -9,7 +9,8 @@ from django.conf import settings
class Migration(SchemaMigration):
def forwards(self, orm):
- for item in orm['archaeological_context_records.contextrecord'].objects.all():
+ for item in orm[
+ 'archaeological_context_records.contextrecord'].objects.all():
parcel = item.parcel
parcel_lbl = ""
if parcel: