Set default for AutoFields to BigAutoField
Open
Nobody has claimed this yet.
Task
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
We want to avoid the problem encountered in PULP-890 in the future. To do so, we need to teach Django to use BigAutoField instead of AutoField - see https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Django default-auto-field setting documentation linked in the issue, then locate pulpcore's Django configuration. The work is complete when Django uses BigAutoField instead of AutoField by default and the existing PULP-890 problem is prevented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100