jazzband / jazzband/django-eav2

Add support for full QuerySet API

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
enhancement new feature
Dominant language
Python
Stars
369
Forks
64
Avg merge
1m
Merged PRs (30d)
7

Description

As of right now, only basic QuerySet methods are supported for EAV values, namely:
`filter`, `exclude` and `get`. Therefore, something like:

```
Patient.objects.all().order_by('eav__date_of_admission')
```
will not work.

It would be useful to add support for the full QuerySet API.

Contributor guide

Open the contributing guide

Research direction

Start with the EAV query entry point represented by Patient.objects and compare the requested behavior with Django's QuerySet API documentation. Define which QuerySet methods must support EAV values, beginning with the shown order_by('eav__date_of_admission') example, and verify that the selected API operations work consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.