Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit ef32ca7

Browse files
authored
Merge pull request #31 from cstrap/develop
Better error message
2 parents ef3a0cd + c6f5f52 commit ef32ca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python_vuejs/django.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ def djstartvueapp(ctx, project):
100100
ctx.forward(djangofy)
101101
ctx.invoke(djangofy, project=project)
102102
else:
103-
click.echo(click.style('Invalid django project directory', fg='red'))
103+
click.echo(click.style('Invalid django project directory. `manage.py` not found.', fg='red'))

tests/test_django_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ def test_djstartvueapp_django_ok(self):
135135

136136
def test_djstartvueapp_django_ko(self):
137137
result = self.runner.invoke(cli.cli, ['djstartvueapp', 'myapp'])
138-
self.assertEqual('Creating myapp\nInvalid django project directory\n', result.output)
138+
self.assertEqual('Creating myapp\nInvalid django project directory. `manage.py` not found.\n', result.output)

0 commit comments

Comments
 (0)