Closes #10695: Rename forms/models.py to forms/model_forms.py

This commit is contained in:
jeremystretch
2022-10-25 16:26:05 -04:00
parent 2adc148744
commit c407710488
17 changed files with 11 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
from .models import *
from .model_forms import *
from .filtersets import *
from .object_create import *
from .bulk_create import *

View File

@@ -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

View File

@@ -1,5 +1,5 @@
from utilities.forms import ExpandableNameField
from .models import VMInterfaceForm
from .model_forms import VMInterfaceForm
__all__ = (
'VMInterfaceCreateForm',