Increase max_length of human_readable_id to 8.

Updated the field definition of `human_readable_id` to allow up to 8 characters instead of 6. This change accommodates longer identifiers as required for recent updates.
This commit is contained in:
Egor Pavlovich Gorbunov 2025-05-06 17:01:55 +03:00
parent 0c1caa422c
commit 4deece673f

View file

@ -494,7 +494,7 @@ class Order(NiceModel):
blank=True,
)
human_readable_id = CharField(
max_length=6,
max_length=8,
help_text=_("a human-readable identifier for the order"),
verbose_name=_("human readable id"),
unique=True,