Opened 4 years ago

Last modified 4 months ago

#23528 new Bug

django.db.migrations.swappable_dependency not documented

Reported by: Shai Berger Owned by: nobody
Component: Documentation Version: 1.7
Severity: Normal Keywords: migrations
Cc: Sergey Fedoseev, Natt Piyapramote Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As far as I could see, django.db.migrations.swappable_dependency (which is used in migrations whenever the operations need to create a FK to a swappable model) is not documented at all. It needs to be documented because, although it usually shows up in generated code, that code is considered as user-code and should be possible to write by hand as well.

Change History (2)

comment:1 Changed 7 months ago by Sergey Fedoseev

Cc: Sergey Fedoseev added

comment:2 Changed 4 months ago by Natt Piyapramote

Cc: Natt Piyapramote added
Note: See TracTickets for help on using tickets.
Back to Top