From 1d788020963259d46e984e241fca1f8456fe8041 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 11 Apr 2009 11:12:32 +0200 Subject: [PATCH] Fixed a stupid bug in the create_error_template command. committer: Jannis Leidel --HG-- extra : convert_revision : 49a0d0c50120e909e222dac77eae7a9e2256178b --- dbtemplates/management/commands/create_error_templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbtemplates/management/commands/create_error_templates.py b/dbtemplates/management/commands/create_error_templates.py index 3d11e79..63a3e16 100644 --- a/dbtemplates/management/commands/create_error_templates.py +++ b/dbtemplates/management/commands/create_error_templates.py @@ -28,7 +28,7 @@ class Command(NoArgsCommand): help = "Creates the 404.html and 500.html error templates as database template objects." option_list = NoArgsCommand.option_list + ( make_option("-f", "--force", action="store_true", dest="force", - default=False, help="overwrite existing database templates") + default=False, help="overwrite existing database templates"), ) def handle_noargs(self, **options): force = options.get('force')