Closed PetrDlouhy closed 6 years ago
Thank you for this @PetrDlouhy! I'm taking a look now. I'll probably push some changes onto this pull request if that is ok with you?
BTW, I just rebased this off master
, because I'd forgotten to merge the django2
branch into master
, and as a result this PR was missing some Django migrations.
Hey @PetrDlouhy, I've pushed a few commits to just wrap up this change. These commits:
full_code
column__str__()
method on the Account
modelNext steps:
Once the above are done I'll be happy to merge.
Importantly: You'll need to re-run migration 24 as I have modified the steps within it:
# Rollback to migration 23
./manage.py migrate hordak 0023
# Reapply 24
./manage.py migrate hordak 0024
@adamcharnock Nice. So far it seems, that it is working perfectly.
I'm glad to hear @PetrDlouhy! I'll merge it in then, thank you for the PR! 👍
I've just released 0.8.0
This is my attempt to address issue #13. I don't know what are the codes used for, so I am not sure if it doesn't break anything. But basic things seem to work for me.
I use
django-hordak
to make account for every user, so it would be quite difficult creating codes for all of them (and maybe impossible due to the possible number of codes).