Set a default template for ObjectChildrenView #9641

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

Originally created by @jeremystretch on GitHub (May 9, 2024).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Set the default value for template_name on ObjectChildrenView to generic/object_children.html.

Justification

Many subclasses of this view use the generic template directly. Defining it as the default for the view obviates the need to define it explicitly on each subclass.

Originally created by @jeremystretch on GitHub (May 9, 2024). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Set the default value for `template_name` on ObjectChildrenView to `generic/object_children.html`. ### Justification Many subclasses of this view use the generic template directly. Defining it as the default for the view obviates the need to define it explicitly on each subclass.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 21:20:11 +01:00
adam closed this issue 2025-12-29 21:20:11 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9641