adamcharnock/django-hordak

Why is Account code field only 3 digits?

ajaff opened this issue · 3 comments

ajaff commented

Really useful library - just a few questions:
As title - why is the code field only 3 digits - this limits us to ~1000 accounts per node.
Is this a performance reason?
What is the recommended workaround?

Hi @ajaff, I'm glad you're finding it useful! There is no reason for the limitation, and in fact the account codes are the source of a number of bugs (and are of questionable use), so I'm likely going to remove them in the next major version of Hordak.

However, until then, I believe you can also use A-Z characters in the account codes, which will give you 36^3 accounts per node.

ajaff commented