mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
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:
parent
c7335e4a5e
commit
1d78802096
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue