From 7e60354c146c9d46754b2cb7559638d2b6f4c61e Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Sat, 6 Jan 2018 02:50:45 +0100 Subject: [PATCH] =?UTF-8?q?Rename=20manage.ConfigTemplate=20=E2=86=92=20ma?= =?UTF-8?q?nage.GenerateConfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To be consistent with the CLI name: `generate-config`. --- ihatemoney/manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ihatemoney/manage.py b/ihatemoney/manage.py index 797e6c4b..cee4c6ac 100755 --- a/ihatemoney/manage.py +++ b/ihatemoney/manage.py @@ -24,7 +24,7 @@ class GeneratePasswordHash(Command): print(generate_password_hash(password)) -class ConfigTemplate(Command): +class GenerateConfig(Command): def get_options(self): return [ Option('config_file', choices=[ @@ -74,7 +74,7 @@ def main(): manager = Manager(app) manager.add_command('db', MigrateCommand) manager.add_command('generate_password_hash', GeneratePasswordHash) - manager.add_command('generate-config', ConfigTemplate) + manager.add_command('generate-config', GenerateConfig) manager.run()