createdb no longer necessary

master
Steven Loria 11 years ago
parent 43a4083eff
commit 24fffbb7b3
  1. 5
      {{cookiecutter.app_name}}/manage.py

@ -31,11 +31,6 @@ def test():
status = subprocess.call(TEST_CMD, shell=True) status = subprocess.call(TEST_CMD, shell=True)
sys.exit(status) sys.exit(status)
@manager.command
def createdb():
'''Create a database from the tables defined in models.py.'''
db.create_all()
manager.add_command("server", Server()) manager.add_command("server", Server())
manager.add_command("shell", Shell(make_context=_make_context)) manager.add_command("shell", Shell(make_context=_make_context))
manager.add_command('db', MigrateCommand) manager.add_command('db', MigrateCommand)

Loading…
Cancel
Save