#36844: Update packaging tutorial and AppConfig docs to mandate setting
default_auto_field for reusable apps
--------------------------------------+------------------------------------
Reporter: Jacob Walls | Owner: Amar
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Amar):
* has_patch: 0 => 1
Comment:
PR submitted: https://github.com/django/django/pull/20503
This patch:
- Updates the `AppConfig.default_auto_field` documentation to clarify
that reusable applications **must** set this attribute
- Adds `default_auto_field` to the `PollsConfig` example in the
packaging tutorial
This follows the guidance from the discussion in PR #20319.
--
Ticket URL: <https://code.djangoproject.com/ticket/36844#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019b967514d2-d42aa1b4-f943-4596-84fc-2e3b3f35d496-000000%40eu-central-1.amazonses.com.