Add __str__ to models, remove null=True in CharField and TextField
This commit is contained in:
parent
4f5a794798
commit
bac22dcbac
|
@ -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": "",
|
||||||
|
|
Loading…
Reference in New Issue