#26132 closed Cleanup/optimization (fixed)
Discourage use of TransactionTestCase.fixtures in favor of using the ORM
| Reported by: | Tim Graham | Owned by: | Tim Graham |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | 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
I think it's considered a best practice to use the ORM to create test data rather than using fixtures. Django's tests were converted in 39a7eed1bbf12020a077e4bec3d82e08f171a021.
Change History (5)
comment:1 by , 10 years ago
| Has patch: | set |
|---|
comment:2 by , 10 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
PR