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

Add --policy parameter to cli #10

Open
bdragon300 opened this issue Nov 13, 2020 · 0 comments
Open

Add --policy parameter to cli #10

bdragon300 opened this issue Nov 13, 2020 · 0 comments
Labels
good first issue Good for newcomers

Comments

@bdragon300
Copy link
Owner

Every migration could obey two policies:

  • "strict" (default) -- when existing field data types are checked during type convertion
  • "relaxed" -- when convertion is performed over converted data types only. Data of other existing types are ignored.

The task is to add cli parameter to makemigrations command with these values enum and pass a policy name to a migration template.

@bdragon300 bdragon300 added enhancement New feature or request good first issue Good for newcomers and removed enhancement New feature or request labels Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant