Opened 3 years ago

Last modified 8 weeks 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 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 (1)

comment:1 Changed 8 weeks ago by Sergey Fedoseev

Cc: Sergey Fedoseev added
Note: See TracTickets for help on using tickets.
Back to Top