ericls / django-hashids

Non-intrusive hashids library for Django
MIT License
42 stars 10 forks source link

Python-hashids is being depreciated in favor of python-sqids #36

Open gabn88 opened 1 year ago

gabn88 commented 1 year ago

The old hashids package is replaced by sqids (https://sqids.org/python).

Although this happened very recently I wanted to open this issue to discuss the path forward for the django-hashids package.

What are your thoughts on this?

I'm in favor of making the default "hashid" library used a setting, for example: "HASHID_LIBRARY_USED", which can be hashids or sqids or something else.

ericls commented 1 year ago

Thanks for the heads up. That's a good suggestion, I'll look into it later.

julianwachholz commented 7 months ago

@gabn88 thank you for bringing this new library to my attention. I've always preferred this project over the alternative (django-hashid-field) so I went ahead and forked this project and adapted it to Sqids: https://github.com/julianwachholz/django-sqids - feel free to check it out :)