#26353 closed New feature (invalid)
Add --quiet argument to loaddata
| Reported by: | Adam | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | 1.9 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In my project I run loaddata to load a default list of store drinks when a store is created. This is great, but during testing I have tons of lines reading "Installed 8 object(s) from 1 fixture(s)" which makes it hard to see E/F/. in the tests, and it's ugly.
I'd like to hide those messages, but it doesn't look possible after reading source and docs.
The relevant code is here here where if I pass in a -q or --quiet option it would skip that block. Is this something that would be considered with a PR?
Change History (3)
comment:1 by , 10 years ago
| Summary: | Add --quiet arguement to loaddata → Add --quiet argument to loaddata |
|---|
follow-up: 3 comment:2 by , 10 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:3 by , 10 years ago
Note:
See TracTickets
for help on using tickets.
Hi awwester, it looks like this is already possible by setting the
--verbosityflag to0for no output.