-
Notifications
You must be signed in to change notification settings - Fork 57
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
Added generate_app_test_data management command. #809
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to call out that this name should be more specific to the particular app. If another app were to implement the same command for their own testing, they would conflict with each other. While Django handles this, this could cause a different generate_app_test_data run than what we may want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like for this to be called by core's generate_test_data
so hopefully this would move into a separate module and be referenced by NautobotAppConfig
. I don't plan on rolling out this management command to every app.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to nautobot-server generate_gc_test_data
This is a basic management command that generates some models so that basic development can be done on this app without using a database backup or real device access. This should be run directly after nautobot core's
generate_test_data
management command.Screenshots
TODO