Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Do not test if development.db exists

  • Loading branch information...
commit 87cc2d9585d3187abdf16be26f883420091f5e82 1 parent e71a50c
Jakub Šťastný aka Botanicus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  hooks/webs/apps/django/hooks/update
View
2  hooks/webs/apps/django/hooks/update
@@ -34,7 +34,7 @@ Dir.chdir("web")
if File.exist?("production.db")
puts "Note: maybe db will need to be deleted and recreated, if you have changed some model's structure.".red.bold
-elsif File.exist?("development.db")
+else
puts "Running syncdb ...".blue.bold
system("rm development.db")
system("#{python} manage.py syncdb --noinput")
Please sign in to comment.
Something went wrong with that request. Please try again.