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 created/updated times to DeviceType model #2131

Closed
jeremystretch opened this issue May 30, 2018 · 0 comments
Closed

Add created/updated times to DeviceType model #2131

jeremystretch opened this issue May 30, 2018 · 0 comments
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

Issue type

[x] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.2
  • NetBox version: 2.3.3

Description

Unlike all other primary data models in NetBox, the DeviceType model does not record the time at which it is created and/or updated. It should inherit from the abstract model utils.CreatedUpdatedModel to include these fields.

Because these fields cannot be null, they will be populated with the current date and time at the moment the migration is applied. (These can later be adjusted manually for each object via the NetBox command line if the user chooses to do so.)

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application API change labels May 30, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant