django-commons / django-commons/django-enum

Support has_all and has_any lookups for integer sizes greater than 64 bit.

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
110
Forks
6
Avg merge
1d 6h
Merged PRs (30d)
4

Description

Currently for flag fields greater than 64 bits has_any and has_all lookups do not work.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the has_all and has_any lookup implementations and the flag-field handling for integer values. Reproduce the failure with a flag field larger than 64 bits, then verify that both lookups work for those values; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.