pulp / pulp/pulpcore

Set default for AutoFields to BigAutoField

Open
#7,427 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.