#23136: sqlclear does not notify operator that there is nothing to clear
--------------------------------------------+--------------------
Reporter: jackiekazil | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Management commands) | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------------+--------------------
I tried passing sqlclear to dbshell and came up with this error, which was
non-descript.
{{{
$ django-admin.py sqlclear foia_core | django-admin.py dbshell
ERROR: syntax error at or near "/"
LINE 1: /Users/jacquelinekazil/Projects/code/foia/foia-core/foia_cor...
}}}
Then I tried running each command separately. When I ran sqlclear, nothing
appeared to happened.
{{{
$ django-admin.py sqlclear foia_core
$
}}}
This is confusing to user if they are expecting something to happen. There
should be output to tell the user what happened.
Example: Foo app has no tables in the database.
--
Ticket URL: <https://code.djangoproject.com/ticket/23136>
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/054.3327874847b37df8eacad2ad40b49096%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.