adamcharnock/django-hordak

Relax Account.name max_length restriction

jordanmkoncz opened this issue · 2 comments

Currently, the Account.name field is defined as name = models.CharField(max_length=50). Assuming there is no particular reason why the max_length is restricted to 50 characters, could we increase this to max_length=255?

In my case, I'm wanting to create some Accounts with names that include a UUID value (generated using uuid.uuid4) which is 36 characters long by itself, making it hard to add other relevant content to the name field.

Four years later, and done!