From e3779e051462ed2aa155ceac755625706ad28c25 Mon Sep 17 00:00:00 2001 From: Anton Novosyolov Date: Fri, 15 May 2015 16:56:03 +0300 Subject: [PATCH] Incorrect args parameter for custommenu command Breaks PyCharm 4.5's manage.py console --- admin_tools/menu/management/commands/custommenu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_tools/menu/management/commands/custommenu.py b/admin_tools/menu/management/commands/custommenu.py index e195464..aca4e4a 100644 --- a/admin_tools/menu/management/commands/custommenu.py +++ b/admin_tools/menu/management/commands/custommenu.py @@ -8,7 +8,7 @@ class Command(BaseCommand): help = ('Creates a template file containing the base code to get you ' 'started with your custom menu') - args = ['file'] + args = '[file]' def handle(self, file=None, **options): project_name = os.path.basename(os.getcwd())