Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error Messages for ws_makemigration and ws_migrate commands #170

Open
shahharsh176 opened this issue Mar 28, 2024 · 1 comment
Open
Labels
feature New feature request good first issue Good for newcomers

Comments

@shahharsh176
Copy link
Contributor

Description

Improve error Messages for various scenarios in ws_makemigration and ws_migrate commands

Background

Both ws_makemigration and ws_migrate commands require arguments. When invalid values are passed as arguments, clear and informative error messages should be raised to guide users in resolving issues.

Please find the list of scenarios and error messages in the Feature Details sections

Feature Details

Failure Scenarios

1. Invalid app_name

If an invalid app_name is supplied in the ws_makemigration or ws_migrate command, the following error message should be displayed:

The app name '{app_name provided by user}' provided as an argument is invalid. 
Please ensure that you have entered the correct app name and try again.
@shahharsh176 shahharsh176 added feature New feature request good first issue Good for newcomers labels Mar 28, 2024
@AjaySDwivedi1
Copy link
Contributor

Can I work on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants