Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular Expressions on Integer Fields don't work #5

Closed
hsunami opened this issue May 5, 2013 · 1 comment
Closed

Regular Expressions on Integer Fields don't work #5

hsunami opened this issue May 5, 2013 · 1 comment
Labels
Milestone

Comments

@hsunami
Copy link

hsunami commented May 5, 2013

Hi,

Regexes on integer fields don't seem to work.

Thanks,
Jeff

@noirbizarre
Copy link
Owner

This is a SQLite only bug.

Currently this an upstream Django bug:

  • regex lookups fail if field value is null/None
  • regex lookups fail if field is not a string based type field

I submitted a pull request: django/django#1043.

Until it's accepted and released, I prevented and documented these cases in django-eztables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants