Rename forms/models.py to forms/model_forms.py #7127

Closed
opened 2025-12-29 20:19:31 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Oct 19, 2022).

Originally assigned to: @arthanson on GitHub.

Proposed Changes

Within each NetBox app, rename forms/models/py to forms/model_forms.py and just import statements accordingly.

Justification

This will help better differentiate between an app's root models.py module and its model forms module. (This was originally suggested by @arthanson.)

Originally created by @jeremystretch on GitHub (Oct 19, 2022). Originally assigned to: @arthanson on GitHub. ### Proposed Changes Within each NetBox app, rename `forms/models/py` to `forms/model_forms.py` and just import statements accordingly. ### Justification This will help better differentiate between an app's root `models.py` module and its model forms module. (This was originally suggested by @arthanson.)
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:19:31 +01:00
adam closed this issue 2025-12-29 20:19:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7127