Fixed a stupid bug in the create_error_template command.

committer: Jannis Leidel <jannis@leidel.info>

--HG--
extra : convert_revision : 49a0d0c50120e909e222dac77eae7a9e2256178b
This commit is contained in:
Jannis Leidel 2009-04-11 11:12:32 +02:00
parent c7335e4a5e
commit 1d78802096

View file

@ -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')