在Django 1.7中删除应用程序(和关联的数据库表) [英] Remove app (and associated database tables) in Django 1.7

查看:113
本文介绍了在Django 1.7中删除应用程序(和关联的数据库表)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Django 1.7迁移完全删除/卸载应用程序及其所有跟踪(主要是其所有数据库表)?

Is it possible to use Django 1.7 migrations to completely remove/uninstall an app and all its traces (mainly, all its database tables)?

如果没有,什么是在Django 1.7中执行此操作的适当方法?

If not, what is the appropriate way of doing this in Django 1.7?

推荐答案

python manage.py migrate <app> zero

这篇关于在Django 1.7中删除应用程序(和关联的数据库表)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆