Fix Location2025 missing fields
This commit is contained in:
@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user