Set default for AutoFields to BigAutoField

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
django, python
Domain
backend

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.

Description

Task

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

Dominant language
Python
Stars
598
Forks
168
Avg merge
1d 11h
Merged PRs (30d)
95

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.

More from pulp/pulpcore

All issues in pulp/pulpcore

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.