updated
This commit is contained in:
@ -387,7 +387,8 @@ def publish_date(sender, instance, created, **kwargs):
|
||||
mdl = apps.get_model(app_label="rog", model_name=LAYER_CHOICES[instance.layerof -1][1])
|
||||
print(mdl)
|
||||
print(f"#### instance.layerof - {instance.layerof}")
|
||||
with open(csv_f, 'r') as txt_file:
|
||||
with open(csv_f, mode="r", encoding="utf-8") as txt_file:
|
||||
#heading = next(txt_file)
|
||||
reader = csv.reader(txt_file, delimiter=",")
|
||||
for fields in reader:
|
||||
print("@@@@@@@@@@@@")
|
||||
|
||||
Reference in New Issue
Block a user