nautobot 2.4.0__py3-none-any.whl → 2.4.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/apps/__init__.py +1 -1
- nautobot/apps/api.py +8 -8
- nautobot/apps/change_logging.py +2 -2
- nautobot/apps/choices.py +4 -4
- nautobot/apps/events.py +3 -3
- nautobot/apps/factory.py +2 -2
- nautobot/apps/filters.py +1 -1
- nautobot/apps/forms.py +20 -20
- nautobot/apps/graphql.py +2 -2
- nautobot/apps/jobs.py +8 -8
- nautobot/apps/models.py +19 -19
- nautobot/apps/tables.py +1 -1
- nautobot/apps/testing.py +10 -10
- nautobot/apps/ui.py +2 -2
- nautobot/apps/utils.py +7 -7
- nautobot/apps/views.py +7 -7
- nautobot/circuits/api/serializers.py +0 -1
- nautobot/circuits/api/views.py +8 -4
- nautobot/circuits/tables.py +1 -2
- nautobot/circuits/templates/circuits/circuit_create.html +7 -1
- nautobot/circuits/views.py +3 -3
- nautobot/cloud/api/views.py +10 -6
- nautobot/cloud/models.py +1 -1
- nautobot/cloud/views.py +16 -0
- nautobot/core/api/fields.py +5 -5
- nautobot/core/api/filter_backends.py +9 -3
- nautobot/core/api/schema.py +2 -13
- nautobot/core/api/serializers.py +34 -40
- nautobot/core/api/views.py +4 -56
- nautobot/core/celery/log.py +4 -4
- nautobot/core/celery/schedulers.py +1 -1
- nautobot/core/choices.py +2 -2
- nautobot/core/events/__init__.py +3 -3
- nautobot/core/filters.py +16 -21
- nautobot/core/fixtures/user-data.json +59 -0
- nautobot/core/forms/__init__.py +19 -19
- nautobot/core/forms/fields.py +11 -14
- nautobot/core/forms/forms.py +2 -33
- nautobot/core/graphql/types.py +1 -1
- nautobot/core/jobs/__init__.py +7 -28
- nautobot/core/jobs/cleanup.py +12 -48
- nautobot/core/jobs/groups.py +1 -1
- nautobot/core/management/commands/validate_models.py +1 -1
- nautobot/core/models/__init__.py +1 -1
- nautobot/core/models/query_functions.py +2 -2
- nautobot/core/models/tree_queries.py +3 -6
- nautobot/core/settings.py +2 -29
- nautobot/core/settings.yaml +0 -21
- nautobot/core/tables.py +60 -74
- nautobot/core/templates/inc/media.html +0 -3
- nautobot/core/templates/inc/nav_menu.html +0 -1
- nautobot/core/templates/nautobot_config.py.j2 +0 -13
- nautobot/core/templates/search.html +0 -7
- nautobot/core/templates/utilities/render_jinja2.html +1 -1
- nautobot/core/templates/utilities/templatetags/tag.html +1 -1
- nautobot/core/templates/utilities/theme_preview.html +0 -7
- nautobot/core/templatetags/helpers.py +2 -11
- nautobot/core/testing/__init__.py +8 -8
- nautobot/core/testing/api.py +15 -170
- nautobot/core/testing/filters.py +2 -25
- nautobot/core/testing/forms.py +0 -2
- nautobot/core/testing/mixins.py +2 -7
- nautobot/core/testing/views.py +29 -44
- nautobot/core/tests/integration/test_app_home.py +1 -0
- nautobot/core/tests/integration/test_app_navbar.py +1 -0
- nautobot/core/tests/integration/test_filters.py +2 -0
- nautobot/core/tests/integration/test_home.py +1 -0
- nautobot/core/tests/integration/test_navbar.py +1 -0
- nautobot/core/tests/integration/test_view_authentication.py +0 -1
- nautobot/core/tests/runner.py +1 -1
- nautobot/core/tests/test_api.py +1 -98
- nautobot/core/tests/test_csv.py +3 -25
- nautobot/core/tests/test_forms.py +0 -1
- nautobot/core/tests/test_jobs.py +1 -303
- nautobot/core/tests/test_settings_schema.py +0 -7
- nautobot/core/tests/test_tables.py +0 -100
- nautobot/core/tests/test_utils.py +1 -63
- nautobot/core/tests/test_views.py +3 -30
- nautobot/core/ui/nav.py +0 -1
- nautobot/core/ui/object_detail.py +1 -15
- nautobot/core/urls.py +0 -11
- nautobot/core/utils/lookup.py +8 -11
- nautobot/core/utils/requests.py +9 -24
- nautobot/core/views/__init__.py +0 -42
- nautobot/core/views/generic.py +176 -78
- nautobot/core/views/mixins.py +34 -94
- nautobot/core/views/renderers.py +6 -6
- nautobot/dcim/api/serializers.py +62 -54
- nautobot/dcim/api/views.py +113 -47
- nautobot/dcim/filters/__init__.py +2 -31
- nautobot/dcim/forms.py +17 -36
- nautobot/dcim/graphql/types.py +2 -2
- nautobot/dcim/models/__init__.py +1 -1
- nautobot/dcim/models/device_component_templates.py +2 -2
- nautobot/dcim/models/device_components.py +20 -22
- nautobot/dcim/models/devices.py +1 -10
- nautobot/dcim/models/locations.py +3 -3
- nautobot/dcim/models/power.py +5 -6
- nautobot/dcim/models/racks.py +4 -4
- nautobot/dcim/tables/__init__.py +3 -3
- nautobot/dcim/tables/devices.py +5 -7
- nautobot/dcim/tables/devicetypes.py +2 -2
- nautobot/dcim/tables/racks.py +1 -1
- nautobot/dcim/templates/dcim/controller_create.html +7 -1
- nautobot/dcim/templates/dcim/controller_retrieve.html +9 -1
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_create.html +0 -2
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_retrieve.html +0 -5
- nautobot/dcim/templates/dcim/device.html +9 -1
- nautobot/dcim/templates/dcim/device_edit.html +37 -36
- nautobot/dcim/templates/dcim/location.html +9 -1
- nautobot/dcim/templates/dcim/location_edit.html +7 -1
- nautobot/dcim/templates/dcim/rack.html +9 -1
- nautobot/dcim/templates/dcim/rack_edit.html +7 -1
- nautobot/dcim/templates/dcim/rackreservation.html +9 -1
- nautobot/dcim/templates/dcim/virtualdevicecontext_retrieve.html +9 -1
- nautobot/dcim/templates/dcim/virtualdevicecontext_update.html +7 -1
- nautobot/dcim/tests/test_api.py +3 -16
- nautobot/dcim/tests/test_filters.py +0 -33
- nautobot/dcim/tests/test_forms.py +2 -51
- nautobot/dcim/tests/test_graphql.py +0 -52
- nautobot/dcim/tests/test_models.py +5 -34
- nautobot/dcim/tests/test_views.py +83 -21
- nautobot/dcim/views.py +13 -1
- nautobot/extras/api/customfields.py +2 -2
- nautobot/extras/api/serializers.py +85 -90
- nautobot/extras/api/views.py +27 -22
- nautobot/extras/constants.py +0 -2
- nautobot/extras/filters/__init__.py +6 -8
- nautobot/extras/forms/base.py +2 -2
- nautobot/extras/forms/forms.py +31 -139
- nautobot/extras/forms/mixins.py +5 -13
- nautobot/extras/group_sync.py +3 -3
- nautobot/extras/health_checks.py +2 -1
- nautobot/extras/jobs.py +12 -70
- nautobot/extras/managers.py +1 -3
- nautobot/extras/migrations/0018_joblog_data_migration.py +9 -7
- nautobot/extras/models/__init__.py +1 -1
- nautobot/extras/models/contacts.py +1 -1
- nautobot/extras/models/customfields.py +11 -12
- nautobot/extras/models/groups.py +9 -11
- nautobot/extras/models/jobs.py +4 -23
- nautobot/extras/models/models.py +2 -2
- nautobot/extras/plugins/__init__.py +2 -13
- nautobot/extras/plugins/marketplace_manifest.yml +79 -84
- nautobot/extras/plugins/tables.py +14 -16
- nautobot/extras/plugins/views.py +69 -65
- nautobot/extras/registry.py +1 -1
- nautobot/extras/secrets/__init__.py +2 -2
- nautobot/extras/tables.py +5 -7
- nautobot/extras/templates/extras/dynamicgroup.html +9 -1
- nautobot/extras/templates/extras/job_detail.html +0 -16
- nautobot/extras/templates/extras/job_edit.html +0 -1
- nautobot/extras/templates/extras/jobqueue_retrieve.html +9 -1
- nautobot/extras/templates/extras/marketplace.html +11 -29
- nautobot/extras/templates/extras/plugin_detail.html +15 -32
- nautobot/extras/templates/extras/plugins_tiles.html +10 -21
- nautobot/extras/test_jobs/api_test_job.py +1 -1
- nautobot/extras/test_jobs/atomic_transaction.py +2 -2
- nautobot/extras/test_jobs/dry_run.py +1 -1
- nautobot/extras/test_jobs/fail.py +5 -5
- nautobot/extras/test_jobs/file_output.py +1 -1
- nautobot/extras/test_jobs/file_upload_fail.py +1 -1
- nautobot/extras/test_jobs/file_upload_pass.py +1 -1
- nautobot/extras/test_jobs/ipaddress_vars.py +1 -3
- nautobot/extras/test_jobs/jobs_module/jobs_submodule/jobs.py +1 -1
- nautobot/extras/test_jobs/location_with_custom_field.py +1 -1
- nautobot/extras/test_jobs/log_redaction.py +1 -1
- nautobot/extras/test_jobs/log_skip_db_logging.py +1 -1
- nautobot/extras/test_jobs/modify_db.py +1 -1
- nautobot/extras/test_jobs/object_var_optional.py +1 -1
- nautobot/extras/test_jobs/object_var_required.py +1 -1
- nautobot/extras/test_jobs/object_vars.py +1 -1
- nautobot/extras/test_jobs/pass.py +3 -3
- nautobot/extras/test_jobs/profiling.py +1 -1
- nautobot/extras/test_jobs/relative_import.py +3 -3
- nautobot/extras/test_jobs/soft_time_limit_greater_than_time_limit.py +1 -1
- nautobot/extras/test_jobs/task_queues.py +1 -1
- nautobot/extras/tests/integration/test_plugin_banner.py +2 -0
- nautobot/extras/tests/test_api.py +13 -13
- nautobot/extras/tests/test_customfields.py +1 -1
- nautobot/extras/tests/test_datasources.py +1 -2
- nautobot/extras/tests/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/test_filters.py +6 -6
- nautobot/extras/tests/test_forms.py +1 -20
- nautobot/extras/tests/test_jobs.py +19 -160
- nautobot/extras/tests/test_models.py +10 -10
- nautobot/extras/tests/test_plugins.py +9 -62
- nautobot/extras/tests/test_relationships.py +9 -120
- nautobot/extras/tests/test_views.py +191 -52
- nautobot/extras/utils.py +2 -3
- nautobot/extras/views.py +98 -30
- nautobot/ipam/api/fields.py +3 -3
- nautobot/ipam/api/serializers.py +33 -41
- nautobot/ipam/api/views.py +117 -68
- nautobot/ipam/factory.py +1 -1
- nautobot/ipam/filters.py +2 -3
- nautobot/ipam/lookups.py +62 -101
- nautobot/ipam/models.py +16 -66
- nautobot/ipam/querysets.py +2 -2
- nautobot/ipam/tables.py +7 -23
- nautobot/ipam/templates/ipam/ipaddress.html +9 -1
- nautobot/ipam/templates/ipam/ipaddress_bulk_add.html +7 -1
- nautobot/ipam/templates/ipam/ipaddress_edit.html +7 -1
- nautobot/ipam/templates/ipam/prefix.html +9 -1
- nautobot/ipam/templates/ipam/prefix_edit.html +7 -1
- nautobot/ipam/templates/ipam/vlan.html +9 -1
- nautobot/ipam/templates/ipam/vlan_edit.html +7 -1
- nautobot/ipam/templates/ipam/vrf_edit.html +7 -1
- nautobot/ipam/tests/test_api.py +3 -416
- nautobot/ipam/tests/test_forms.py +47 -49
- nautobot/ipam/tests/test_migrations.py +30 -30
- nautobot/ipam/tests/test_models.py +34 -95
- nautobot/ipam/tests/test_querysets.py +1 -63
- nautobot/ipam/tests/test_views.py +0 -3
- nautobot/ipam/utils/__init__.py +6 -36
- nautobot/ipam/views.py +87 -61
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css +2 -40
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css.map +1 -1
- nautobot/project-static/docs/404.html +4 -46
- nautobot/project-static/docs/apps/index.html +4 -46
- nautobot/project-static/docs/apps/nautobot-apps.html +6 -47
- nautobot/project-static/docs/assets/_mkdocstrings.css +1 -25
- nautobot/project-static/docs/assets/javascripts/{bundle.88dd0f4e.min.js → bundle.83f73b43.min.js} +2 -2
- nautobot/project-static/docs/assets/javascripts/{bundle.88dd0f4e.min.js.map → bundle.83f73b43.min.js.map} +2 -2
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +10 -62
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +7 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +122 -374
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +18 -90
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +21 -95
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +6 -53
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +5 -52
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +17 -79
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +28 -102
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +21 -108
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +38 -131
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +65 -239
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +165 -581
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +36 -109
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +167 -453
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +211 -493
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +8 -60
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +15 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +55 -407
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +205 -585
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +412 -858
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +7 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +186 -448
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +147 -365
- nautobot/project-static/docs/development/apps/api/configuration-view.html +4 -46
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/global-search.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/graphql.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +7 -68
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +4 -46
- nautobot/project-static/docs/development/apps/api/prometheus.html +4 -46
- nautobot/project-static/docs/development/apps/api/setup.html +4 -46
- nautobot/project-static/docs/development/apps/api/testing.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/base-template.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/notes.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +6 -52
- nautobot/project-static/docs/development/apps/api/views/urls.html +4 -46
- nautobot/project-static/docs/development/apps/index.html +4 -46
- nautobot/project-static/docs/development/apps/migration/code-updates.html +4 -46
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +4 -46
- nautobot/project-static/docs/development/apps/migration/from-v1.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +4 -46
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +8 -50
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +4 -46
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +14 -211
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +4 -46
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +4 -46
- nautobot/project-static/docs/development/core/application-registry.html +4 -46
- nautobot/project-static/docs/development/core/best-practices.html +4 -46
- nautobot/project-static/docs/development/core/bootstrap-ui.html +4 -46
- nautobot/project-static/docs/development/core/caching.html +4 -46
- nautobot/project-static/docs/development/core/controllers.html +4 -46
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +74 -73
- nautobot/project-static/docs/development/core/generic-views.html +4 -46
- nautobot/project-static/docs/development/core/getting-started.html +224 -249
- nautobot/project-static/docs/development/core/homepage.html +7 -49
- nautobot/project-static/docs/development/core/index.html +4 -46
- nautobot/project-static/docs/development/core/{minikube-dev-environment-for-k8s-jobs.html → local-k8s.html} +168 -469
- nautobot/project-static/docs/development/core/model-checklist.html +12 -56
- nautobot/project-static/docs/development/core/model-features.html +4 -46
- nautobot/project-static/docs/development/core/natural-keys.html +4 -46
- nautobot/project-static/docs/development/core/navigation-menu.html +4 -46
- nautobot/project-static/docs/development/core/release-checklist.html +7 -49
- nautobot/project-static/docs/development/core/role-internals.html +4 -46
- nautobot/project-static/docs/development/core/settings.html +4 -46
- nautobot/project-static/docs/development/core/style-guide.html +7 -49
- nautobot/project-static/docs/development/core/templates.html +4 -46
- nautobot/project-static/docs/development/core/testing.html +4 -46
- nautobot/project-static/docs/development/core/ui-component-framework.html +273 -369
- nautobot/project-static/docs/development/core/user-preferences.html +4 -46
- nautobot/project-static/docs/development/index.html +4 -46
- nautobot/project-static/docs/development/jobs/index.html +122 -216
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +4 -46
- nautobot/project-static/docs/index.html +23 -54
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +7 -47
- nautobot/project-static/docs/overview/design_philosophy.html +4 -46
- nautobot/project-static/docs/release-notes/index.html +12 -52
- nautobot/project-static/docs/release-notes/version-1.0.html +193 -234
- nautobot/project-static/docs/release-notes/version-1.1.html +190 -231
- nautobot/project-static/docs/release-notes/version-1.2.html +265 -306
- nautobot/project-static/docs/release-notes/version-1.3.html +291 -332
- nautobot/project-static/docs/release-notes/version-1.4.html +377 -417
- nautobot/project-static/docs/release-notes/version-1.5.html +566 -605
- nautobot/project-static/docs/release-notes/version-1.6.html +447 -904
- nautobot/project-static/docs/release-notes/version-2.0.html +489 -528
- nautobot/project-static/docs/release-notes/version-2.1.html +324 -363
- nautobot/project-static/docs/release-notes/version-2.2.html +317 -356
- nautobot/project-static/docs/release-notes/version-2.3.html +352 -997
- nautobot/project-static/docs/release-notes/version-2.4.html +101 -417
- nautobot/project-static/docs/requirements.txt +2 -2
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +287 -295
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +6 -48
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +8 -110
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +6 -48
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +8 -66
- nautobot/project-static/docs/user-guide/administration/installation/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +5 -47
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/services.html +4 -46
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +4 -46
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +4 -46
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +4 -46
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +8 -49
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +12 -50
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +7 -49
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +7 -51
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +7 -49
- nautobot/project-static/docs/user-guide/index.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +8 -50
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +7 -50
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +7 -49
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +5 -47
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +25 -94
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +5 -74
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +4 -46
- nautobot/project-static/js/forms.js +1 -1
- nautobot/tenancy/api/views.py +13 -9
- nautobot/tenancy/views.py +2 -4
- nautobot/users/admin.py +1 -1
- nautobot/users/api/serializers.py +4 -5
- nautobot/users/api/views.py +3 -3
- nautobot/virtualization/api/serializers.py +4 -4
- nautobot/virtualization/api/views.py +24 -5
- nautobot/virtualization/filters.py +3 -20
- nautobot/virtualization/models.py +1 -1
- nautobot/virtualization/tables.py +2 -2
- nautobot/virtualization/templates/virtualization/cluster_edit.html +7 -1
- nautobot/virtualization/templates/virtualization/virtualmachine.html +9 -1
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +8 -2
- nautobot/virtualization/tests/test_filters.py +0 -17
- nautobot/wireless/filters.py +2 -2
- nautobot/wireless/forms.py +1 -1
- nautobot/wireless/templates/wireless/wirelessnetwork_retrieve.html +9 -1
- nautobot/wireless/tests/test_filters.py +1 -29
- nautobot/wireless/views.py +10 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/METADATA +6 -6
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/RECORD +543 -591
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/WHEEL +1 -1
- nautobot/core/api/constants.py +0 -11
- nautobot/core/jobs/bulk_actions.py +0 -248
- nautobot/core/templates/about.html +0 -67
- nautobot/core/templates/inc/tenancy_form_panel.html +0 -9
- nautobot/core/templates/inc/tenant_table_row.html +0 -11
- nautobot/core/utils/querysets.py +0 -64
- nautobot/dcim/migrations/0067_controllermanageddevicegroup_tenant.py +0 -25
- nautobot/dcim/tests/integration/test_controller.py +0 -62
- nautobot/dcim/tests/integration/test_controller_managed_device_group.py +0 -71
- nautobot/dcim/tests/test_jobs.py +0 -118
- nautobot/extras/migrations/0120_job_is_singleton_job_is_singleton_override.py +0 -22
- nautobot/extras/migrations/0121_alter_team_contacts.py +0 -17
- nautobot/extras/test_jobs/singleton.py +0 -16
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_edit.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_edit_button.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_list_nav.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_list_view.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue_add.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue_config.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_completed.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_nav.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_pending.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_run_form.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_nautobot_login.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_run_job.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_run_scheduled_job_form.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_scheduled_job_result.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/buttons-example.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/cluster-type-before-after-example.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/object-fields-panel-example_2.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/stats-panel-example-code.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/central-mode.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-create-1.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-create-2.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/radio-profile-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/radio-profile-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/supported-data-rate-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/supported-data-rate-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-create-1.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-create-2.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-network-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-network-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +0 -9444
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +0 -9722
- nautobot/wireless/tests/integration/__init__.py +0 -0
- nautobot/wireless/tests/integration/test_radio_profile.py +0 -42
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/NOTICE +0 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.46">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -2112,27 +2112,6 @@
|
|
|
2112
2112
|
|
|
2113
2113
|
|
|
2114
2114
|
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
<li class="md-nav__item">
|
|
2122
|
-
<a href="../../../user-guide/feature-guides/wireless-networks-and-controllers.html" class="md-nav__link">
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
<span class="md-ellipsis">
|
|
2126
|
-
Wireless Networks and Controllers
|
|
2127
|
-
</span>
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
</a>
|
|
2131
|
-
</li>
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
2115
|
</ul>
|
|
2137
2116
|
</nav>
|
|
2138
2117
|
|
|
@@ -5152,27 +5131,6 @@
|
|
|
5152
5131
|
|
|
5153
5132
|
|
|
5154
5133
|
|
|
5155
|
-
<li class="md-nav__item">
|
|
5156
|
-
<a href="../../../user-guide/platform-functionality/jobs/kubernetes-job-support.html" class="md-nav__link">
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
<span class="md-ellipsis">
|
|
5160
|
-
Kubernetes Job Support
|
|
5161
|
-
</span>
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
</a>
|
|
5165
|
-
</li>
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
5134
|
<li class="md-nav__item">
|
|
5177
5135
|
<a href="../../../user-guide/platform-functionality/jobs/jobbutton.html" class="md-nav__link">
|
|
5178
5136
|
|
|
@@ -7253,21 +7211,6 @@
|
|
|
7253
7211
|
</span>
|
|
7254
7212
|
</a>
|
|
7255
7213
|
|
|
7256
|
-
<nav class="md-nav" aria-label="BulkEditForm">
|
|
7257
|
-
<ul class="md-nav__list">
|
|
7258
|
-
|
|
7259
|
-
<li class="md-nav__item">
|
|
7260
|
-
<a href="#nautobot.apps.forms.BulkEditForm.post_save" class="md-nav__link">
|
|
7261
|
-
<span class="md-ellipsis">
|
|
7262
|
-
post_save
|
|
7263
|
-
</span>
|
|
7264
|
-
</a>
|
|
7265
|
-
|
|
7266
|
-
</li>
|
|
7267
|
-
|
|
7268
|
-
</ul>
|
|
7269
|
-
</nav>
|
|
7270
|
-
|
|
7271
7214
|
</li>
|
|
7272
7215
|
|
|
7273
7216
|
<li class="md-nav__item">
|
|
@@ -9034,11 +8977,11 @@
|
|
|
9034
8977
|
|
|
9035
8978
|
|
|
9036
8979
|
<li class="md-nav__item">
|
|
9037
|
-
<a href="../../../development/core/
|
|
8980
|
+
<a href="../../../development/core/local-k8s.html" class="md-nav__link">
|
|
9038
8981
|
|
|
9039
8982
|
|
|
9040
8983
|
<span class="md-ellipsis">
|
|
9041
|
-
|
|
8984
|
+
Local Kubernetes Cluster
|
|
9042
8985
|
</span>
|
|
9043
8986
|
|
|
9044
8987
|
|
|
@@ -10003,21 +9946,6 @@
|
|
|
10003
9946
|
</span>
|
|
10004
9947
|
</a>
|
|
10005
9948
|
|
|
10006
|
-
<nav class="md-nav" aria-label="BulkEditForm">
|
|
10007
|
-
<ul class="md-nav__list">
|
|
10008
|
-
|
|
10009
|
-
<li class="md-nav__item">
|
|
10010
|
-
<a href="#nautobot.apps.forms.BulkEditForm.post_save" class="md-nav__link">
|
|
10011
|
-
<span class="md-ellipsis">
|
|
10012
|
-
post_save
|
|
10013
|
-
</span>
|
|
10014
|
-
</a>
|
|
10015
|
-
|
|
10016
|
-
</li>
|
|
10017
|
-
|
|
10018
|
-
</ul>
|
|
10019
|
-
</nav>
|
|
10020
|
-
|
|
10021
9949
|
</li>
|
|
10022
9950
|
|
|
10023
9951
|
<li class="md-nav__item">
|
|
@@ -10872,12 +10800,7 @@
|
|
|
10872
10800
|
|
|
10873
10801
|
<div class="doc doc-contents first">
|
|
10874
10802
|
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10803
|
+
<p>Forms and fields for apps to use.</p>
|
|
10881
10804
|
|
|
10882
10805
|
|
|
10883
10806
|
|
|
@@ -10903,10 +10826,10 @@
|
|
|
10903
10826
|
|
|
10904
10827
|
<div class="doc doc-contents ">
|
|
10905
10828
|
<p class="doc doc-class-bases">
|
|
10906
|
-
Bases: <code><
|
|
10829
|
+
Bases: <code><autoref identifier="nautobot.core.forms.widgets.SelectWithDisabled" optional hover>SelectWithDisabled</autoref></code></p>
|
|
10907
10830
|
|
|
10908
10831
|
|
|
10909
|
-
|
|
10832
|
+
<p>A select widget populated via an API call</p>
|
|
10910
10833
|
|
|
10911
10834
|
|
|
10912
10835
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -10921,11 +10844,9 @@
|
|
|
10921
10844
|
</thead>
|
|
10922
10845
|
<tbody>
|
|
10923
10846
|
<tr class="doc-section-item">
|
|
10847
|
+
<td><code>api_url</code></td>
|
|
10924
10848
|
<td>
|
|
10925
|
-
|
|
10926
|
-
</td>
|
|
10927
|
-
<td>
|
|
10928
|
-
<code>str</code>
|
|
10849
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
10929
10850
|
</td>
|
|
10930
10851
|
<td>
|
|
10931
10852
|
<div class="doc-md-description">
|
|
@@ -10937,11 +10858,9 @@
|
|
|
10937
10858
|
</td>
|
|
10938
10859
|
</tr>
|
|
10939
10860
|
<tr class="doc-section-item">
|
|
10861
|
+
<td><code>api_version</code></td>
|
|
10940
10862
|
<td>
|
|
10941
|
-
|
|
10942
|
-
</td>
|
|
10943
|
-
<td>
|
|
10944
|
-
<code>str</code>
|
|
10863
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
10945
10864
|
</td>
|
|
10946
10865
|
<td>
|
|
10947
10866
|
<div class="doc-md-description">
|
|
@@ -10958,11 +10877,6 @@
|
|
|
10958
10877
|
|
|
10959
10878
|
|
|
10960
10879
|
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
10880
|
<div class="doc doc-children">
|
|
10967
10881
|
|
|
10968
10882
|
|
|
@@ -10984,7 +10898,7 @@
|
|
|
10984
10898
|
|
|
10985
10899
|
<div class="doc doc-contents ">
|
|
10986
10900
|
|
|
10987
|
-
|
|
10901
|
+
<p>Add details for an additional query param in the form of a data-* JSON-encoded list attribute.</p>
|
|
10988
10902
|
<p>:param name: The name of the query param
|
|
10989
10903
|
:param value: The value of the query param</p>
|
|
10990
10904
|
|
|
@@ -11013,15 +10927,10 @@
|
|
|
11013
10927
|
|
|
11014
10928
|
<div class="doc doc-contents ">
|
|
11015
10929
|
<p class="doc doc-class-bases">
|
|
11016
|
-
Bases: <code><
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
<p>ModelForm mixin for IPAddress based models.</p>
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
10930
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
11023
10931
|
|
|
11024
10932
|
|
|
10933
|
+
<p>ModelForm mixin for IPAddress based models.</p>
|
|
11025
10934
|
|
|
11026
10935
|
|
|
11027
10936
|
|
|
@@ -11057,10 +10966,10 @@
|
|
|
11057
10966
|
|
|
11058
10967
|
<div class="doc doc-contents ">
|
|
11059
10968
|
<p class="doc doc-class-bases">
|
|
11060
|
-
Bases: <code><
|
|
10969
|
+
Bases: <code><autoref identifier="django.forms.BaseForm" optional hover>BaseForm</autoref></code></p>
|
|
11061
10970
|
|
|
11062
10971
|
|
|
11063
|
-
|
|
10972
|
+
<p>Add the base Bootstrap CSS classes to form elements.</p>
|
|
11064
10973
|
<p>Note that this only applies to form fields that are:</p>
|
|
11065
10974
|
<ol>
|
|
11066
10975
|
<li>statically defined on the form class at declaration time, or</li>
|
|
@@ -11071,11 +10980,6 @@
|
|
|
11071
10980
|
|
|
11072
10981
|
|
|
11073
10982
|
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
11079
10983
|
<div class="doc doc-children">
|
|
11080
10984
|
|
|
11081
10985
|
|
|
@@ -11107,21 +11011,16 @@
|
|
|
11107
11011
|
|
|
11108
11012
|
<div class="doc doc-contents ">
|
|
11109
11013
|
<p class="doc doc-class-bases">
|
|
11110
|
-
Bases: <code><
|
|
11014
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
11111
11015
|
|
|
11112
11016
|
|
|
11113
|
-
|
|
11017
|
+
<p>Base form for editing multiple objects in bulk.</p>
|
|
11114
11018
|
<p>Note that for models supporting custom fields and relationships, nautobot.extras.forms.NautobotBulkEditForm is
|
|
11115
11019
|
a more powerful subclass and should be used instead of directly inheriting from this class.</p>
|
|
11116
11020
|
|
|
11117
11021
|
|
|
11118
11022
|
|
|
11119
11023
|
|
|
11120
|
-
|
|
11121
|
-
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
11024
|
<div class="doc doc-children">
|
|
11126
11025
|
|
|
11127
11026
|
|
|
@@ -11132,23 +11031,6 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11132
11031
|
|
|
11133
11032
|
|
|
11134
11033
|
|
|
11135
|
-
<div class="doc doc-object doc-function">
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
<h3 id="nautobot.apps.forms.BulkEditForm.post_save" class="doc doc-heading">
|
|
11139
|
-
<code class="highlight language-python"><span class="n">post_save</span><span class="p">(</span><span class="n">obj</span><span class="p">)</span></code>
|
|
11140
|
-
|
|
11141
|
-
<a href="#nautobot.apps.forms.BulkEditForm.post_save" class="headerlink" title="Permanent link">¶</a></h3>
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
<div class="doc doc-contents ">
|
|
11145
|
-
|
|
11146
|
-
<p>Post save action</p>
|
|
11147
|
-
|
|
11148
|
-
</div>
|
|
11149
|
-
|
|
11150
|
-
</div>
|
|
11151
|
-
|
|
11152
11034
|
|
|
11153
11035
|
|
|
11154
11036
|
</div>
|
|
@@ -11170,15 +11052,10 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11170
11052
|
|
|
11171
11053
|
<div class="doc doc-contents ">
|
|
11172
11054
|
<p class="doc doc-class-bases">
|
|
11173
|
-
Bases: <code><
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
<p>A Select widget for NullBooleanFields</p>
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11055
|
+
Bases: <code><autoref identifier="django.forms.NullBooleanSelect" optional hover>NullBooleanSelect</autoref></code></p>
|
|
11180
11056
|
|
|
11181
11057
|
|
|
11058
|
+
<p>A Select widget for NullBooleanFields</p>
|
|
11182
11059
|
|
|
11183
11060
|
|
|
11184
11061
|
|
|
@@ -11214,15 +11091,10 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11214
11091
|
|
|
11215
11092
|
<div class="doc doc-contents ">
|
|
11216
11093
|
<p class="doc doc-class-bases">
|
|
11217
|
-
Bases: <code><
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
<p>An extendable form to be used for renaming objects in bulk.</p>
|
|
11221
|
-
|
|
11222
|
-
|
|
11223
|
-
|
|
11094
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
11224
11095
|
|
|
11225
11096
|
|
|
11097
|
+
<p>An extendable form to be used for renaming objects in bulk.</p>
|
|
11226
11098
|
|
|
11227
11099
|
|
|
11228
11100
|
|
|
@@ -11258,20 +11130,15 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11258
11130
|
|
|
11259
11131
|
<div class="doc doc-contents ">
|
|
11260
11132
|
<p class="doc doc-class-bases">
|
|
11261
|
-
Bases: <code><
|
|
11133
|
+
Bases: <code><autoref identifier="django.forms.ChoiceField" optional hover>ChoiceField</autoref></code></p>
|
|
11262
11134
|
|
|
11263
11135
|
|
|
11264
|
-
|
|
11136
|
+
<p>Invert the provided set of choices to take the human-friendly label as input, and return the database value.</p>
|
|
11265
11137
|
<p>Despite the name, this is no longer used in CSV imports since 2.0, but <em>is</em> used in JSON/YAML import of DeviceTypes.</p>
|
|
11266
11138
|
|
|
11267
11139
|
|
|
11268
11140
|
|
|
11269
11141
|
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
11142
|
<div class="doc doc-children">
|
|
11276
11143
|
|
|
11277
11144
|
|
|
@@ -11303,20 +11170,15 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11303
11170
|
|
|
11304
11171
|
<div class="doc doc-contents ">
|
|
11305
11172
|
<p class="doc doc-class-bases">
|
|
11306
|
-
Bases: <code><
|
|
11173
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.CSVModelChoiceField" optional hover>CSVModelChoiceField</autoref></code></p>
|
|
11307
11174
|
|
|
11308
11175
|
|
|
11309
|
-
|
|
11176
|
+
<p>Reference a ContentType in the form <code>{app_label}.{model}</code>.</p>
|
|
11310
11177
|
<p>Note: class name is misleading; this field is also used in numerous FilterSets where it has nothing to do with CSV.</p>
|
|
11311
11178
|
|
|
11312
11179
|
|
|
11313
11180
|
|
|
11314
11181
|
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
|
|
11320
11182
|
<div class="doc doc-children">
|
|
11321
11183
|
|
|
11322
11184
|
|
|
@@ -11338,7 +11200,7 @@ a more powerful subclass and should be used instead of directly inheriting from
|
|
|
11338
11200
|
|
|
11339
11201
|
<div class="doc doc-contents ">
|
|
11340
11202
|
|
|
11341
|
-
|
|
11203
|
+
<p>Allow this field to support <code>{app_label}.{model}</code> style, null values, or PK-based lookups
|
|
11342
11204
|
depending on how the field is used.</p>
|
|
11343
11205
|
|
|
11344
11206
|
</div>
|
|
@@ -11366,10 +11228,10 @@ depending on how the field is used.</p>
|
|
|
11366
11228
|
|
|
11367
11229
|
<div class="doc doc-contents ">
|
|
11368
11230
|
<p class="doc doc-class-bases">
|
|
11369
|
-
Bases: <code><
|
|
11231
|
+
Bases: <code><autoref identifier="django.forms.CharField" optional hover>CharField</autoref></code></p>
|
|
11370
11232
|
|
|
11371
11233
|
|
|
11372
|
-
|
|
11234
|
+
<p>A CharField (rendered as a Textarea) which expects CSV-formatted data.</p>
|
|
11373
11235
|
<p>Initial value is a list of headers corresponding to the required fields for the given serializer class.</p>
|
|
11374
11236
|
<p>This no longer actually does any CSV parsing or validation on its own,
|
|
11375
11237
|
as that is now handled by the NautobotCSVParser class and the REST API serializers.</p>
|
|
@@ -11387,11 +11249,9 @@ as that is now handled by the NautobotCSVParser class and the REST API serialize
|
|
|
11387
11249
|
</thead>
|
|
11388
11250
|
<tbody>
|
|
11389
11251
|
<tr class="doc-section-item">
|
|
11252
|
+
<td><code>required_field_names</code></td>
|
|
11390
11253
|
<td>
|
|
11391
|
-
|
|
11392
|
-
</td>
|
|
11393
|
-
<td>
|
|
11394
|
-
<code>list[str]</code>
|
|
11254
|
+
<code><autoref identifier="list" optional>list</autoref>[<autoref identifier="str" optional>str</autoref>]</code>
|
|
11395
11255
|
</td>
|
|
11396
11256
|
<td>
|
|
11397
11257
|
<div class="doc-md-description">
|
|
@@ -11408,11 +11268,6 @@ as that is now handled by the NautobotCSVParser class and the REST API serialize
|
|
|
11408
11268
|
|
|
11409
11269
|
|
|
11410
11270
|
|
|
11411
|
-
|
|
11412
|
-
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
|
|
11416
11271
|
<div class="doc doc-children">
|
|
11417
11272
|
|
|
11418
11273
|
|
|
@@ -11444,21 +11299,16 @@ as that is now handled by the NautobotCSVParser class and the REST API serialize
|
|
|
11444
11299
|
|
|
11445
11300
|
<div class="doc doc-contents ">
|
|
11446
11301
|
<p class="doc doc-class-bases">
|
|
11447
|
-
Bases: <code><
|
|
11302
|
+
Bases: <code><autoref identifier="django.forms.FileField" optional hover>FileField</autoref></code></p>
|
|
11448
11303
|
|
|
11449
11304
|
|
|
11450
|
-
|
|
11305
|
+
<p>A FileField (rendered as a ClearableFileInput) which expects a file containing CSV-formatted data.</p>
|
|
11451
11306
|
<p>This no longer actually does any CSV parsing or validation on its own,
|
|
11452
11307
|
as that is now handled by the NautobotCSVParser class and the REST API serializers.</p>
|
|
11453
11308
|
|
|
11454
11309
|
|
|
11455
11310
|
|
|
11456
11311
|
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
11312
|
<div class="doc doc-children">
|
|
11463
11313
|
|
|
11464
11314
|
|
|
@@ -11473,14 +11323,14 @@ as that is now handled by the NautobotCSVParser class and the REST API serialize
|
|
|
11473
11323
|
|
|
11474
11324
|
|
|
11475
11325
|
<h3 id="nautobot.apps.forms.CSVFileField.to_python" class="doc doc-heading">
|
|
11476
|
-
<code class="highlight language-python"><span class="n">to_python</span><span class="p">(</span><span class="n">
|
|
11326
|
+
<code class="highlight language-python"><span class="n">to_python</span><span class="p">(</span><span class="n">file</span><span class="p">)</span></code>
|
|
11477
11327
|
|
|
11478
11328
|
<a href="#nautobot.apps.forms.CSVFileField.to_python" class="headerlink" title="Permanent link">¶</a></h3>
|
|
11479
11329
|
|
|
11480
11330
|
|
|
11481
11331
|
<div class="doc doc-contents ">
|
|
11482
11332
|
|
|
11483
|
-
|
|
11333
|
+
<p>For parity with CSVDataField, this returns the CSV text rather than an UploadedFile object.</p>
|
|
11484
11334
|
|
|
11485
11335
|
</div>
|
|
11486
11336
|
|
|
@@ -11507,21 +11357,16 @@ as that is now handled by the NautobotCSVParser class and the REST API serialize
|
|
|
11507
11357
|
|
|
11508
11358
|
<div class="doc doc-contents ">
|
|
11509
11359
|
<p class="doc doc-class-bases">
|
|
11510
|
-
Bases: <code><
|
|
11360
|
+
Bases: <code><autoref identifier="django.forms.ModelChoiceField" optional hover>ModelChoiceField</autoref></code></p>
|
|
11511
11361
|
|
|
11512
11362
|
|
|
11513
|
-
|
|
11363
|
+
<p>Provides additional validation for model choices entered as CSV data.</p>
|
|
11514
11364
|
<p>Note: class name is misleading; the subclass CSVContentTypeField (below) is also used in FilterSets, where it has
|
|
11515
11365
|
nothing to do with CSV data.</p>
|
|
11516
11366
|
|
|
11517
11367
|
|
|
11518
11368
|
|
|
11519
11369
|
|
|
11520
|
-
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
11370
|
<div class="doc doc-children">
|
|
11526
11371
|
|
|
11527
11372
|
|
|
@@ -11553,21 +11398,16 @@ nothing to do with CSV data.</p>
|
|
|
11553
11398
|
|
|
11554
11399
|
<div class="doc doc-contents ">
|
|
11555
11400
|
<p class="doc doc-class-bases">
|
|
11556
|
-
Bases: <code><
|
|
11401
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
11557
11402
|
|
|
11558
11403
|
|
|
11559
|
-
|
|
11404
|
+
<p>ModelForm used for the import of objects.</p>
|
|
11560
11405
|
<p>Note: the name is misleading as since 2.0 this is no longer used for CSV imports; however it <em>is</em> still used for
|
|
11561
11406
|
JSON/YAML imports of DeviceTypes and their component templates.</p>
|
|
11562
11407
|
|
|
11563
11408
|
|
|
11564
11409
|
|
|
11565
11410
|
|
|
11566
|
-
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
11411
|
<div class="doc doc-children">
|
|
11572
11412
|
|
|
11573
11413
|
|
|
@@ -11599,21 +11439,16 @@ JSON/YAML imports of DeviceTypes and their component templates.</p>
|
|
|
11599
11439
|
|
|
11600
11440
|
<div class="doc doc-contents ">
|
|
11601
11441
|
<p class="doc doc-class-bases">
|
|
11602
|
-
Bases: <code><
|
|
11442
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.CSVChoiceField" optional hover>CSVChoiceField</autoref></code></p>
|
|
11603
11443
|
|
|
11604
11444
|
|
|
11605
|
-
|
|
11445
|
+
<p>A version of CSVChoiceField that supports and emits a list of choice values.</p>
|
|
11606
11446
|
<p>As with CSVChoiceField, the name is misleading, as this is no longer used for CSV imports, but is used for
|
|
11607
11447
|
JSON/YAML import of DeviceTypes still.</p>
|
|
11608
11448
|
|
|
11609
11449
|
|
|
11610
11450
|
|
|
11611
11451
|
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
11452
|
<div class="doc doc-children">
|
|
11618
11453
|
|
|
11619
11454
|
|
|
@@ -11635,7 +11470,7 @@ JSON/YAML import of DeviceTypes still.</p>
|
|
|
11635
11470
|
|
|
11636
11471
|
<div class="doc doc-contents ">
|
|
11637
11472
|
|
|
11638
|
-
|
|
11473
|
+
<p>Return a list of strings.</p>
|
|
11639
11474
|
|
|
11640
11475
|
</div>
|
|
11641
11476
|
|
|
@@ -11652,7 +11487,7 @@ JSON/YAML import of DeviceTypes still.</p>
|
|
|
11652
11487
|
|
|
11653
11488
|
<div class="doc doc-contents ">
|
|
11654
11489
|
|
|
11655
|
-
|
|
11490
|
+
<p>Validate that each of the input values is in self.choices.</p>
|
|
11656
11491
|
|
|
11657
11492
|
</div>
|
|
11658
11493
|
|
|
@@ -11679,21 +11514,16 @@ JSON/YAML import of DeviceTypes still.</p>
|
|
|
11679
11514
|
|
|
11680
11515
|
<div class="doc doc-contents ">
|
|
11681
11516
|
<p class="doc doc-class-bases">
|
|
11682
|
-
Bases: <code><
|
|
11517
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.MultipleContentTypeField" optional hover>MultipleContentTypeField</autoref></code></p>
|
|
11683
11518
|
|
|
11684
11519
|
|
|
11685
|
-
|
|
11520
|
+
<p>Reference a list of <code>ContentType</code> objects in the form `{app_label}.{model}'.</p>
|
|
11686
11521
|
<p>Note: This is unused in Nautobot core at this time, but some apps (data-validation-engine) use this for non-CSV
|
|
11687
11522
|
purposes, similar to CSVContentTypeField above.</p>
|
|
11688
11523
|
|
|
11689
11524
|
|
|
11690
11525
|
|
|
11691
11526
|
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
|
|
11697
11527
|
<div class="doc doc-children">
|
|
11698
11528
|
|
|
11699
11529
|
|
|
@@ -11715,7 +11545,7 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11715
11545
|
|
|
11716
11546
|
<div class="doc doc-contents ">
|
|
11717
11547
|
|
|
11718
|
-
|
|
11548
|
+
<p>Parse a comma-separated string of model names into a list of PKs.</p>
|
|
11719
11549
|
|
|
11720
11550
|
</div>
|
|
11721
11551
|
|
|
@@ -11742,15 +11572,10 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11742
11572
|
|
|
11743
11573
|
<div class="doc doc-contents ">
|
|
11744
11574
|
<p class="doc doc-class-bases">
|
|
11745
|
-
Bases: <code><
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
<p>Extends the built-in Select widget to colorize each <option>.</p>
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11575
|
+
Bases: <code><autoref identifier="django.forms.Select" optional hover>Select</autoref></code></p>
|
|
11752
11576
|
|
|
11753
11577
|
|
|
11578
|
+
<p>Extends the built-in Select widget to colorize each <option>.</p>
|
|
11754
11579
|
|
|
11755
11580
|
|
|
11756
11581
|
|
|
@@ -11786,15 +11611,10 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11786
11611
|
|
|
11787
11612
|
<div class="doc doc-contents ">
|
|
11788
11613
|
<p class="doc doc-class-bases">
|
|
11789
|
-
Bases: <code><
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
<p>A textarea with support for Markdown rendering. Exists mostly just to add a standard help_text.</p>
|
|
11793
|
-
|
|
11794
|
-
|
|
11795
|
-
|
|
11614
|
+
Bases: <code><autoref identifier="django.forms.CharField" optional hover>CharField</autoref></code></p>
|
|
11796
11615
|
|
|
11797
11616
|
|
|
11617
|
+
<p>A textarea with support for Markdown rendering. Exists mostly just to add a standard help_text.</p>
|
|
11798
11618
|
|
|
11799
11619
|
|
|
11800
11620
|
|
|
@@ -11830,15 +11650,10 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11830
11650
|
|
|
11831
11651
|
<div class="doc doc-contents ">
|
|
11832
11652
|
<p class="doc doc-class-bases">
|
|
11833
|
-
Bases: <code><
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
<p>A generic confirmation form. The form is not valid unless the confirm field is checked.</p>
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11653
|
+
Bases: <code><autoref identifier="nautobot.core.forms.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="nautobot.core.forms.forms.ReturnURLForm" optional hover>ReturnURLForm</autoref></code></p>
|
|
11840
11654
|
|
|
11841
11655
|
|
|
11656
|
+
<p>A generic confirmation form. The form is not valid unless the confirm field is checked.</p>
|
|
11842
11657
|
|
|
11843
11658
|
|
|
11844
11659
|
|
|
@@ -11874,15 +11689,10 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11874
11689
|
|
|
11875
11690
|
<div class="doc doc-contents ">
|
|
11876
11691
|
<p class="doc doc-class-bases">
|
|
11877
|
-
Bases: <code><
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
<p>Adds the <code>contacts</code> and <code>teams</code> form fields to a filter form.</p>
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11692
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
11884
11693
|
|
|
11885
11694
|
|
|
11695
|
+
<p>Adds the <code>contacts</code> and <code>teams</code> form fields to a filter form.</p>
|
|
11886
11696
|
|
|
11887
11697
|
|
|
11888
11698
|
|
|
@@ -11918,21 +11728,16 @@ purposes, similar to CSVContentTypeField above.</p>
|
|
|
11918
11728
|
|
|
11919
11729
|
<div class="doc doc-contents ">
|
|
11920
11730
|
<p class="doc doc-class-bases">
|
|
11921
|
-
Bases: <code><
|
|
11731
|
+
Bases: <code><autoref identifier="nautobot.core.forms.widgets.StaticSelect2" optional hover>StaticSelect2</autoref></code></p>
|
|
11922
11732
|
|
|
11923
11733
|
|
|
11924
|
-
|
|
11734
|
+
<p>Appends an <code>api-value</code> attribute equal to the slugified model name for each ContentType. For example:
|
|
11925
11735
|
<option value="37" api-value="console-server-port">console server port</option>
|
|
11926
11736
|
This attribute can be used to reference the relevant API endpoint for a particular ContentType.</p>
|
|
11927
11737
|
|
|
11928
11738
|
|
|
11929
11739
|
|
|
11930
11740
|
|
|
11931
|
-
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
11741
|
<div class="doc doc-children">
|
|
11937
11742
|
|
|
11938
11743
|
|
|
@@ -11964,10 +11769,10 @@ This attribute can be used to reference the relevant API endpoint for a particul
|
|
|
11964
11769
|
|
|
11965
11770
|
<div class="doc doc-contents ">
|
|
11966
11771
|
<p class="doc doc-class-bases">
|
|
11967
|
-
Bases: <code><
|
|
11772
|
+
Bases: <code><autoref identifier="nautobot.core.forms.CSVModelForm" optional hover>CSVModelForm</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.CustomFieldModelFormMixin" optional hover>CustomFieldModelFormMixin</autoref></code></p>
|
|
11968
11773
|
|
|
11969
11774
|
|
|
11970
|
-
|
|
11775
|
+
<p>Base class for CSV/JSON/YAML import of models that support custom fields.</p>
|
|
11971
11776
|
<p>TODO: The class name is a misnomer; as of 2.0 this class is <strong>not</strong> used for any CSV imports,
|
|
11972
11777
|
as that's now handled by the REST API. However it is still used when importing component-templates as
|
|
11973
11778
|
part of a JSON/YAML DeviceType import.</p>
|
|
@@ -11975,11 +11780,6 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
11975
11780
|
|
|
11976
11781
|
|
|
11977
11782
|
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
11983
11783
|
<div class="doc doc-children">
|
|
11984
11784
|
|
|
11985
11785
|
|
|
@@ -12011,12 +11811,7 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12011
11811
|
|
|
12012
11812
|
<div class="doc doc-contents ">
|
|
12013
11813
|
<p class="doc doc-class-bases">
|
|
12014
|
-
Bases: <code><
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
11814
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
12020
11815
|
|
|
12021
11816
|
|
|
12022
11817
|
|
|
@@ -12053,15 +11848,10 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12053
11848
|
|
|
12054
11849
|
<div class="doc doc-contents ">
|
|
12055
11850
|
<p class="doc doc-class-bases">
|
|
12056
|
-
Bases: <code><
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
<p>Date picker using Flatpickr.</p>
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
11851
|
+
Bases: <code><autoref identifier="django.forms.TextInput" optional hover>TextInput</autoref></code></p>
|
|
12063
11852
|
|
|
12064
11853
|
|
|
11854
|
+
<p>Date picker using Flatpickr.</p>
|
|
12065
11855
|
|
|
12066
11856
|
|
|
12067
11857
|
|
|
@@ -12097,15 +11887,10 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12097
11887
|
|
|
12098
11888
|
<div class="doc doc-contents ">
|
|
12099
11889
|
<p class="doc doc-class-bases">
|
|
12100
|
-
Bases: <code><
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
<p>DateTime picker using Flatpickr.</p>
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
11890
|
+
Bases: <code><autoref identifier="django.forms.TextInput" optional hover>TextInput</autoref></code></p>
|
|
12107
11891
|
|
|
12108
11892
|
|
|
11893
|
+
<p>DateTime picker using Flatpickr.</p>
|
|
12109
11894
|
|
|
12110
11895
|
|
|
12111
11896
|
|
|
@@ -12141,15 +11926,10 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12141
11926
|
|
|
12142
11927
|
<div class="doc doc-contents ">
|
|
12143
11928
|
<p class="doc doc-class-bases">
|
|
12144
|
-
Bases: <code><
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
<p>Form for dynamically inputting filter values for an object list.</p>
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
11929
|
+
Bases: <code><autoref identifier="nautobot.core.forms.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
12151
11930
|
|
|
12152
11931
|
|
|
11932
|
+
<p>Form for dynamically inputting filter values for an object list.</p>
|
|
12153
11933
|
|
|
12154
11934
|
|
|
12155
11935
|
|
|
@@ -12185,15 +11965,10 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12185
11965
|
|
|
12186
11966
|
<div class="doc doc-contents ">
|
|
12187
11967
|
<p class="doc doc-class-bases">
|
|
12188
|
-
Bases: <code><
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
<p>Mixin to add <code>dynamic_groups</code> field to model create/edit forms where applicable.</p>
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
11968
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
12195
11969
|
|
|
12196
11970
|
|
|
11971
|
+
<p>Mixin to add <code>dynamic_groups</code> field to model create/edit forms where applicable.</p>
|
|
12197
11972
|
|
|
12198
11973
|
|
|
12199
11974
|
|
|
@@ -12229,20 +12004,15 @@ part of a JSON/YAML DeviceType import.</p>
|
|
|
12229
12004
|
|
|
12230
12005
|
<div class="doc doc-contents ">
|
|
12231
12006
|
<p class="doc doc-class-bases">
|
|
12232
|
-
Bases: <code><
|
|
12007
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.DynamicModelChoiceMixin" optional hover>DynamicModelChoiceMixin</autoref></code>, <code><autoref identifier="django.forms.ModelChoiceField" optional hover>ModelChoiceField</autoref></code></p>
|
|
12233
12008
|
|
|
12234
12009
|
|
|
12235
|
-
|
|
12010
|
+
<p>Override get_bound_field() to avoid pre-populating field choices with a SQL query. The field will be
|
|
12236
12011
|
rendered only with choices set via bound data. Choices are populated on-demand via the APISelect widget.</p>
|
|
12237
12012
|
|
|
12238
12013
|
|
|
12239
12014
|
|
|
12240
12015
|
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
-
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
12016
|
<div class="doc doc-children">
|
|
12247
12017
|
|
|
12248
12018
|
|
|
@@ -12264,7 +12034,7 @@ rendered only with choices set via bound data. Choices are populated on-demand v
|
|
|
12264
12034
|
|
|
12265
12035
|
<div class="doc doc-contents ">
|
|
12266
12036
|
|
|
12267
|
-
|
|
12037
|
+
<p>When null option is enabled and "None" is sent as part of a form to be submitted, it is sent as the
|
|
12268
12038
|
string 'null'. This will check for that condition and gracefully handle the conversion to a NoneType.</p>
|
|
12269
12039
|
|
|
12270
12040
|
</div>
|
|
@@ -12293,7 +12063,7 @@ string 'null'. This will check for that condition and gracefully handle the con
|
|
|
12293
12063
|
<div class="doc doc-contents ">
|
|
12294
12064
|
|
|
12295
12065
|
|
|
12296
|
-
|
|
12066
|
+
<p>:param display_field: The name of the attribute of an API response object to display in the selection list
|
|
12297
12067
|
:param query_params: A dictionary of additional key/value pairs to attach to the API request
|
|
12298
12068
|
:param initial_params: A dictionary of child field references to use for selecting a parent field's initial value
|
|
12299
12069
|
:param null_option: The string used to represent a null selection (if any)
|
|
@@ -12304,11 +12074,6 @@ string 'null'. This will check for that condition and gracefully handle the con
|
|
|
12304
12074
|
|
|
12305
12075
|
|
|
12306
12076
|
|
|
12307
|
-
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12311
|
-
|
|
12312
12077
|
<div class="doc doc-children">
|
|
12313
12078
|
|
|
12314
12079
|
|
|
@@ -12330,7 +12095,7 @@ string 'null'. This will check for that condition and gracefully handle the con
|
|
|
12330
12095
|
|
|
12331
12096
|
<div class="doc doc-contents ">
|
|
12332
12097
|
|
|
12333
|
-
|
|
12098
|
+
<p>Augment the behavior of forms.ModelChoiceField.prepare_value().</p>
|
|
12334
12099
|
<p>Specifically, if <code>value</code> is a PK, but we have <code>to_field_name</code> set, we need to look up the model instance
|
|
12335
12100
|
from the given PK, so that the base class will get the appropriate field value rather than just keeping the PK,
|
|
12336
12101
|
because the rendered form field needs this in order to correctly prepopulate a default selection.</p>
|
|
@@ -12360,15 +12125,10 @@ because the rendered form field needs this in order to correctly prepopulate a d
|
|
|
12360
12125
|
|
|
12361
12126
|
<div class="doc doc-contents ">
|
|
12362
12127
|
<p class="doc doc-class-bases">
|
|
12363
|
-
Bases: <code><
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
<p>A multiple-choice version of DynamicModelChoiceField.</p>
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
|
|
12128
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.DynamicModelChoiceMixin" optional hover>DynamicModelChoiceMixin</autoref></code>, <code><autoref identifier="django.forms.ModelMultipleChoiceField" optional hover>ModelMultipleChoiceField</autoref></code></p>
|
|
12370
12129
|
|
|
12371
12130
|
|
|
12131
|
+
<p>A multiple-choice version of DynamicModelChoiceField.</p>
|
|
12372
12132
|
|
|
12373
12133
|
|
|
12374
12134
|
|
|
@@ -12404,20 +12164,15 @@ because the rendered form field needs this in order to correctly prepopulate a d
|
|
|
12404
12164
|
|
|
12405
12165
|
<div class="doc doc-contents ">
|
|
12406
12166
|
<p class="doc doc-class-bases">
|
|
12407
|
-
Bases: <code><
|
|
12167
|
+
Bases: <code><autoref identifier="django.forms.CharField" optional hover>CharField</autoref></code></p>
|
|
12408
12168
|
|
|
12409
12169
|
|
|
12410
|
-
|
|
12170
|
+
<p>A field which allows for expansion of IP address ranges
|
|
12411
12171
|
Example: '192.0.2.[1-254]/24' => ['192.0.2.1/24', '192.0.2.2/24', '192.0.2.3/24' ... '192.0.2.254/24']</p>
|
|
12412
12172
|
|
|
12413
12173
|
|
|
12414
12174
|
|
|
12415
12175
|
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
12176
|
<div class="doc doc-children">
|
|
12422
12177
|
|
|
12423
12178
|
|
|
@@ -12449,20 +12204,15 @@ because the rendered form field needs this in order to correctly prepopulate a d
|
|
|
12449
12204
|
|
|
12450
12205
|
<div class="doc doc-contents ">
|
|
12451
12206
|
<p class="doc doc-class-bases">
|
|
12452
|
-
Bases: <code><
|
|
12207
|
+
Bases: <code><autoref identifier="django.forms.CharField" optional hover>CharField</autoref></code></p>
|
|
12453
12208
|
|
|
12454
12209
|
|
|
12455
|
-
|
|
12210
|
+
<p>A field which allows for numeric range expansion
|
|
12456
12211
|
Example: 'Gi0/[1-3]' => ['Gi0/1', 'Gi0/2', 'Gi0/3']</p>
|
|
12457
12212
|
|
|
12458
12213
|
|
|
12459
12214
|
|
|
12460
12215
|
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
12216
|
<div class="doc doc-children">
|
|
12467
12217
|
|
|
12468
12218
|
|
|
@@ -12494,15 +12244,10 @@ because the rendered form field needs this in order to correctly prepopulate a d
|
|
|
12494
12244
|
|
|
12495
12245
|
<div class="doc doc-contents ">
|
|
12496
12246
|
<p class="doc doc-class-bases">
|
|
12497
|
-
Bases: <code><
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
<p>Generic form for creating an object from JSON/YAML data</p>
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
|
|
12247
|
+
Bases: <code><autoref identifier="nautobot.core.forms.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
12504
12248
|
|
|
12505
12249
|
|
|
12250
|
+
<p>Generic form for creating an object from JSON/YAML data</p>
|
|
12506
12251
|
|
|
12507
12252
|
|
|
12508
12253
|
|
|
@@ -12538,21 +12283,16 @@ because the rendered form field needs this in order to correctly prepopulate a d
|
|
|
12538
12283
|
|
|
12539
12284
|
<div class="doc doc-contents ">
|
|
12540
12285
|
<p class="doc doc-class-bases">
|
|
12541
|
-
Bases: <code><
|
|
12286
|
+
Bases: <code><autoref identifier="django.forms.JSONField" optional hover>JSONField</autoref></code></p>
|
|
12542
12287
|
|
|
12543
12288
|
|
|
12544
|
-
|
|
12289
|
+
<p>A FormField counterpart to JSONArrayField.
|
|
12545
12290
|
Replicates ArrayFormField's base field validation: Field values are validated as JSON Arrays,
|
|
12546
12291
|
and each Array element is validated by <code>base_field</code> validators.</p>
|
|
12547
12292
|
|
|
12548
12293
|
|
|
12549
12294
|
|
|
12550
12295
|
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
12296
|
<div class="doc doc-children">
|
|
12557
12297
|
|
|
12558
12298
|
|
|
@@ -12574,7 +12314,7 @@ and each Array element is validated by <code>base_field</code> validators.</p>
|
|
|
12574
12314
|
|
|
12575
12315
|
<div class="doc doc-contents ">
|
|
12576
12316
|
|
|
12577
|
-
|
|
12317
|
+
<p>Validate <code>value</code> and return its "cleaned" value as an appropriate
|
|
12578
12318
|
Python object. Raise ValidationError for any errors.</p>
|
|
12579
12319
|
|
|
12580
12320
|
</div>
|
|
@@ -12592,7 +12332,7 @@ Python object. Raise ValidationError for any errors.</p>
|
|
|
12592
12332
|
|
|
12593
12333
|
<div class="doc doc-contents ">
|
|
12594
12334
|
|
|
12595
|
-
|
|
12335
|
+
<p>Return True if <code>data</code> differs from <code>initial</code>.</p>
|
|
12596
12336
|
|
|
12597
12337
|
</div>
|
|
12598
12338
|
|
|
@@ -12609,7 +12349,7 @@ Python object. Raise ValidationError for any errors.</p>
|
|
|
12609
12349
|
|
|
12610
12350
|
<div class="doc doc-contents ">
|
|
12611
12351
|
|
|
12612
|
-
|
|
12352
|
+
<p>Return a string of this value.</p>
|
|
12613
12353
|
|
|
12614
12354
|
</div>
|
|
12615
12355
|
|
|
@@ -12626,7 +12366,7 @@ Python object. Raise ValidationError for any errors.</p>
|
|
|
12626
12366
|
|
|
12627
12367
|
<div class="doc doc-contents ">
|
|
12628
12368
|
|
|
12629
|
-
|
|
12369
|
+
<p>Runs all validators against <code>value</code> and raise ValidationError if necessary.
|
|
12630
12370
|
Some validators can't be created at field initialization time.</p>
|
|
12631
12371
|
|
|
12632
12372
|
</div>
|
|
@@ -12644,7 +12384,7 @@ Some validators can't be created at field initialization time.</p>
|
|
|
12644
12384
|
|
|
12645
12385
|
<div class="doc doc-contents ">
|
|
12646
12386
|
|
|
12647
|
-
|
|
12387
|
+
<p>Convert <code>value</code> into JSON, raising django.core.exceptions.ValidationError
|
|
12648
12388
|
if the data can't be converted. Return the converted value.</p>
|
|
12649
12389
|
|
|
12650
12390
|
</div>
|
|
@@ -12662,7 +12402,7 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12662
12402
|
|
|
12663
12403
|
<div class="doc doc-contents ">
|
|
12664
12404
|
|
|
12665
|
-
|
|
12405
|
+
<p>Check to see if the provided value is a valid choice.</p>
|
|
12666
12406
|
|
|
12667
12407
|
</div>
|
|
12668
12408
|
|
|
@@ -12679,7 +12419,7 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12679
12419
|
|
|
12680
12420
|
<div class="doc doc-contents ">
|
|
12681
12421
|
|
|
12682
|
-
|
|
12422
|
+
<p>Validate <code>value</code> and raise ValidationError if necessary.</p>
|
|
12683
12423
|
|
|
12684
12424
|
</div>
|
|
12685
12425
|
|
|
@@ -12706,15 +12446,10 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12706
12446
|
|
|
12707
12447
|
<div class="doc doc-contents ">
|
|
12708
12448
|
<p class="doc doc-class-bases">
|
|
12709
|
-
Bases: <code><
|
|
12710
|
-
|
|
12711
|
-
|
|
12712
|
-
<p>Custom wrapper around Django's built-in JSONField to avoid presenting "null" as the default text.</p>
|
|
12713
|
-
|
|
12714
|
-
|
|
12715
|
-
|
|
12449
|
+
Bases: <code><autoref identifier="django.forms.fields.JSONField" optional hover>JSONField</autoref></code></p>
|
|
12716
12450
|
|
|
12717
12451
|
|
|
12452
|
+
<p>Custom wrapper around Django's built-in JSONField to avoid presenting "null" as the default text.</p>
|
|
12718
12453
|
|
|
12719
12454
|
|
|
12720
12455
|
|
|
@@ -12750,20 +12485,15 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12750
12485
|
|
|
12751
12486
|
<div class="doc doc-contents ">
|
|
12752
12487
|
<p class="doc doc-class-bases">
|
|
12753
|
-
Bases: <code><
|
|
12488
|
+
Bases: <code><autoref identifier="django.forms.URLField" optional hover>URLField</autoref></code></p>
|
|
12754
12489
|
|
|
12755
12490
|
|
|
12756
|
-
|
|
12491
|
+
<p>Modifies Django's built-in URLField to remove the requirement for fully-qualified domain names
|
|
12757
12492
|
(e.g. http://myserver/ is valid)</p>
|
|
12758
12493
|
|
|
12759
12494
|
|
|
12760
12495
|
|
|
12761
12496
|
|
|
12762
|
-
|
|
12763
|
-
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
12767
12497
|
<div class="doc doc-children">
|
|
12768
12498
|
|
|
12769
12499
|
|
|
@@ -12795,20 +12525,15 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12795
12525
|
|
|
12796
12526
|
<div class="doc doc-contents ">
|
|
12797
12527
|
<p class="doc doc-class-bases">
|
|
12798
|
-
Bases: <code><
|
|
12528
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.DynamicModelChoiceMixin" optional hover>DynamicModelChoiceMixin</autoref></code>, <code><autoref identifier="django_filters.fields.ModelMultipleChoiceField" optional hover>ModelMultipleChoiceField</autoref></code></p>
|
|
12799
12529
|
|
|
12800
12530
|
|
|
12801
|
-
|
|
12531
|
+
<p>Filter field to support matching on the PK <em>or</em> <code>to_field_name</code> fields (defaulting to <code>slug</code> if not specified).</p>
|
|
12802
12532
|
<p>Raises ValidationError if none of the fields match the requested value.</p>
|
|
12803
12533
|
|
|
12804
12534
|
|
|
12805
12535
|
|
|
12806
12536
|
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
12537
|
<div class="doc doc-children">
|
|
12813
12538
|
|
|
12814
12539
|
|
|
@@ -12840,20 +12565,15 @@ if the data can't be converted. Return the converted value.</p>
|
|
|
12840
12565
|
|
|
12841
12566
|
<div class="doc doc-contents ">
|
|
12842
12567
|
<p class="doc doc-class-bases">
|
|
12843
|
-
Bases: <code><
|
|
12568
|
+
Bases: <code><autoref identifier="django.forms.CharField" optional hover>CharField</autoref></code></p>
|
|
12844
12569
|
|
|
12845
12570
|
|
|
12846
|
-
|
|
12571
|
+
<p>CharField that takes multiple user character inputs and render them as tags in the form field.
|
|
12847
12572
|
Press enter to complete an input.</p>
|
|
12848
12573
|
|
|
12849
12574
|
|
|
12850
12575
|
|
|
12851
12576
|
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
12577
|
<div class="doc doc-children">
|
|
12858
12578
|
|
|
12859
12579
|
|
|
@@ -12885,20 +12605,15 @@ Press enter to complete an input.</p>
|
|
|
12885
12605
|
|
|
12886
12606
|
<div class="doc doc-contents ">
|
|
12887
12607
|
<p class="doc doc-class-bases">
|
|
12888
|
-
Bases: <code><
|
|
12608
|
+
Bases: <code><autoref identifier="nautobot.core.forms.widgets.StaticSelect2Multiple" optional hover>StaticSelect2Multiple</autoref></code></p>
|
|
12889
12609
|
|
|
12890
12610
|
|
|
12891
|
-
|
|
12611
|
+
<p>Manual text input with tagging enabled.
|
|
12892
12612
|
Press enter to create a new entry.</p>
|
|
12893
12613
|
|
|
12894
12614
|
|
|
12895
12615
|
|
|
12896
12616
|
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
12902
12617
|
<div class="doc doc-children">
|
|
12903
12618
|
|
|
12904
12619
|
|
|
@@ -12930,21 +12645,16 @@ Press enter to create a new entry.</p>
|
|
|
12930
12645
|
|
|
12931
12646
|
<div class="doc doc-contents ">
|
|
12932
12647
|
<p class="doc doc-class-bases">
|
|
12933
|
-
Bases: <code><
|
|
12648
|
+
Bases: <code><autoref identifier="django.forms.ModelMultipleChoiceField" optional hover>ModelMultipleChoiceField</autoref></code></p>
|
|
12934
12649
|
|
|
12935
12650
|
|
|
12936
|
-
|
|
12651
|
+
<p>Field for choosing any number of <code>ContentType</code> objects.</p>
|
|
12937
12652
|
<p>Optionally can restrict the available ContentTypes to those supporting a particular feature only.
|
|
12938
12653
|
Optionally can pass the selection through as a list of <code>{app_label}.{model}</code> strings instead of PK values.</p>
|
|
12939
12654
|
|
|
12940
12655
|
|
|
12941
12656
|
|
|
12942
12657
|
|
|
12943
|
-
|
|
12944
|
-
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
12658
|
<div class="doc doc-children">
|
|
12949
12659
|
|
|
12950
12660
|
|
|
@@ -12966,7 +12676,7 @@ Optionally can pass the selection through as a list of <code>{app_label}.{model}
|
|
|
12966
12676
|
|
|
12967
12677
|
<div class="doc doc-contents ">
|
|
12968
12678
|
|
|
12969
|
-
|
|
12679
|
+
<p>Construct a MultipleContentTypeField.</p>
|
|
12970
12680
|
|
|
12971
12681
|
|
|
12972
12682
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -12981,11 +12691,9 @@ Optionally can pass the selection through as a list of <code>{app_label}.{model}
|
|
|
12981
12691
|
</thead>
|
|
12982
12692
|
<tbody>
|
|
12983
12693
|
<tr class="doc-section-item">
|
|
12694
|
+
<td><code>feature</code></td>
|
|
12984
12695
|
<td>
|
|
12985
|
-
|
|
12986
|
-
</td>
|
|
12987
|
-
<td>
|
|
12988
|
-
<code>str</code>
|
|
12696
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
12989
12697
|
</td>
|
|
12990
12698
|
<td>
|
|
12991
12699
|
<div class="doc-md-description">
|
|
@@ -12997,11 +12705,9 @@ Optionally can pass the selection through as a list of <code>{app_label}.{model}
|
|
|
12997
12705
|
</td>
|
|
12998
12706
|
</tr>
|
|
12999
12707
|
<tr class="doc-section-item">
|
|
12708
|
+
<td><code>choices_as_strings</code></td>
|
|
13000
12709
|
<td>
|
|
13001
|
-
|
|
13002
|
-
</td>
|
|
13003
|
-
<td>
|
|
13004
|
-
<code>bool</code>
|
|
12710
|
+
<code><autoref identifier="bool" optional>bool</autoref></code>
|
|
13005
12711
|
</td>
|
|
13006
12712
|
<td>
|
|
13007
12713
|
<div class="doc-md-description">
|
|
@@ -13040,15 +12746,10 @@ Optionally can pass the selection through as a list of <code>{app_label}.{model}
|
|
|
13040
12746
|
|
|
13041
12747
|
<div class="doc doc-contents ">
|
|
13042
12748
|
<p class="doc doc-class-bases">
|
|
13043
|
-
Bases: <code><
|
|
13044
|
-
|
|
13045
|
-
|
|
13046
|
-
<p>Base class for bulk-edit forms for models that support relationships, custom fields and notes.</p>
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
12749
|
+
Bases: <code><autoref identifier="nautobot.core.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.CustomFieldModelBulkEditFormMixin" optional hover>CustomFieldModelBulkEditFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.NoteModelBulkEditFormMixin" optional hover>NoteModelBulkEditFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.RelationshipModelBulkEditFormMixin" optional hover>RelationshipModelBulkEditFormMixin</autoref></code></p>
|
|
13050
12750
|
|
|
13051
12751
|
|
|
12752
|
+
<p>Base class for bulk-edit forms for models that support relationships, custom fields and notes.</p>
|
|
13052
12753
|
|
|
13053
12754
|
|
|
13054
12755
|
|
|
@@ -13084,21 +12785,16 @@ Optionally can pass the selection through as a list of <code>{app_label}.{model}
|
|
|
13084
12785
|
|
|
13085
12786
|
<div class="doc doc-contents ">
|
|
13086
12787
|
<p class="doc doc-class-bases">
|
|
13087
|
-
Bases: <code><
|
|
12788
|
+
Bases: <code><autoref identifier="nautobot.core.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.ContactTeamModelFilterFormMixin" optional hover>ContactTeamModelFilterFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.CustomFieldModelFilterFormMixin" optional hover>CustomFieldModelFilterFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.RelationshipModelFilterFormMixin" optional hover>RelationshipModelFilterFormMixin</autoref></code></p>
|
|
13088
12789
|
|
|
13089
12790
|
|
|
13090
|
-
|
|
12791
|
+
<p>This class exists to combine common functionality and is used to inherit from throughout the
|
|
13091
12792
|
codebase where all of ContactTeamModelFilterFormMixin, CustomFieldModelFilterFormMixin, and
|
|
13092
12793
|
RelationshipModelFilterFormMixin are needed.</p>
|
|
13093
12794
|
|
|
13094
12795
|
|
|
13095
12796
|
|
|
13096
12797
|
|
|
13097
|
-
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
|
|
13101
|
-
|
|
13102
12798
|
<div class="doc doc-children">
|
|
13103
12799
|
|
|
13104
12800
|
|
|
@@ -13130,21 +12826,16 @@ RelationshipModelFilterFormMixin are needed.</p>
|
|
|
13130
12826
|
|
|
13131
12827
|
<div class="doc doc-contents ">
|
|
13132
12828
|
<p class="doc doc-class-bases">
|
|
13133
|
-
Bases: <code><
|
|
12829
|
+
Bases: <code><autoref identifier="nautobot.core.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.CustomFieldModelFormMixin" optional hover>CustomFieldModelFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.DynamicGroupModelFormMixin" optional hover>DynamicGroupModelFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.NoteModelFormMixin" optional hover>NoteModelFormMixin</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.RelationshipModelFormMixin" optional hover>RelationshipModelFormMixin</autoref></code></p>
|
|
13134
12830
|
|
|
13135
12831
|
|
|
13136
|
-
|
|
12832
|
+
<p>This class exists to combine common functionality and is used to inherit from throughout the
|
|
13137
12833
|
codebase where all of BootstrapMixin, CustomFieldModelFormMixin, RelationshipModelFormMixin, and
|
|
13138
12834
|
NoteModelFormMixin are needed.</p>
|
|
13139
12835
|
|
|
13140
12836
|
|
|
13141
12837
|
|
|
13142
12838
|
|
|
13143
|
-
|
|
13144
|
-
|
|
13145
|
-
|
|
13146
|
-
|
|
13147
|
-
|
|
13148
12839
|
<div class="doc doc-children">
|
|
13149
12840
|
|
|
13150
12841
|
|
|
@@ -13176,15 +12867,10 @@ NoteModelFormMixin are needed.</p>
|
|
|
13176
12867
|
|
|
13177
12868
|
<div class="doc doc-contents ">
|
|
13178
12869
|
<p class="doc doc-class-bases">
|
|
13179
|
-
Bases: <code><
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
<p>Base for the NoteModelFormMixin and NoteModelBulkEditFormMixin.</p>
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
12870
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13186
12871
|
|
|
13187
12872
|
|
|
12873
|
+
<p>Base for the NoteModelFormMixin and NoteModelBulkEditFormMixin.</p>
|
|
13188
12874
|
|
|
13189
12875
|
|
|
13190
12876
|
|
|
@@ -13220,15 +12906,10 @@ NoteModelFormMixin are needed.</p>
|
|
|
13220
12906
|
|
|
13221
12907
|
<div class="doc doc-contents ">
|
|
13222
12908
|
<p class="doc doc-class-bases">
|
|
13223
|
-
Bases: <code><
|
|
13224
|
-
|
|
13225
|
-
|
|
13226
|
-
<p>Bulk-edit form mixin for models that support Notes.</p>
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
12909
|
+
Bases: <code><autoref identifier="nautobot.core.forms.BulkEditForm" optional hover>BulkEditForm</autoref></code>, <code><autoref identifier="nautobot.extras.forms.mixins.NoteFormBase" optional hover>NoteFormBase</autoref></code></p>
|
|
13230
12910
|
|
|
13231
12911
|
|
|
12912
|
+
<p>Bulk-edit form mixin for models that support Notes.</p>
|
|
13232
12913
|
|
|
13233
12914
|
|
|
13234
12915
|
|
|
@@ -13264,15 +12945,10 @@ NoteModelFormMixin are needed.</p>
|
|
|
13264
12945
|
|
|
13265
12946
|
<div class="doc doc-contents ">
|
|
13266
12947
|
<p class="doc doc-class-bases">
|
|
13267
|
-
Bases: <code><
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
<p>Basic array field that takes comma-separated or hyphenated ranges.</p>
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
12948
|
+
Bases: <code><autoref identifier="django.contrib.postgres.forms.SimpleArrayField" optional hover>SimpleArrayField</autoref></code></p>
|
|
13274
12949
|
|
|
13275
12950
|
|
|
12951
|
+
<p>Basic array field that takes comma-separated or hyphenated ranges.</p>
|
|
13276
12952
|
|
|
13277
12953
|
|
|
13278
12954
|
|
|
@@ -13308,15 +12984,10 @@ NoteModelFormMixin are needed.</p>
|
|
|
13308
12984
|
|
|
13309
12985
|
<div class="doc doc-contents ">
|
|
13310
12986
|
<p class="doc doc-class-bases">
|
|
13311
|
-
Bases: <code><
|
|
13312
|
-
|
|
13313
|
-
|
|
13314
|
-
<p>ModelForm mixin for IPNetwork based models.</p>
|
|
13315
|
-
|
|
13316
|
-
|
|
13317
|
-
|
|
12987
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
13318
12988
|
|
|
13319
12989
|
|
|
12990
|
+
<p>ModelForm mixin for IPNetwork based models.</p>
|
|
13320
12991
|
|
|
13321
12992
|
|
|
13322
12993
|
|
|
@@ -13352,15 +13023,10 @@ NoteModelFormMixin are needed.</p>
|
|
|
13352
13023
|
|
|
13353
13024
|
<div class="doc doc-contents ">
|
|
13354
13025
|
<p class="doc doc-class-bases">
|
|
13355
|
-
Bases: <code><
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
<p>Bulk-edit form mixin for models that support Relationships.</p>
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13026
|
+
Bases: <code><autoref identifier="nautobot.core.forms.BulkEditForm" optional hover>BulkEditForm</autoref></code></p>
|
|
13362
13027
|
|
|
13363
13028
|
|
|
13029
|
+
<p>Bulk-edit form mixin for models that support Relationships.</p>
|
|
13364
13030
|
|
|
13365
13031
|
|
|
13366
13032
|
|
|
@@ -13386,7 +13052,7 @@ NoteModelFormMixin are needed.</p>
|
|
|
13386
13052
|
|
|
13387
13053
|
<div class="doc doc-contents ">
|
|
13388
13054
|
|
|
13389
|
-
|
|
13055
|
+
<p>Helper method to be called from BulkEditView.post().</p>
|
|
13390
13056
|
|
|
13391
13057
|
</div>
|
|
13392
13058
|
|
|
@@ -13413,12 +13079,7 @@ NoteModelFormMixin are needed.</p>
|
|
|
13413
13079
|
|
|
13414
13080
|
<div class="doc doc-contents ">
|
|
13415
13081
|
<p class="doc doc-class-bases">
|
|
13416
|
-
Bases: <code><
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13082
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13422
13083
|
|
|
13423
13084
|
|
|
13424
13085
|
|
|
@@ -13455,12 +13116,7 @@ NoteModelFormMixin are needed.</p>
|
|
|
13455
13116
|
|
|
13456
13117
|
<div class="doc doc-contents ">
|
|
13457
13118
|
<p class="doc doc-class-bases">
|
|
13458
|
-
Bases: <code><
|
|
13459
|
-
|
|
13460
|
-
|
|
13461
|
-
|
|
13462
|
-
|
|
13463
|
-
|
|
13119
|
+
Bases: <code><autoref identifier="django.forms.ModelForm" optional hover>ModelForm</autoref></code></p>
|
|
13464
13120
|
|
|
13465
13121
|
|
|
13466
13122
|
|
|
@@ -13487,7 +13143,7 @@ NoteModelFormMixin are needed.</p>
|
|
|
13487
13143
|
|
|
13488
13144
|
<div class="doc doc-contents ">
|
|
13489
13145
|
|
|
13490
|
-
|
|
13146
|
+
<p>First check for any required relationships errors and if there are any, add them via form field errors.
|
|
13491
13147
|
Then verify that any requested RelationshipAssociations do not violate relationship cardinality restrictions.</p>
|
|
13492
13148
|
<ul>
|
|
13493
13149
|
<li>For TYPE_ONE_TO_MANY and TYPE_ONE_TO_ONE relations, if the form's object is on the "source" side of
|
|
@@ -13523,15 +13179,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13523
13179
|
|
|
13524
13180
|
<div class="doc doc-contents ">
|
|
13525
13181
|
<p class="doc doc-class-bases">
|
|
13526
|
-
Bases: <code><
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
<p>Provides a hidden return URL field to control where the user is directed after the form is submitted.</p>
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13182
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13533
13183
|
|
|
13534
13184
|
|
|
13185
|
+
<p>Provides a hidden return URL field to control where the user is directed after the form is submitted.</p>
|
|
13535
13186
|
|
|
13536
13187
|
|
|
13537
13188
|
|
|
@@ -13567,15 +13218,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13567
13218
|
|
|
13568
13219
|
<div class="doc doc-contents ">
|
|
13569
13220
|
<p class="doc doc-class-bases">
|
|
13570
|
-
Bases: <code><
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
<p>Mixin to add non-required <code>role</code> choice field to forms.</p>
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13221
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13577
13222
|
|
|
13578
13223
|
|
|
13224
|
+
<p>Mixin to add non-required <code>role</code> choice field to forms.</p>
|
|
13579
13225
|
|
|
13580
13226
|
|
|
13581
13227
|
|
|
@@ -13611,15 +13257,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13611
13257
|
|
|
13612
13258
|
<div class="doc doc-contents ">
|
|
13613
13259
|
<p class="doc doc-class-bases">
|
|
13614
|
-
Bases: <code><
|
|
13615
|
-
|
|
13616
|
-
|
|
13617
|
-
<p>Mixin to add non-required <code>role</code> multiple-choice field to filter forms.</p>
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13260
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13621
13261
|
|
|
13622
13262
|
|
|
13263
|
+
<p>Mixin to add non-required <code>role</code> multiple-choice field to filter forms.</p>
|
|
13623
13264
|
|
|
13624
13265
|
|
|
13625
13266
|
|
|
@@ -13655,20 +13296,15 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13655
13296
|
|
|
13656
13297
|
<div class="doc doc-contents ">
|
|
13657
13298
|
<p class="doc doc-class-bases">
|
|
13658
|
-
Bases: <code><
|
|
13299
|
+
Bases: <code><autoref identifier="django.forms.Select" optional hover>Select</autoref></code></p>
|
|
13659
13300
|
|
|
13660
13301
|
|
|
13661
|
-
|
|
13302
|
+
<p>Modified the stock Select widget to accept choices using a dict() for a label. The dict for each option must include
|
|
13662
13303
|
'label' (string) and 'disabled' (boolean).</p>
|
|
13663
13304
|
|
|
13664
13305
|
|
|
13665
13306
|
|
|
13666
13307
|
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
13308
|
<div class="doc doc-children">
|
|
13673
13309
|
|
|
13674
13310
|
|
|
@@ -13700,15 +13336,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13700
13336
|
|
|
13701
13337
|
<div class="doc doc-contents ">
|
|
13702
13338
|
<p class="doc doc-class-bases">
|
|
13703
|
-
Bases: <code><
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
<p>Include the primary key of each option in the option label (e.g. "Router7 (4721)").</p>
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13339
|
+
Bases: <code><autoref identifier="nautobot.core.forms.widgets.StaticSelect2" optional hover>StaticSelect2</autoref></code></p>
|
|
13710
13340
|
|
|
13711
13341
|
|
|
13342
|
+
<p>Include the primary key of each option in the option label (e.g. "Router7 (4721)").</p>
|
|
13712
13343
|
|
|
13713
13344
|
|
|
13714
13345
|
|
|
@@ -13744,15 +13375,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13744
13375
|
|
|
13745
13376
|
<div class="doc doc-contents ">
|
|
13746
13377
|
<p class="doc doc-class-bases">
|
|
13747
|
-
Bases: <code><
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
<p>Extend the built-in SlugField to automatically populate from a field called <code>name</code> unless otherwise specified.</p>
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13378
|
+
Bases: <code><autoref identifier="django.forms.SlugField" optional hover>SlugField</autoref></code></p>
|
|
13754
13379
|
|
|
13755
13380
|
|
|
13381
|
+
<p>Extend the built-in SlugField to automatically populate from a field called <code>name</code> unless otherwise specified.</p>
|
|
13756
13382
|
|
|
13757
13383
|
|
|
13758
13384
|
|
|
@@ -13778,7 +13404,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13778
13404
|
|
|
13779
13405
|
<div class="doc doc-contents ">
|
|
13780
13406
|
|
|
13781
|
-
|
|
13407
|
+
<p>Instantiate a SlugField.</p>
|
|
13782
13408
|
|
|
13783
13409
|
|
|
13784
13410
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -13793,11 +13419,9 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13793
13419
|
</thead>
|
|
13794
13420
|
<tbody>
|
|
13795
13421
|
<tr class="doc-section-item">
|
|
13422
|
+
<td><code>slug_source</code></td>
|
|
13796
13423
|
<td>
|
|
13797
|
-
|
|
13798
|
-
</td>
|
|
13799
|
-
<td>
|
|
13800
|
-
<code>(str, tuple)</code>
|
|
13424
|
+
<code>(<autoref identifier="str" optional>str</autoref>, <autoref identifier="tuple" optional>tuple</autoref>)</code>
|
|
13801
13425
|
</td>
|
|
13802
13426
|
<td>
|
|
13803
13427
|
<div class="doc-md-description">
|
|
@@ -13836,15 +13460,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13836
13460
|
|
|
13837
13461
|
<div class="doc doc-contents ">
|
|
13838
13462
|
<p class="doc doc-class-bases">
|
|
13839
|
-
Bases: <code><
|
|
13840
|
-
|
|
13841
|
-
|
|
13842
|
-
<p>Subclass TextInput and add a slug regeneration button next to the form field.</p>
|
|
13843
|
-
|
|
13844
|
-
|
|
13845
|
-
|
|
13463
|
+
Bases: <code><autoref identifier="django.forms.TextInput" optional hover>TextInput</autoref></code></p>
|
|
13846
13464
|
|
|
13847
13465
|
|
|
13466
|
+
<p>Subclass TextInput and add a slug regeneration button next to the form field.</p>
|
|
13848
13467
|
|
|
13849
13468
|
|
|
13850
13469
|
|
|
@@ -13880,15 +13499,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13880
13499
|
|
|
13881
13500
|
<div class="doc doc-contents ">
|
|
13882
13501
|
<p class="doc doc-class-bases">
|
|
13883
|
-
Bases: <code><
|
|
13884
|
-
|
|
13885
|
-
|
|
13886
|
-
<p>Subclass used for rendering a smaller textarea element.</p>
|
|
13887
|
-
|
|
13888
|
-
|
|
13889
|
-
|
|
13502
|
+
Bases: <code><autoref identifier="django.forms.Textarea" optional hover>Textarea</autoref></code></p>
|
|
13890
13503
|
|
|
13891
13504
|
|
|
13505
|
+
<p>Subclass used for rendering a smaller textarea element.</p>
|
|
13892
13506
|
|
|
13893
13507
|
|
|
13894
13508
|
</div>
|
|
@@ -13908,15 +13522,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13908
13522
|
|
|
13909
13523
|
<div class="doc doc-contents ">
|
|
13910
13524
|
<p class="doc doc-class-bases">
|
|
13911
|
-
Bases: <code><
|
|
13912
|
-
|
|
13913
|
-
|
|
13914
|
-
<p>A static <select> form widget using the Select2 library.</p>
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
-
|
|
13525
|
+
Bases: <code><autoref identifier="nautobot.core.forms.widgets.SelectWithDisabled" optional hover>SelectWithDisabled</autoref></code></p>
|
|
13918
13526
|
|
|
13919
13527
|
|
|
13528
|
+
<p>A static <select> form widget using the Select2 library.</p>
|
|
13920
13529
|
|
|
13921
13530
|
|
|
13922
13531
|
|
|
@@ -13952,15 +13561,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13952
13561
|
|
|
13953
13562
|
<div class="doc doc-contents ">
|
|
13954
13563
|
<p class="doc doc-class-bases">
|
|
13955
|
-
Bases: <code><
|
|
13956
|
-
|
|
13957
|
-
|
|
13958
|
-
<p>Mixin to add non-required <code>status</code> choice field to forms.</p>
|
|
13959
|
-
|
|
13960
|
-
|
|
13961
|
-
|
|
13564
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
13962
13565
|
|
|
13963
13566
|
|
|
13567
|
+
<p>Mixin to add non-required <code>status</code> choice field to forms.</p>
|
|
13964
13568
|
|
|
13965
13569
|
|
|
13966
13570
|
|
|
@@ -13996,15 +13600,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
13996
13600
|
|
|
13997
13601
|
<div class="doc doc-contents ">
|
|
13998
13602
|
<p class="doc doc-class-bases">
|
|
13999
|
-
Bases: <code><
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
<p>Mixin to add non-required <code>status</code> multiple-choice field to filter forms.</p>
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
13603
|
+
Bases: <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
14006
13604
|
|
|
14007
13605
|
|
|
13606
|
+
<p>Mixin to add non-required <code>status</code> multiple-choice field to filter forms.</p>
|
|
14008
13607
|
|
|
14009
13608
|
|
|
14010
13609
|
|
|
@@ -14040,15 +13639,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14040
13639
|
|
|
14041
13640
|
<div class="doc doc-contents ">
|
|
14042
13641
|
<p class="doc doc-class-bases">
|
|
14043
|
-
Bases: <code><
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
<p>Form for configuring user's table preferences.</p>
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
13642
|
+
Bases: <code><autoref identifier="nautobot.core.forms.forms.BootstrapMixin" optional hover>BootstrapMixin</autoref></code>, <code><autoref identifier="django.forms.Form" optional hover>Form</autoref></code></p>
|
|
14050
13643
|
|
|
14051
13644
|
|
|
13645
|
+
<p>Form for configuring user's table preferences.</p>
|
|
14052
13646
|
|
|
14053
13647
|
|
|
14054
13648
|
|
|
@@ -14084,20 +13678,15 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14084
13678
|
|
|
14085
13679
|
<div class="doc doc-contents ">
|
|
14086
13680
|
<p class="doc doc-class-bases">
|
|
14087
|
-
Bases: <code><
|
|
13681
|
+
Bases: <code><autoref identifier="nautobot.core.forms.fields.DynamicModelMultipleChoiceField" optional hover>DynamicModelMultipleChoiceField</autoref></code></p>
|
|
14088
13682
|
|
|
14089
13683
|
|
|
14090
|
-
|
|
13684
|
+
<p>A filter field for the tags of a model. Only the tags used by a model are displayed.</p>
|
|
14091
13685
|
<p>:param model: The model of the filter</p>
|
|
14092
13686
|
|
|
14093
13687
|
|
|
14094
13688
|
|
|
14095
13689
|
|
|
14096
|
-
|
|
14097
|
-
|
|
14098
|
-
|
|
14099
|
-
|
|
14100
|
-
|
|
14101
13690
|
<div class="doc doc-children">
|
|
14102
13691
|
|
|
14103
13692
|
|
|
@@ -14129,15 +13718,10 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14129
13718
|
|
|
14130
13719
|
<div class="doc doc-contents ">
|
|
14131
13720
|
<p class="doc doc-class-bases">
|
|
14132
|
-
Bases: <code><
|
|
14133
|
-
|
|
14134
|
-
|
|
14135
|
-
<p>Time picker using Flatpickr.</p>
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
13721
|
+
Bases: <code><autoref identifier="django.forms.TextInput" optional hover>TextInput</autoref></code></p>
|
|
14139
13722
|
|
|
14140
13723
|
|
|
13724
|
+
<p>Time picker using Flatpickr.</p>
|
|
14141
13725
|
|
|
14142
13726
|
|
|
14143
13727
|
|
|
@@ -14172,7 +13756,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14172
13756
|
|
|
14173
13757
|
<div class="doc doc-contents ">
|
|
14174
13758
|
|
|
14175
|
-
|
|
13759
|
+
<p>Add a blank choice to the beginning of a choices list.</p>
|
|
14176
13760
|
|
|
14177
13761
|
</div>
|
|
14178
13762
|
|
|
@@ -14189,7 +13773,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14189
13773
|
|
|
14190
13774
|
<div class="doc doc-contents ">
|
|
14191
13775
|
|
|
14192
|
-
|
|
13776
|
+
<p>Attach a field to an existing filter form class.</p>
|
|
14193
13777
|
|
|
14194
13778
|
</div>
|
|
14195
13779
|
|
|
@@ -14206,7 +13790,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14206
13790
|
|
|
14207
13791
|
<div class="doc doc-contents ">
|
|
14208
13792
|
|
|
14209
|
-
|
|
13793
|
+
<p>Expand an alphabetic pattern into a list of strings.</p>
|
|
14210
13794
|
|
|
14211
13795
|
</div>
|
|
14212
13796
|
|
|
@@ -14223,7 +13807,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14223
13807
|
|
|
14224
13808
|
<div class="doc doc-contents ">
|
|
14225
13809
|
|
|
14226
|
-
|
|
13810
|
+
<p>Expand an IP address pattern into a list of strings. Examples:
|
|
14227
13811
|
'192.0.2.[1,2,100-250]/24' => ['192.0.2.1/24', '192.0.2.2/24', '192.0.2.100/24' ... '192.0.2.250/24']
|
|
14228
13812
|
'2001:db8:0:[0,fd-ff]::/64' => ['2001:db8:0:0::/64', '2001:db8:0:fd::/64', ... '2001:db8:0:ff::/64']</p>
|
|
14229
13813
|
|
|
@@ -14242,7 +13826,7 @@ Then verify that any requested RelationshipAssociations do not violate relations
|
|
|
14242
13826
|
|
|
14243
13827
|
<div class="doc doc-contents ">
|
|
14244
13828
|
|
|
14245
|
-
|
|
13829
|
+
<p>Return a Form class with the specified fields derived from a model. This is useful when we need a form to be used
|
|
14246
13830
|
for creating objects, but want to avoid the model's validation (e.g. for bulk create/edit functions). All fields
|
|
14247
13831
|
are marked as not required.</p>
|
|
14248
13832
|
|
|
@@ -14261,7 +13845,7 @@ are marked as not required.</p>
|
|
|
14261
13845
|
|
|
14262
13846
|
<div class="doc doc-contents ">
|
|
14263
13847
|
|
|
14264
|
-
|
|
13848
|
+
<p>Expand an alphanumeric range (continuous or not) into a list.
|
|
14265
13849
|
'a-d,f' => [a, b, c, d, f]
|
|
14266
13850
|
'0-3,a-d' => [0, 1, 2, 3, a, b, c, d]</p>
|
|
14267
13851
|
|
|
@@ -14280,7 +13864,7 @@ are marked as not required.</p>
|
|
|
14280
13864
|
|
|
14281
13865
|
<div class="doc doc-contents ">
|
|
14282
13866
|
|
|
14283
|
-
|
|
13867
|
+
<p>Expand a numeric range (continuous or not) into a sorted decimal or
|
|
14284
13868
|
hexadecimal list, as specified by the base parameter
|
|
14285
13869
|
'0-3,5' => [0, 1, 2, 3, 5]
|
|
14286
13870
|
'2,8-b,d,f' => [2, 8, 9, a, b, d, f]</p>
|
|
@@ -14300,7 +13884,7 @@ hexadecimal list, as specified by the base parameter
|
|
|
14300
13884
|
|
|
14301
13885
|
<div class="doc doc-contents ">
|
|
14302
13886
|
|
|
14303
|
-
|
|
13887
|
+
<p>Restrict all form fields which reference a RestrictedQuerySet. This ensures that users see only permitted objects
|
|
14304
13888
|
as available choices.</p>
|
|
14305
13889
|
|
|
14306
13890
|
</div>
|
|
@@ -14460,7 +14044,7 @@ as available choices.</p>
|
|
|
14460
14044
|
<script id="__config" type="application/json">{"base": "../../..", "features": ["content.code.annotate", "content.code.copy", "content.tabs.link", "navigation.footer", "navigation.tabs", "navigation.tabs.sticky", "navigation.tracking", "search.highlight", "search.share", "search.suggest"], "search": "../../../assets/javascripts/workers/search.6ce7567c.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
14461
14045
|
|
|
14462
14046
|
|
|
14463
|
-
<script src="../../../assets/javascripts/bundle.
|
|
14047
|
+
<script src="../../../assets/javascripts/bundle.83f73b43.min.js"></script>
|
|
14464
14048
|
|
|
14465
14049
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
|
14466
14050
|
|