Opened 13 years ago
Closed 13 years ago
#18730 closed Bug (invalid)
manage.py sqlclear app_name doesn't actually drop tables
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.4 |
| 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
I'm running Django 1.4.1, Python 2.7.3, and SQLite 3. When I issue the command
python manage.py sqlclear app_name
I can still see the table when I run
python manage.py dbshell
.dump app_name_app_name
Note:
See TracTickets
for help on using tickets.
The
sqlclearommand doeasn't touch your database. It just prints to stdout the SQL code that would be needed for such a task.