Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
/python-vuejsPublic archive

Commitef32ca7

Browse files
authored
Merge pull request#31 from cstrap/develop
Better error message
2 parentsef3a0cd +c6f5f52 commitef32ca7

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
deftest_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)

[8]ページ先頭

©2009-2025 Movatter.jp