mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-20 12:22:23 -06:00
Closes #10695: Rename forms/models.py to forms/model_forms.py
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from .models import *
|
||||
from .model_forms import *
|
||||
from .filtersets import *
|
||||
from .object_create import *
|
||||
from .bulk_create import *
|
||||
|
||||
@@ -3,7 +3,7 @@ from django.contrib.contenttypes.models import ContentType
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from dcim.forms.common import InterfaceCommonForm
|
||||
from dcim.forms.models import INTERFACE_MODE_HELP_TEXT
|
||||
from dcim.forms.model_forms import INTERFACE_MODE_HELP_TEXT
|
||||
from dcim.models import Device, DeviceRole, Platform, Rack, Region, Site, SiteGroup
|
||||
from ipam.models import IPAddress, VLAN, VLANGroup, VRF
|
||||
from netbox.forms import NetBoxModelForm
|
||||
@@ -1,5 +1,5 @@
|
||||
from utilities.forms import ExpandableNameField
|
||||
from .models import VMInterfaceForm
|
||||
from .model_forms import VMInterfaceForm
|
||||
|
||||
__all__ = (
|
||||
'VMInterfaceCreateForm',
|
||||
|
||||
Reference in New Issue
Block a user