Example ADMINS should show a tuple #5163

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

Originally created by @candlerb on GitHub (Aug 9, 2021).

Originally assigned to: @candlerb on GitHub.

Change Type

Correction

Area

Configuration parameters

Proposed Changes

configuration.example.py says "Specify one or more name and email address tuples representing NetBox administrators"

However the example given shows a list, not a tuple:

    # ['John Doe', 'jdoe@example.com'],

This does work, but a tuple would be correct according to the Django documentation

Originally created by @candlerb on GitHub (Aug 9, 2021). Originally assigned to: @candlerb on GitHub. ### Change Type Correction ### Area Configuration parameters ### Proposed Changes [configuration.example.py](https://github.com/netbox-community/netbox/blob/v2.11.10/netbox/netbox/configuration.example.py#L69-L73) says "Specify one or more name and email address tuples representing NetBox administrators" However the example given shows a list, not a tuple: ``` # ['John Doe', 'jdoe@example.com'], ``` This does work, but a tuple would be correct according to the [Django documentation](https://docs.djangoproject.com/en/3.2/ref/settings/#admins)
adam added the status: acceptedtype: documentation labels 2025-12-29 19:24:56 +01:00
adam closed this issue 2025-12-29 19:24:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5163