From: Raphaël Barrois Date: Sat, 2 Feb 2013 10:37:18 +0000 (+0100) Subject: Add resetdb command. X-Git-Url: http://git.polytechnique.org/?p=xnet;a=commitdiff_plain;h=d48fdabf6a52e170282dc9fff2f97d8db003abc0 Add resetdb command. Signed-off-by: Raphaël Barrois --- diff --git a/Makefile b/Makefile index 1230e3e..c0a4e20 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,7 @@ run: test: $(MANAGE_PY) test example + +resetdb: + rm -f xnet/db.sqlite + $(MANAGE_PY) syncdb --noinput