Opened 2 years ago
Last modified 2 years ago
#34054 closed Cleanup/optimization
Create a topic about fixtures — at Version 1
Reported by: | Filip Łajszczak | Owned by: | Filip Łajszczak |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Daniele Procida | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Background: From working on #26975 and from reading discussion on the first PR it looks like the current documentation of fixtures requires some work.
Currently information about fixtures is dispersed between different parts of the docs:
- general definition of fixtures lives under reference for
loaddata
command - example of the hand written fixture is in the Initial data how-to guide
- other bits one can find in testing tools
There are places where fixtures are mentioned without any prior explanation and without any link to more information, like in dumpdata
command docs
There are places where fixtures should be mentioned by name but are not, like seriaIization Topic
Looks like creation of the separate Topic under Models and databases could be the solution.
Here is the draft PR for the discussion. That should also wait for the previous simler PR to be resolved and than modified accordingly.
Change History (1)
comment:1 by , 2 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Patch needs improvement: | set |