Fix Location2025 missing fields

This commit is contained in:
2025-08-31 14:45:50 +09:00
parent aa8b39aa99
commit 619aa4f396
2 changed files with 10 additions and 2 deletions

View File

@ -1274,6 +1274,14 @@ class Location2025(models.Model):
'remark': row.get('remark', ''),
'hidden_location': hidden_location,
# 追加フィールド
'area': row.get('area', ''),
'zip_code': row.get('zip', ''),
'prefecture': row.get('prefecture', ''),
'city': row.get('city', ''),
'website': row.get('webcontent', ''),
'facility': row.get('facility', ''),
# 管理フィールド
'csv_source_file': getattr(csv_file, 'name', 'uploaded_file.csv'),
'csv_upload_date': timezone.now(),