Hi everyone,
I’ve been working on ticket 28643 specifically adding Ord, Chr, Left, and Right to Django’s built-in database functions. I’ve done the PR #9583. I am a new contributor, and I’ve never really contributed code to any project through pull requests ever before. I appreciate your guidance. The checks have passed, and I’ve got a mess of commits that I’ve tried to squash a couple of times but seem to stick around nonetheless.
I also made a comment on the ticket that maybe instead of using Left, Right, and Substr functions that we instead implement slicing on fields and expressions to make things more pythonic (and deprecate Left, Right, and Substr). Would such an implementation need a new ticket? And then would we need to consider slicing all iterables instead of just only CharFields, TextFields, and string expressions?
Also, most of the functions in ticket 28643 that go across all supported Django database backends are complete, with the exception of ROUND. SQLite does not come with many built-in math functions, though there are extensions available. I was wondering how we should proceed with that ticket when ROUND is completed.
Thank you!
https://github.com/django/django/pull/9583
https://code.djangoproject.com/ticket/28643
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/af172482-ffb2-4b0c-ba2f-5f16e876302c%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscribe@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.