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

Implement new model command #3

Open
1 of 6 tasks
pythrick opened this issue May 12, 2020 · 0 comments
Open
1 of 6 tasks

Implement new model command #3

pythrick opened this issue May 12, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@pythrick
Copy link
Owner

pythrick commented May 12, 2020

Command drf new model should:

  • Ask for model name, its properties and in which app it should be added
  • Create model + test file
  • Create serializer for model + test file
  • Create viewset for model + test file
  • Create model route
  • Make and run migrations
@pythrick pythrick self-assigned this May 12, 2020
@pythrick pythrick added the enhancement New feature or request label May 12, 2020
@pythrick pythrick added this to the CLI milestone May 12, 2020
@pythrick pythrick changed the title Create model command Implement new model command May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant