Closed mands closed 3 years ago
It's not as simple as assuming ID's are NumberType, the biggest deployment I know of is almost entirely UUID fields for PK's. At a quick glance I believe it's because HashidField inherits off IntegerField. I will have a poke and see what I can do about this.
I've made a 4.0.7 release that will hopefully fix your problem. Please try it out and let me know how it goes.
Thanks so much for the quick feedback and fix - can confirm it works perfectly!
Hi, great product, really useful! Am getting the following error when trying to load id's for some of our objects that use HashIds (https://github.com/nshafer/django-hashid-field),
Looking at the code, I think it's assumed that
Id
is ofNumberType
- this is the case in the database, however the ORM has already converted it to aHashId
object beforedjango-data-browser
gets the value, hence the issue I think.