django-hashid-field: `enable_hashid_object=False` breaks Django admin?

order_id = HashidField(enable_hashid_object=False, null=True, blank=True)

Unless I set enable_hashid_object = True then I get the following error in Django admin attempting to save a model:

TypeError
'<' not supported between instances of 'str' and 'int'
image

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (9 by maintainers)

Commits related to this issue

Most upvoted comments

Ha! I lied! Both my tests and sandbox are using sqlite. Fix incoming.

No problemo, was fun! Confirmed fixed.

Have a good one!