-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
app: custom objectsneeds milestoneAwaiting prioritization for inclusion with a future releaseAwaiting prioritization for inclusion with a future releaseseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedstatus: needs ownertype: bug
Description
Plugin Version
0.3.1
NetBox Version
4.4.1
Python Version
3.12
Steps to Reproduce
- Create a custom object type
- Internal name = "test"
- URL path/slug = "test"
- Add Field
- Name = "device"
- Type = Object
- Must be unique = True
- Related object type = DCIM > Device
- Start the NetBox service using
manage.py runserver
Expected Behavior
Service should start up cleanly with no errors or warnings.
Observed Behavior
The following appears on the console at startup:
Watching for file changes with StatReloader
Performing system checks...
System check identified some issues:
WARNINGS:
netbox_custom_objects.Table1Model.device: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
netbox_custom_objects.Table1Model.device: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Metadata
Metadata
Assignees
Labels
app: custom objectsneeds milestoneAwaiting prioritization for inclusion with a future releaseAwaiting prioritization for inclusion with a future releaseseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedstatus: needs ownertype: bug