Add __str__ to models, remove null=True in CharField and TextField

This commit is contained in:
Yohann D'ANELLO 2020-09-07 01:06:22 +02:00
parent 4f5a794798
commit bac22dcbac
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class Command(ImportCommand):
"amount": row["montant"], "amount": row["montant"],
"created_at": date, "created_at": date,
"destination_alias": "", "destination_alias": "",
"invalidity_reason": None, "invalidity_reason": "",
"quantity": row["quantite"], "quantity": row["quantite"],
"reason": row["description"], "reason": row["description"],
"source_alias": "", "source_alias": "",