Skip to content

Conversation

@jtrobles-cdd
Copy link
Member

Ref: #665

jtrobles-cdd and others added 12 commits July 17, 2024 17:50
- Add Filter class `RutFilter`.
- Add FilterSet class `SiiFilterSet`.
- TODO: Add tests.

Most of the code originates from an internal application
(see commit 2e9ce461 of that application’s source code),
and was originally written by Yasel Couce.

Jose Tomas Robles Hahn did some refactoring and made some minor
improvements.

Ref: https://app.shortcut.com/cordada/story/8313
Co-authored-by: Yasel Couce <ycouce@cordada.com>
> Django-filter is a reusable Django application allowing users to
> declaratively add dynamic `QuerySet` filtering from URL parameters.

- [Web Site](https://github.com/carltongibson/django-filter)
- [VCS Repository](https://github.com/carltongibson/django-filter.git)
- [Documentation](https://django-filter.readthedocs.io/)
- [Software Repository](https://pypi.org/project/django-filter/)
extras: Add `RutFilter` for Django views and DRF views
- Add Django URL path converter for Chilean RUT.
- Add Django URL path converter for Tipo DTE.
- Add tests.

The source code originates from an internal application
(see commits 1e0b3617 and 7db9b2b0 of that application’s source code),
and was originally written by Jose Tomas Robles Hahn (`RutConverter`)
and Felipe Pinto (`TipoDteConverter`).

Co-authored-by: Felipe Pinto <fpinto@cordada.com>
extras: Add Django URL path converter for RUT and Tipo DTE
Use it to extend DRF serializers that inherit from `ModelSerializer` so
that Django model fields from `cl_sii.extras.dj_model_fields` do not
have to be explicitly defined in the serializer.

The source code originates from an internal application
(see commit 3bea7182 of that application’s source code),
and was originally written by Jose Tomas Robles Hahn.
extras: Add mapping of Django model fields to DRF serializer fields
extras: Reformat source code of `.dj_filters`
@jtrobles-cdd jtrobles-cdd added task Task or chore kind: deploy Deployment labels Jul 17, 2024
@jtrobles-cdd jtrobles-cdd self-assigned this Jul 17, 2024
@jtrobles-cdd jtrobles-cdd requested a review from a team as a code owner July 17, 2024 22:51
@sonarqubecloud
Copy link

@jtrobles-cdd jtrobles-cdd merged commit b680e83 into master Jul 17, 2024
@jtrobles-cdd jtrobles-cdd deleted the deploy/v0.31.0 branch July 17, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: deploy Deployment task Task or chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants