Open roniemartinez opened 10 months ago
Using startswith becomes a challenge when you have a very long list. This could be simplified with a regex support.
startswith
Django supports __regex and __iregex: https://docs.djangoproject.com/en/5.0/ref/models/querysets/#regex
__regex
__iregex
It seems that this has been discussed in https://github.com/ivelum/djangoql/issues/47#issuecomment-815859199
This would be useful for me.
Using
startswith
becomes a challenge when you have a very long list. This could be simplified with a regex support.Django supports
__regex
and__iregex
: https://docs.djangoproject.com/en/5.0/ref/models/querysets/#regexIt seems that this has been discussed in https://github.com/ivelum/djangoql/issues/47#issuecomment-815859199