mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #6588: Add support for webp files as front/rear device type images
This commit is contained in:
@@ -2,6 +2,9 @@ from django.db.models import Q
|
||||
|
||||
from .choices import InterfaceTypeChoices
|
||||
|
||||
# Exclude SVG images (unsupported by PIL)
|
||||
DEVICETYPE_IMAGE_FORMATS = 'image/bmp,image/gif,image/jpeg,image/png,image/tiff,image/webp'
|
||||
|
||||
|
||||
#
|
||||
# Racks
|
||||
|
||||
Reference in New Issue
Block a user