#26353: Add --quiet arguement to loaddata
--------------------------------------------+--------------------
     Reporter:  awwester                    |      Owner:  nobody
         Type:  New feature                 |     Status:  new
    Component:  Core (Management commands)  |    Version:  1.9
     Severity:  Normal                      |   Keywords:
 Triage Stage:  Unreviewed                  |  Has patch:  0
Easy pickings:  0                           |      UI/UX:  0
--------------------------------------------+--------------------
 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 [https://docs.djangoproject.com/en/1.9/ref/django-
 admin/#loaddata docs].

 The relevant code is here
 
[https://github.com/django/django/blob/master/django/core/management/commands/loaddata.py#L121
 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?

--
Ticket URL: <https://code.djangoproject.com/ticket/26353>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.6be6023ce87b4930aea761aad90c0581%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to