nautobot 2.4.13__py3-none-any.whl → 2.4.15__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/choices.py +8 -0
- nautobot/apps/ui.py +14 -0
- nautobot/core/api/views.py +2 -0
- nautobot/core/choices.py +4 -0
- nautobot/core/filters.py +21 -41
- nautobot/core/graphql/generators.py +8 -0
- nautobot/core/graphql/schema.py +30 -30
- nautobot/core/management/commands/check_job_approval_status.py +47 -0
- nautobot/core/management/commands/generate_test_data.py +1 -1
- nautobot/core/management/commands/migrate.py +90 -1
- nautobot/core/models/tree_queries.py +17 -0
- nautobot/core/settings.py +2 -2
- nautobot/core/settings.yaml +3 -3
- nautobot/core/tables.py +29 -6
- nautobot/core/templates/base_django.html +1 -1
- nautobot/core/templates/components/panel/header_extra_content_table.html +1 -1
- nautobot/core/templates/generic/object_list.html +17 -20
- nautobot/core/templates/inc/breadcrumbs.html +14 -0
- nautobot/core/templatetags/buttons.py +2 -4
- nautobot/core/templatetags/helpers.py +29 -6
- nautobot/core/templatetags/ui_framework.py +21 -0
- nautobot/core/testing/api.py +7 -0
- nautobot/core/testing/filters.py +20 -3
- nautobot/core/testing/forms.py +1 -1
- nautobot/core/tests/integration/test_filters.py +2 -2
- nautobot/core/tests/test_breadcrumbs.py +366 -0
- nautobot/core/tests/test_commands.py +40 -0
- nautobot/core/tests/test_filters.py +51 -1
- nautobot/core/tests/test_forms.py +1 -1
- nautobot/core/tests/test_graphql.py +4 -4
- nautobot/core/tests/test_titles.py +183 -0
- nautobot/core/tests/test_tree_queries.py +30 -0
- nautobot/core/tests/test_views.py +2 -2
- nautobot/core/tests/test_views_utils.py +1 -1
- nautobot/core/ui/breadcrumbs.py +538 -0
- nautobot/core/ui/bulk_buttons.py +53 -0
- nautobot/core/ui/object_detail.py +31 -8
- nautobot/core/ui/titles.py +127 -0
- nautobot/core/ui/utils.py +25 -0
- nautobot/core/utils/migrations.py +1 -1
- nautobot/core/views/__init__.py +1 -1
- nautobot/core/views/mixins.py +26 -1
- nautobot/core/views/renderers.py +20 -2
- nautobot/core/views/utils.py +14 -13
- nautobot/dcim/api/serializers.py +9 -0
- nautobot/dcim/choices.py +55 -0
- nautobot/dcim/constants.py +0 -16
- nautobot/dcim/factory.py +1 -1
- nautobot/dcim/filters/__init__.py +15 -3
- nautobot/dcim/forms.py +120 -7
- nautobot/dcim/management/commands/trace_paths.py +1 -1
- nautobot/dcim/migrations/0072_alter_powerfeed_options_and_more.py +97 -0
- nautobot/dcim/models/device_component_templates.py +8 -0
- nautobot/dcim/models/device_components.py +31 -12
- nautobot/dcim/models/devices.py +1 -1
- nautobot/dcim/models/power.py +171 -10
- nautobot/dcim/models/racks.py +7 -4
- nautobot/dcim/tables/devices.py +2 -0
- nautobot/dcim/tables/devicetypes.py +1 -0
- nautobot/dcim/tables/power.py +30 -2
- nautobot/dcim/templates/dcim/device.html +2 -2
- nautobot/dcim/templates/dcim/devicetype_retrieve.html +1 -214
- nautobot/dcim/templates/dcim/location_retrieve.html +2 -2
- nautobot/dcim/templates/dcim/powerfeed_edit.html +8 -0
- nautobot/dcim/templates/dcim/powerfeed_retrieve.html +1 -1
- nautobot/dcim/templates/dcim/rack.html +2 -318
- nautobot/dcim/templates/dcim/rack_edit.html +2 -47
- nautobot/dcim/templates/dcim/rack_retrieve.html +318 -0
- nautobot/dcim/templates/dcim/rack_update.html +47 -0
- nautobot/dcim/tests/integration/test_device_bulk_operations.py +61 -0
- nautobot/dcim/tests/test_api.py +24 -4
- nautobot/dcim/tests/test_filters.py +91 -13
- nautobot/dcim/tests/test_models.py +262 -0
- nautobot/dcim/tests/test_views.py +20 -12
- nautobot/dcim/urls.py +2 -27
- nautobot/dcim/utils.py +13 -30
- nautobot/dcim/views.py +428 -146
- nautobot/extras/choices.py +12 -4
- nautobot/extras/factory.py +19 -20
- nautobot/extras/filters/__init__.py +3 -2
- nautobot/extras/filters/mixins.py +23 -7
- nautobot/extras/forms/__init__.py +2 -1
- nautobot/extras/forms/forms.py +71 -0
- nautobot/extras/forms/mixins.py +4 -2
- nautobot/extras/managers.py +4 -1
- nautobot/extras/migrations/0062_collect_roles_from_related_apps_roles.py +30 -7
- nautobot/extras/migrations/0124_add_joblogentry_index.py +16 -0
- nautobot/extras/migrations/0125_jobresult_date_started.py +18 -0
- nautobot/extras/models/customfields.py +53 -5
- nautobot/extras/models/datasources.py +1 -2
- nautobot/extras/models/jobs.py +13 -3
- nautobot/extras/models/relationships.py +55 -6
- nautobot/extras/plugins/views.py +24 -1
- nautobot/extras/secrets/__init__.py +1 -1
- nautobot/extras/tables.py +9 -0
- nautobot/extras/templates/extras/customfield.html +2 -129
- nautobot/extras/templates/extras/customfield_edit.html +2 -108
- nautobot/extras/templates/extras/customfield_retrieve.html +129 -0
- nautobot/extras/templates/extras/customfield_update.html +108 -0
- nautobot/extras/templates/extras/graphqlquery.html +2 -97
- nautobot/extras/templates/extras/graphqlquery_list.html +1 -0
- nautobot/extras/templates/extras/graphqlquery_retrieve.html +97 -0
- nautobot/extras/templates/extras/inc/jobresult.html +7 -3
- nautobot/extras/templates/extras/jobresult.html +2 -155
- nautobot/extras/templates/extras/jobresult_retrieve.html +155 -0
- nautobot/extras/templates/extras/marketplace.html +5 -6
- nautobot/extras/templates/extras/note.html +2 -53
- nautobot/extras/templates/extras/note_retrieve.html +53 -0
- nautobot/extras/templates/extras/plugins_list.html +5 -6
- nautobot/extras/templates/extras/secretsgroup.html +2 -29
- nautobot/extras/templates/extras/secretsgroup_edit.html +2 -82
- nautobot/extras/templates/extras/secretsgroup_retrieve.html +29 -0
- nautobot/extras/templates/extras/secretsgroup_update.html +82 -0
- nautobot/extras/templatetags/custom_links.py +2 -2
- nautobot/extras/templatetags/job_buttons.py +1 -1
- nautobot/extras/templatetags/plugins.py +1 -1
- nautobot/extras/tests/integration/test_computedfields.py +2 -2
- nautobot/extras/tests/integration/test_customfields.py +14 -11
- nautobot/extras/tests/integration/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/integration/test_notes.py +1 -1
- nautobot/extras/tests/integration/test_plugins.py +6 -6
- nautobot/extras/tests/integration/test_relationships.py +2 -2
- nautobot/extras/tests/test_customfields.py +115 -7
- nautobot/extras/tests/test_filters.py +9 -0
- nautobot/extras/tests/test_forms.py +2 -2
- nautobot/extras/tests/test_plugins.py +2 -3
- nautobot/extras/tests/test_relationships.py +14 -8
- nautobot/extras/tests/test_views.py +285 -2
- nautobot/extras/urls.py +5 -110
- nautobot/extras/utils.py +5 -2
- nautobot/extras/views.py +116 -311
- nautobot/ipam/api/views.py +69 -6
- nautobot/ipam/tables.py +8 -15
- nautobot/ipam/tests/migration/test_migrations.py +8 -8
- nautobot/ipam/tests/test_api.py +352 -2
- nautobot/ipam/tests/test_models.py +1 -1
- nautobot/project-static/docs/404.html +34 -34
- nautobot/project-static/docs/apps/index.html +34 -34
- nautobot/project-static/docs/apps/nautobot-apps.html +34 -34
- nautobot/project-static/docs/assets/_mkdocstrings.css +44 -6
- nautobot/project-static/docs/assets/javascripts/{bundle.56ea9cef.min.js → bundle.50899def.min.js} +2 -2
- nautobot/project-static/docs/assets/javascripts/{bundle.56ea9cef.min.js.map → bundle.50899def.min.js.map} +2 -2
- nautobot/project-static/docs/assets/stylesheets/{main.342714a4.min.css → main.7e37652d.min.css} +1 -1
- nautobot/project-static/docs/assets/stylesheets/{main.342714a4.min.css.map → main.7e37652d.min.css.map} +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +39 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +139 -54
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +48 -38
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +50 -40
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +35 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +43 -39
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +52 -42
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +50 -41
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +54 -44
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +85 -93
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +154 -62
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +54 -46
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +146 -87
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +240 -70
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +38 -35
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +41 -35
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +173 -52
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +269 -85
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +5987 -2643
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +165 -89
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +161 -69
- nautobot/project-static/docs/development/apps/api/configuration-view.html +34 -34
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/global-search.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/graphql.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +34 -34
- nautobot/project-static/docs/development/apps/api/prometheus.html +34 -34
- nautobot/project-static/docs/development/apps/api/setup.html +34 -34
- nautobot/project-static/docs/development/apps/api/testing.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/base-template.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +42 -36
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/notes.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/urls.html +34 -34
- nautobot/project-static/docs/development/apps/index.html +34 -34
- nautobot/project-static/docs/development/apps/migration/code-updates.html +34 -34
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +34 -34
- nautobot/project-static/docs/development/apps/migration/from-v1.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +37 -37
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/breadcrumbs-titles.html +10544 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +34 -34
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +37 -37
- nautobot/project-static/docs/development/core/application-registry.html +162 -133
- nautobot/project-static/docs/development/core/best-practices.html +34 -34
- nautobot/project-static/docs/development/core/bootstrap-ui.html +34 -34
- nautobot/project-static/docs/development/core/caching.html +34 -34
- nautobot/project-static/docs/development/core/controllers.html +34 -34
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +34 -34
- nautobot/project-static/docs/development/core/generic-views.html +34 -34
- nautobot/project-static/docs/development/core/getting-started.html +34 -34
- nautobot/project-static/docs/development/core/homepage.html +34 -34
- nautobot/project-static/docs/development/core/index.html +34 -34
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +34 -34
- nautobot/project-static/docs/development/core/model-checklist.html +34 -34
- nautobot/project-static/docs/development/core/model-features.html +34 -34
- nautobot/project-static/docs/development/core/natural-keys.html +34 -34
- nautobot/project-static/docs/development/core/navigation-menu.html +34 -34
- nautobot/project-static/docs/development/core/release-checklist.html +34 -34
- nautobot/project-static/docs/development/core/role-internals.html +34 -34
- nautobot/project-static/docs/development/core/settings.html +34 -34
- nautobot/project-static/docs/development/core/style-guide.html +34 -34
- nautobot/project-static/docs/development/core/templates.html +34 -34
- nautobot/project-static/docs/development/core/testing.html +34 -34
- nautobot/project-static/docs/development/core/ui-component-framework.html +724 -289
- nautobot/project-static/docs/development/core/user-preferences.html +34 -34
- nautobot/project-static/docs/development/index.html +34 -34
- nautobot/project-static/docs/development/jobs/getting-started.html +34 -34
- nautobot/project-static/docs/development/jobs/index.html +34 -34
- nautobot/project-static/docs/development/jobs/installation.html +34 -34
- nautobot/project-static/docs/development/jobs/job-extensions.html +34 -34
- nautobot/project-static/docs/development/jobs/job-logging.html +34 -34
- nautobot/project-static/docs/development/jobs/job-patterns.html +34 -34
- nautobot/project-static/docs/development/jobs/job-structure.html +34 -34
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +34 -34
- nautobot/project-static/docs/development/jobs/testing.html +34 -34
- nautobot/project-static/docs/index.html +34 -34
- nautobot/project-static/docs/media/development/core/ui-component-framework/breadcrumbs-titles-data-flow.png +0 -0
- nautobot/project-static/docs/media/power_distribution.png +0 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +34 -34
- nautobot/project-static/docs/overview/design_philosophy.html +34 -34
- nautobot/project-static/docs/release-notes/index.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.0.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.1.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.2.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.3.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.4.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.5.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.6.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.0.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.1.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.2.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.3.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.4.html +402 -34
- nautobot/project-static/docs/requirements.txt +3 -3
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +303 -299
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +37 -37
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/services.html +34 -34
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +34 -34
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +34 -34
- nautobot/project-static/docs/user-guide/administration/security/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/security/notices.html +34 -34
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +296 -251
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +37 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +42 -52
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +37 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +316 -39
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +35 -35
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +147 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +52 -35
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +51 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +34 -34
- nautobot/project-static/docs/user-guide/index.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +35 -35
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +34 -34
- nautobot/tenancy/api/views.py +2 -1
- nautobot/users/tests/test_api.py +2 -2
- nautobot/virtualization/templates/virtualization/virtualmachine.html +2 -252
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +2 -75
- nautobot/virtualization/templates/virtualization/virtualmachine_retrieve.html +252 -0
- nautobot/virtualization/templates/virtualization/virtualmachine_update.html +75 -0
- nautobot/virtualization/urls.py +3 -61
- nautobot/virtualization/views.py +48 -72
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/METADATA +27 -27
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/RECORD +463 -439
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/NOTICE +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/WHEEL +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.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.6.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.6.16">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
29
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.7e37652d.min.css">
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<link rel="stylesheet" href="../../../assets/stylesheets/palette.06af60db.min.css">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
<style>:root{--md-admonition-icon--example:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C%21--%21%20Font%20Awesome%20Free%
|
|
41
|
+
<style>:root{--md-admonition-icon--example:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C%21--%21%20Font%20Awesome%20Free%207.0.0%20by%20%40fontawesome%20-%20https%3A//fontawesome.com%20License%20-%20https%3A//fontawesome.com/license/free%20%28Icons%3A%20CC%20BY%204.0%2C%20Fonts%3A%20SIL%20OFL%201.1%2C%20Code%3A%20MIT%20License%29%20Copyright%202025%20Fonticons%2C%20Inc.--%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M288%200H128c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032v151.5L7.5%20426.3C2.6%20435%200%20444.7%200%20454.7%200%20486.4%2025.6%20512%2057.3%20512h333.4c31.6%200%2057.3-25.6%2057.3-57.3%200-10-2.6-19.8-7.5-28.4L320%20215.5V64c17.7%200%2032-14.3%2032-32S337.7%200%20320%200zm-96%20215.5V64h64v151.5c0%2011.1%202.9%2022.1%208.4%2031.8L306%20320H142l41.6-72.7c5.5-9.7%208.4-20.6%208.4-31.8%22/%3E%3C/svg%3E');}</style>
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
<a href="https://github.com/nautobot/nautobot" title="Go to repository" class="md-source" data-md-component="source">
|
|
221
221
|
<div class="md-source__icon md-icon">
|
|
222
222
|
|
|
223
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
223
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
|
|
224
224
|
</div>
|
|
225
225
|
<div class="md-source__repository">
|
|
226
226
|
GitHub
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
<a href="https://github.com/nautobot/nautobot" title="Go to repository" class="md-source" data-md-component="source">
|
|
393
393
|
<div class="md-source__icon md-icon">
|
|
394
394
|
|
|
395
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
395
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
|
|
396
396
|
</div>
|
|
397
397
|
<div class="md-source__repository">
|
|
398
398
|
GitHub
|
|
@@ -4004,29 +4004,6 @@
|
|
|
4004
4004
|
|
|
4005
4005
|
|
|
4006
4006
|
|
|
4007
|
-
<li class="md-nav__item">
|
|
4008
|
-
<a href="../../../user-guide/core-data-model/dcim/inventoryitem.html" class="md-nav__link">
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
<span class="md-ellipsis">
|
|
4013
|
-
Inventory Item
|
|
4014
|
-
|
|
4015
|
-
</span>
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
</a>
|
|
4019
|
-
</li>
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
4007
|
<li class="md-nav__item">
|
|
4031
4008
|
<a href="../../../user-guide/core-data-model/dcim/modulebay.html" class="md-nav__link">
|
|
4032
4009
|
|
|
@@ -9453,6 +9430,29 @@
|
|
|
9453
9430
|
|
|
9454
9431
|
|
|
9455
9432
|
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
|
|
9436
|
+
|
|
9437
|
+
|
|
9438
|
+
|
|
9439
|
+
<li class="md-nav__item">
|
|
9440
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
9441
|
+
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
<span class="md-ellipsis">
|
|
9445
|
+
Breadcrumbs and titles
|
|
9446
|
+
|
|
9447
|
+
</span>
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
</a>
|
|
9451
|
+
</li>
|
|
9452
|
+
|
|
9453
|
+
|
|
9454
|
+
|
|
9455
|
+
|
|
9456
9456
|
</ul>
|
|
9457
9457
|
</nav>
|
|
9458
9458
|
|
|
@@ -11582,6 +11582,7 @@
|
|
|
11582
11582
|
|
|
11583
11583
|
|
|
11584
11584
|
|
|
11585
|
+
|
|
11585
11586
|
<div class="doc doc-children">
|
|
11586
11587
|
|
|
11587
11588
|
|
|
@@ -11604,7 +11605,7 @@
|
|
|
11604
11605
|
|
|
11605
11606
|
<div class="doc doc-contents ">
|
|
11606
11607
|
<p class="doc doc-class-bases">
|
|
11607
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
11608
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
11608
11609
|
|
|
11609
11610
|
|
|
11610
11611
|
<p>Helper class to get ContentType for models that implements the to_objectchange method for change logging.</p>
|
|
@@ -11617,6 +11618,7 @@
|
|
|
11617
11618
|
|
|
11618
11619
|
|
|
11619
11620
|
|
|
11621
|
+
|
|
11620
11622
|
<div class="doc doc-children">
|
|
11621
11623
|
|
|
11622
11624
|
|
|
@@ -11640,6 +11642,7 @@
|
|
|
11640
11642
|
|
|
11641
11643
|
<p>Return a list of classes that implement the to_objectchange method</p>
|
|
11642
11644
|
|
|
11645
|
+
|
|
11643
11646
|
</div>
|
|
11644
11647
|
|
|
11645
11648
|
</div>
|
|
@@ -11677,6 +11680,7 @@ until it has been populated.</p>
|
|
|
11677
11680
|
|
|
11678
11681
|
|
|
11679
11682
|
|
|
11683
|
+
|
|
11680
11684
|
<div class="doc doc-children">
|
|
11681
11685
|
|
|
11682
11686
|
|
|
@@ -11702,6 +11706,7 @@ until it has been populated.</p>
|
|
|
11702
11706
|
<p>Misnamed, as it returns an iterable of (key, value) (i.e. dict.items()) rather than an actual dict.</p>
|
|
11703
11707
|
<p>Raises a KeyError if the given feature doesn't exist.</p>
|
|
11704
11708
|
|
|
11709
|
+
|
|
11705
11710
|
</div>
|
|
11706
11711
|
|
|
11707
11712
|
</div>
|
|
@@ -11724,6 +11729,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11724
11729
|
</code></pre></div>
|
|
11725
11730
|
<p>Cache is cleared by post_migrate signal (nautobot.extras.signals.post_migrate_clear_content_type_caches).</p>
|
|
11726
11731
|
|
|
11732
|
+
|
|
11727
11733
|
</div>
|
|
11728
11734
|
|
|
11729
11735
|
</div>
|
|
@@ -11741,6 +11747,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11741
11747
|
|
|
11742
11748
|
<p>Given an extras feature, return a Q object for content type lookup</p>
|
|
11743
11749
|
|
|
11750
|
+
|
|
11744
11751
|
</div>
|
|
11745
11752
|
|
|
11746
11753
|
</div>
|
|
@@ -11759,6 +11766,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11759
11766
|
<p>Return a list of model classes that declare this feature.</p>
|
|
11760
11767
|
<p>Cache is cleared by post_migrate signal (nautobot.extras.signals.post_migrate_clear_content_type_caches).</p>
|
|
11761
11768
|
|
|
11769
|
+
|
|
11762
11770
|
</div>
|
|
11763
11771
|
|
|
11764
11772
|
</div>
|
|
@@ -11795,6 +11803,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11795
11803
|
|
|
11796
11804
|
|
|
11797
11805
|
|
|
11806
|
+
|
|
11798
11807
|
<div class="doc doc-children">
|
|
11799
11808
|
|
|
11800
11809
|
|
|
@@ -11818,6 +11827,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11818
11827
|
|
|
11819
11828
|
<p>Given an extras feature, return a Q object for content type lookup</p>
|
|
11820
11829
|
|
|
11830
|
+
|
|
11821
11831
|
</div>
|
|
11822
11832
|
|
|
11823
11833
|
</div>
|
|
@@ -11835,6 +11845,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11835
11845
|
|
|
11836
11846
|
<p>Return a list of classes that has implements this <code>name</code>.</p>
|
|
11837
11847
|
|
|
11848
|
+
|
|
11838
11849
|
</div>
|
|
11839
11850
|
|
|
11840
11851
|
</div>
|
|
@@ -11869,6 +11880,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11869
11880
|
|
|
11870
11881
|
|
|
11871
11882
|
|
|
11883
|
+
|
|
11872
11884
|
<div class="doc doc-children">
|
|
11873
11885
|
|
|
11874
11886
|
|
|
@@ -11894,6 +11906,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11894
11906
|
<div class="doc doc-contents ">
|
|
11895
11907
|
|
|
11896
11908
|
<p>Current checked out repository head commit.</p>
|
|
11909
|
+
|
|
11897
11910
|
</div>
|
|
11898
11911
|
|
|
11899
11912
|
</div>
|
|
@@ -11930,7 +11943,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11930
11943
|
<code>path</code>
|
|
11931
11944
|
</td>
|
|
11932
11945
|
<td>
|
|
11933
|
-
<code>str</code>
|
|
11946
|
+
<code><span title="str">str</span></code>
|
|
11934
11947
|
</td>
|
|
11935
11948
|
<td>
|
|
11936
11949
|
<div class="doc-md-description">
|
|
@@ -11946,7 +11959,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11946
11959
|
<code>url</code>
|
|
11947
11960
|
</td>
|
|
11948
11961
|
<td>
|
|
11949
|
-
<code>str</code>
|
|
11962
|
+
<code><span title="str">str</span></code>
|
|
11950
11963
|
</td>
|
|
11951
11964
|
<td>
|
|
11952
11965
|
<div class="doc-md-description">
|
|
@@ -11962,7 +11975,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11962
11975
|
<code>clone_initially</code>
|
|
11963
11976
|
</td>
|
|
11964
11977
|
<td>
|
|
11965
|
-
<code>bool</code>
|
|
11978
|
+
<code><span title="bool">bool</span></code>
|
|
11966
11979
|
</td>
|
|
11967
11980
|
<td>
|
|
11968
11981
|
<div class="doc-md-description">
|
|
@@ -11978,7 +11991,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11978
11991
|
<code>branch</code>
|
|
11979
11992
|
</td>
|
|
11980
11993
|
<td>
|
|
11981
|
-
<code>str</code>
|
|
11994
|
+
<code><span title="str">str</span></code>
|
|
11982
11995
|
</td>
|
|
11983
11996
|
<td>
|
|
11984
11997
|
<div class="doc-md-description">
|
|
@@ -11994,7 +12007,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
11994
12007
|
<code>depth</code>
|
|
11995
12008
|
</td>
|
|
11996
12009
|
<td>
|
|
11997
|
-
<code>int</code>
|
|
12010
|
+
<code><span title="int">int</span></code>
|
|
11998
12011
|
</td>
|
|
11999
12012
|
<td>
|
|
12000
12013
|
<div class="doc-md-description">
|
|
@@ -12008,6 +12021,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
12008
12021
|
</tbody>
|
|
12009
12022
|
</table>
|
|
12010
12023
|
|
|
12024
|
+
|
|
12011
12025
|
</div>
|
|
12012
12026
|
|
|
12013
12027
|
</div>
|
|
@@ -12042,7 +12056,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
12042
12056
|
<code>branch</code>
|
|
12043
12057
|
</td>
|
|
12044
12058
|
<td>
|
|
12045
|
-
<code>str</code>
|
|
12059
|
+
<code><span title="str">str</span></code>
|
|
12046
12060
|
</td>
|
|
12047
12061
|
<td>
|
|
12048
12062
|
<div class="doc-md-description">
|
|
@@ -12058,7 +12072,7 @@ suitable for use as <code>choices</code> on a choice field:</p>
|
|
|
12058
12072
|
<code>commit_hexsha</code>
|
|
12059
12073
|
</td>
|
|
12060
12074
|
<td>
|
|
12061
|
-
<code>str</code>
|
|
12075
|
+
<code><span title="str">str</span></code>
|
|
12062
12076
|
</td>
|
|
12063
12077
|
<td>
|
|
12064
12078
|
<div class="doc-md-description">
|
|
@@ -12086,7 +12100,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12086
12100
|
<tbody>
|
|
12087
12101
|
<tr class="doc-section-item">
|
|
12088
12102
|
<td>
|
|
12089
|
-
<code>(str
|
|
12103
|
+
<code>(<span title="str">str</span>, <span title="bool">bool</span>)</code>
|
|
12090
12104
|
</td>
|
|
12091
12105
|
<td>
|
|
12092
12106
|
<div class="doc-md-description">
|
|
@@ -12097,6 +12111,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12097
12111
|
</tbody>
|
|
12098
12112
|
</table>
|
|
12099
12113
|
|
|
12114
|
+
|
|
12100
12115
|
</div>
|
|
12101
12116
|
|
|
12102
12117
|
</div>
|
|
@@ -12122,7 +12137,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12122
12137
|
|
|
12123
12138
|
<div class="doc doc-contents ">
|
|
12124
12139
|
<p class="doc doc-class-bases">
|
|
12125
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12140
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12126
12141
|
|
|
12127
12142
|
|
|
12128
12143
|
<p>Helper class to get ContentType models that implements role.</p>
|
|
@@ -12135,6 +12150,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12135
12150
|
|
|
12136
12151
|
|
|
12137
12152
|
|
|
12153
|
+
|
|
12138
12154
|
<div class="doc doc-children">
|
|
12139
12155
|
|
|
12140
12156
|
|
|
@@ -12158,6 +12174,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12158
12174
|
|
|
12159
12175
|
<p>Return a list of classes that implements roles e.g roles = ...</p>
|
|
12160
12176
|
|
|
12177
|
+
|
|
12161
12178
|
</div>
|
|
12162
12179
|
|
|
12163
12180
|
</div>
|
|
@@ -12183,7 +12200,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12183
12200
|
|
|
12184
12201
|
<div class="doc doc-contents ">
|
|
12185
12202
|
<p class="doc doc-class-bases">
|
|
12186
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.extras.utils.FeaturedQueryMixin" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12203
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.utils.FeaturedQueryMixin (nautobot.extras.utils.FeaturedQueryMixin)" href="#nautobot.apps.utils.FeaturedQueryMixin">FeaturedQueryMixin</a></code></p>
|
|
12187
12204
|
|
|
12188
12205
|
|
|
12189
12206
|
<p>Helper class to get ContentType models that implements tags(TagsField)</p>
|
|
@@ -12196,6 +12213,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12196
12213
|
|
|
12197
12214
|
|
|
12198
12215
|
|
|
12216
|
+
|
|
12199
12217
|
<div class="doc doc-children">
|
|
12200
12218
|
|
|
12201
12219
|
|
|
@@ -12219,6 +12237,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12219
12237
|
|
|
12220
12238
|
<p>Return a list of classes that has implements tags e.g tags = TagsField(...)</p>
|
|
12221
12239
|
|
|
12240
|
+
|
|
12222
12241
|
</div>
|
|
12223
12242
|
|
|
12224
12243
|
</div>
|
|
@@ -12262,7 +12281,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12262
12281
|
<code>field_name</code>
|
|
12263
12282
|
</td>
|
|
12264
12283
|
<td>
|
|
12265
|
-
<code>str</code>
|
|
12284
|
+
<code><span title="str">str</span></code>
|
|
12266
12285
|
</td>
|
|
12267
12286
|
<td>
|
|
12268
12287
|
<div class="doc-md-description">
|
|
@@ -12278,7 +12297,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12278
12297
|
<code>_verbose_name</code>
|
|
12279
12298
|
</td>
|
|
12280
12299
|
<td>
|
|
12281
|
-
<code>str</code>
|
|
12300
|
+
<code><span title="str">str</span></code>
|
|
12282
12301
|
</td>
|
|
12283
12302
|
<td>
|
|
12284
12303
|
<div class="doc-md-description">
|
|
@@ -12298,6 +12317,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12298
12317
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="s2">"ends-with (iew)"</span>
|
|
12299
12318
|
</code></pre></div>
|
|
12300
12319
|
|
|
12320
|
+
|
|
12301
12321
|
</div>
|
|
12302
12322
|
|
|
12303
12323
|
</div>
|
|
@@ -12316,6 +12336,7 @@ If <code>commit_hexsha</code> is specified and <code>branch</code> is a branch n
|
|
|
12316
12336
|
<p>Helper method to check if a key field is Python/GraphQL safe.
|
|
12317
12337
|
Used in CustomField, ComputedField and Relationship models.</p>
|
|
12318
12338
|
|
|
12339
|
+
|
|
12319
12340
|
</div>
|
|
12320
12341
|
|
|
12321
12342
|
</div>
|
|
@@ -12333,6 +12354,7 @@ Used in CustomField, ComputedField and Relationship models.</p>
|
|
|
12333
12354
|
|
|
12334
12355
|
<p>Decorator to mark a class as deprecated with a custom message about what to do instead of subclassing it.</p>
|
|
12335
12356
|
|
|
12357
|
+
|
|
12336
12358
|
</div>
|
|
12337
12359
|
|
|
12338
12360
|
</div>
|
|
@@ -12350,6 +12372,7 @@ Used in CustomField, ComputedField and Relationship models.</p>
|
|
|
12350
12372
|
|
|
12351
12373
|
<p>Decorator to mark a class as deprecated and suggest a replacement class if it is subclassed from.</p>
|
|
12352
12374
|
|
|
12375
|
+
|
|
12353
12376
|
</div>
|
|
12354
12377
|
|
|
12355
12378
|
</div>
|
|
@@ -12374,6 +12397,7 @@ Example:
|
|
|
12374
12397
|
>>> print(convert_git_diff_log_to_list(git_log))
|
|
12375
12398
|
["Modification - index.html", "Renaming - sample.txt"]</p>
|
|
12376
12399
|
|
|
12400
|
+
|
|
12377
12401
|
</div>
|
|
12378
12402
|
|
|
12379
12403
|
</div>
|
|
@@ -12425,7 +12449,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12425
12449
|
<code>filterset</code>
|
|
12426
12450
|
</td>
|
|
12427
12451
|
<td>
|
|
12428
|
-
<code>FilterSet</code>
|
|
12452
|
+
<code><span title="FilterSet">FilterSet</span></code>
|
|
12429
12453
|
</td>
|
|
12430
12454
|
<td>
|
|
12431
12455
|
<div class="doc-md-description">
|
|
@@ -12456,6 +12480,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12456
12480
|
<a id="__codelineno-0-13" name="__codelineno-0-13" href="#__codelineno-0-13"></a><span class="gp">... </span><span class="p">}</span>
|
|
12457
12481
|
</code></pre></div>
|
|
12458
12482
|
|
|
12483
|
+
|
|
12459
12484
|
</div>
|
|
12460
12485
|
|
|
12461
12486
|
</div>
|
|
@@ -12474,6 +12499,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12474
12499
|
<p>Decorator that wraps a models existing clean method to also execute registered plugin custom validators</p>
|
|
12475
12500
|
<p>:param model_clean_func: The original model clean method which is to be wrapped</p>
|
|
12476
12501
|
|
|
12502
|
+
|
|
12477
12503
|
</div>
|
|
12478
12504
|
|
|
12479
12505
|
</div>
|
|
@@ -12491,6 +12517,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12491
12517
|
|
|
12492
12518
|
<p>Deep merge two dictionaries (new into original) and return a new dict</p>
|
|
12493
12519
|
|
|
12520
|
+
|
|
12494
12521
|
</div>
|
|
12495
12522
|
|
|
12496
12523
|
</div>
|
|
@@ -12509,6 +12536,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12509
12536
|
<p>Ensure <code>query_params</code> includes <code>content_type</code> and <code>field_name</code> and <code>content_type</code> is a valid ContentType.</p>
|
|
12510
12537
|
<p>Return the 'ContentTypes' model and 'field_name' if validation was successful.</p>
|
|
12511
12538
|
|
|
12539
|
+
|
|
12512
12540
|
</div>
|
|
12513
12541
|
|
|
12514
12542
|
</div>
|
|
@@ -12526,6 +12554,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12526
12554
|
|
|
12527
12555
|
<p>For instances of model that have an invalid NULL status field, create and use a special status_model instance.</p>
|
|
12528
12556
|
|
|
12557
|
+
|
|
12529
12558
|
</div>
|
|
12530
12559
|
|
|
12531
12560
|
</div>
|
|
@@ -12546,6 +12575,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12546
12575
|
:param prefix: Initial prefix (if any)
|
|
12547
12576
|
:param separator: The character to use when concatenating key names</p>
|
|
12548
12577
|
|
|
12578
|
+
|
|
12549
12579
|
</div>
|
|
12550
12580
|
|
|
12551
12581
|
</div>
|
|
@@ -12565,6 +12595,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12565
12595
|
<p>:param iterable: The iterable to be flattened
|
|
12566
12596
|
:returns: generator</p>
|
|
12567
12597
|
|
|
12598
|
+
|
|
12568
12599
|
</div>
|
|
12569
12600
|
|
|
12570
12601
|
</div>
|
|
@@ -12582,6 +12613,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12582
12613
|
|
|
12583
12614
|
<p>Return the ideal foreground color (black or white) for a given background color in hexadecimal RGB format.</p>
|
|
12584
12615
|
|
|
12616
|
+
|
|
12585
12617
|
</div>
|
|
12586
12618
|
|
|
12587
12619
|
</div>
|
|
@@ -12599,6 +12631,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12599
12631
|
|
|
12600
12632
|
<p>Return a cryptographic signature that can be used to verify the authenticity of webhook data.</p>
|
|
12601
12633
|
|
|
12634
|
+
|
|
12602
12635
|
</div>
|
|
12603
12636
|
|
|
12604
12637
|
</div>
|
|
@@ -12616,6 +12649,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12616
12649
|
|
|
12617
12650
|
<p>Return all lookup expressions for <code>field_name</code> in <code>model</code> filterset</p>
|
|
12618
12651
|
|
|
12652
|
+
|
|
12619
12653
|
</div>
|
|
12620
12654
|
|
|
12621
12655
|
</div>
|
|
@@ -12650,7 +12684,7 @@ while discarding <code>querydict</code> params which are not part of <code>filte
|
|
|
12650
12684
|
<code>base_template</code>
|
|
12651
12685
|
</td>
|
|
12652
12686
|
<td>
|
|
12653
|
-
<code>str</code>
|
|
12687
|
+
<code><span title="str">str</span></code>
|
|
12654
12688
|
</td>
|
|
12655
12689
|
<td>
|
|
12656
12690
|
<div class="doc-md-description">
|
|
@@ -12686,6 +12720,7 @@ If all else fails, returns <code>"generic/object_retrieve.html"</code>.</p>
|
|
|
12686
12720
|
<p>Note: before Nautobot 2.4.2, this API would default to "base.html" rather than "generic/object_retrieve.html".
|
|
12687
12721
|
This behavior was changed to the current behavior to address issue #6550 and similar incorrect behavior.</p>
|
|
12688
12722
|
|
|
12723
|
+
|
|
12689
12724
|
</div>
|
|
12690
12725
|
|
|
12691
12726
|
</div>
|
|
@@ -12704,6 +12739,7 @@ This behavior was changed to the current behavior to address issue #6550 and sim
|
|
|
12704
12739
|
<p>Return a dictionary of celery queues and the number of workers active on the queue in
|
|
12705
12740
|
the form {queue_name: num_workers}</p>
|
|
12706
12741
|
|
|
12742
|
+
|
|
12707
12743
|
</div>
|
|
12708
12744
|
|
|
12709
12745
|
</div>
|
|
@@ -12722,6 +12758,7 @@ the form {queue_name: num_workers}</p>
|
|
|
12722
12758
|
<p>Return a queryset of ObjectChanges for a model or instance. The queryset will be filtered
|
|
12723
12759
|
by the model class. If an instance is provided, the queryset will also be filtered by the instance id.</p>
|
|
12724
12760
|
|
|
12761
|
+
|
|
12725
12762
|
</div>
|
|
12726
12763
|
|
|
12727
12764
|
</div>
|
|
@@ -12756,7 +12793,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12756
12793
|
<code>filter_field</code>
|
|
12757
12794
|
</td>
|
|
12758
12795
|
<td>
|
|
12759
|
-
<code>Filter</code>
|
|
12796
|
+
<code><span title="Filter">Filter</span></code>
|
|
12760
12797
|
</td>
|
|
12761
12798
|
<td>
|
|
12762
12799
|
<div class="doc-md-description">
|
|
@@ -12782,7 +12819,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12782
12819
|
<tbody>
|
|
12783
12820
|
<tr class="doc-section-item">
|
|
12784
12821
|
<td>
|
|
12785
|
-
<code>str</code>
|
|
12822
|
+
<code><span title="str">str</span></code>
|
|
12786
12823
|
</td>
|
|
12787
12824
|
<td>
|
|
12788
12825
|
<div class="doc-md-description">
|
|
@@ -12793,6 +12830,7 @@ by the model class. If an instance is provided, the queryset will also be filter
|
|
|
12793
12830
|
</tbody>
|
|
12794
12831
|
</table>
|
|
12795
12832
|
|
|
12833
|
+
|
|
12796
12834
|
</div>
|
|
12797
12835
|
|
|
12798
12836
|
</div>
|
|
@@ -12844,7 +12882,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12844
12882
|
<code>non_filter_params</code>
|
|
12845
12883
|
</td>
|
|
12846
12884
|
<td>
|
|
12847
|
-
<code>list</code>
|
|
12885
|
+
<code><span title="list">list</span></code>
|
|
12848
12886
|
</td>
|
|
12849
12887
|
<td>
|
|
12850
12888
|
<div class="doc-md-description">
|
|
@@ -12860,7 +12898,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12860
12898
|
<code>filterset</code>
|
|
12861
12899
|
</td>
|
|
12862
12900
|
<td>
|
|
12863
|
-
<code>FilterSet</code>
|
|
12901
|
+
<code><span title="FilterSet">FilterSet</span></code>
|
|
12864
12902
|
</td>
|
|
12865
12903
|
<td>
|
|
12866
12904
|
<div class="doc-md-description">
|
|
@@ -12897,6 +12935,7 @@ to return only queryset filterable parameters.</p>
|
|
|
12897
12935
|
</tbody>
|
|
12898
12936
|
</table>
|
|
12899
12937
|
|
|
12938
|
+
|
|
12900
12939
|
</div>
|
|
12901
12940
|
|
|
12902
12941
|
</div>
|
|
@@ -12934,7 +12973,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12934
12973
|
<code>model</code>
|
|
12935
12974
|
</td>
|
|
12936
12975
|
<td>
|
|
12937
|
-
<code>BaseModel</code>
|
|
12976
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
12938
12977
|
</td>
|
|
12939
12978
|
<td>
|
|
12940
12979
|
<div class="doc-md-description">
|
|
@@ -12960,7 +12999,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12960
12999
|
<tbody>
|
|
12961
13000
|
<tr class="doc-section-item">
|
|
12962
13001
|
<td>
|
|
12963
|
-
<code>Union[FilterSet
|
|
13002
|
+
<code><span title="Union">Union</span>[<span title="FilterSet">FilterSet</span>, None]</code>
|
|
12964
13003
|
</td>
|
|
12965
13004
|
<td>
|
|
12966
13005
|
<div class="doc-md-description">
|
|
@@ -12971,6 +13010,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12971
13010
|
</tbody>
|
|
12972
13011
|
</table>
|
|
12973
13012
|
|
|
13013
|
+
|
|
12974
13014
|
</div>
|
|
12975
13015
|
|
|
12976
13016
|
</div>
|
|
@@ -12988,6 +13028,7 @@ associated with the model and its name is expected to be <code>{ModelName}Filter
|
|
|
12988
13028
|
|
|
12989
13029
|
<p>Return the relevant form field instance for a filterset parameter e.g DynamicModelMultipleChoiceField, forms.IntegerField e.t.c</p>
|
|
12990
13030
|
|
|
13031
|
+
|
|
12991
13032
|
</div>
|
|
12992
13033
|
|
|
12993
13034
|
</div>
|
|
@@ -13025,7 +13066,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13025
13066
|
<code>form_prefix</code>
|
|
13026
13067
|
</td>
|
|
13027
13068
|
<td>
|
|
13028
|
-
<code>str</code>
|
|
13069
|
+
<code><span title="str">str</span></code>
|
|
13029
13070
|
</td>
|
|
13030
13071
|
<td>
|
|
13031
13072
|
<div class="doc-md-description">
|
|
@@ -13052,7 +13093,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13052
13093
|
<tbody>
|
|
13053
13094
|
<tr class="doc-section-item">
|
|
13054
13095
|
<td>
|
|
13055
|
-
<code>Union[Form
|
|
13096
|
+
<code><span title="Union">Union</span>[<span title="Form">Form</span>, None]</code>
|
|
13056
13097
|
</td>
|
|
13057
13098
|
<td>
|
|
13058
13099
|
<div class="doc-md-description">
|
|
@@ -13063,6 +13104,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13063
13104
|
</tbody>
|
|
13064
13105
|
</table>
|
|
13065
13106
|
|
|
13107
|
+
|
|
13066
13108
|
</div>
|
|
13067
13109
|
|
|
13068
13110
|
</div>
|
|
@@ -13092,7 +13134,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13092
13134
|
<tbody>
|
|
13093
13135
|
<tr class="doc-section-item">
|
|
13094
13136
|
<td>
|
|
13095
|
-
<code>(Version
|
|
13137
|
+
<code>(<span title="Version">Version</span>, <span title="str">str</span>)</code>
|
|
13096
13138
|
</td>
|
|
13097
13139
|
<td>
|
|
13098
13140
|
<div class="doc-md-description">
|
|
@@ -13102,7 +13144,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13102
13144
|
</tr>
|
|
13103
13145
|
<tr class="doc-section-item">
|
|
13104
13146
|
<td>
|
|
13105
|
-
<code>(unknown
|
|
13147
|
+
<code>(<span title="unknown">unknown</span>, None)</code>
|
|
13106
13148
|
</td>
|
|
13107
13149
|
<td>
|
|
13108
13150
|
<div class="doc-md-description">
|
|
@@ -13113,6 +13155,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13113
13155
|
</tbody>
|
|
13114
13156
|
</table>
|
|
13115
13157
|
|
|
13158
|
+
|
|
13116
13159
|
</div>
|
|
13117
13160
|
|
|
13118
13161
|
</div>
|
|
@@ -13134,6 +13177,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13134
13177
|
<p>:raises TypeError: If given model name is not found.</p>
|
|
13135
13178
|
<p>:return: Found model.</p>
|
|
13136
13179
|
|
|
13180
|
+
|
|
13137
13181
|
</div>
|
|
13138
13182
|
|
|
13139
13183
|
</div>
|
|
@@ -13153,6 +13197,7 @@ associated with the model and its name is expected to be <code>{ModelName}{form_
|
|
|
13153
13197
|
<p>:param model: A model or instance
|
|
13154
13198
|
:param action: View, add, change, or delete (string)</p>
|
|
13155
13199
|
|
|
13200
|
+
|
|
13156
13201
|
</div>
|
|
13157
13202
|
|
|
13158
13203
|
</div>
|
|
@@ -13192,7 +13237,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13192
13237
|
<code>model</code>
|
|
13193
13238
|
</td>
|
|
13194
13239
|
<td>
|
|
13195
|
-
<code>Union[BaseModel
|
|
13240
|
+
<code><span title="Union">Union</span>[<span title="BaseModel">BaseModel</span>, <span title="str">str</span>]</code>
|
|
13196
13241
|
</td>
|
|
13197
13242
|
<td>
|
|
13198
13243
|
<div class="doc-md-description">
|
|
@@ -13208,7 +13253,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13208
13253
|
<code>module_name</code>
|
|
13209
13254
|
</td>
|
|
13210
13255
|
<td>
|
|
13211
|
-
<code>str</code>
|
|
13256
|
+
<code><span title="str">str</span></code>
|
|
13212
13257
|
</td>
|
|
13213
13258
|
<td>
|
|
13214
13259
|
<div class="doc-md-description">
|
|
@@ -13224,7 +13269,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13224
13269
|
<code>object_suffix</code>
|
|
13225
13270
|
</td>
|
|
13226
13271
|
<td>
|
|
13227
|
-
<code>str</code>
|
|
13272
|
+
<code><span title="str">str</span></code>
|
|
13228
13273
|
</td>
|
|
13229
13274
|
<td>
|
|
13230
13275
|
<div class="doc-md-description">
|
|
@@ -13250,7 +13295,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13250
13295
|
<tbody>
|
|
13251
13296
|
<tr class="doc-section-item">
|
|
13252
13297
|
<td>
|
|
13253
|
-
<code>Union[BaseModel
|
|
13298
|
+
<code><span title="Union">Union</span>[<span title="BaseModel">BaseModel</span>, <span title="str">str</span>]</code>
|
|
13254
13299
|
</td>
|
|
13255
13300
|
<td>
|
|
13256
13301
|
<div class="doc-md-description">
|
|
@@ -13261,6 +13306,7 @@ associated with the model and its name is expected to be <code>{ModelName}{objec
|
|
|
13261
13306
|
</tbody>
|
|
13262
13307
|
</table>
|
|
13263
13308
|
|
|
13309
|
+
|
|
13264
13310
|
</div>
|
|
13265
13311
|
|
|
13266
13312
|
</div>
|
|
@@ -13297,7 +13343,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13297
13343
|
<code>from_model</code>
|
|
13298
13344
|
</td>
|
|
13299
13345
|
<td>
|
|
13300
|
-
<code>BaseModel</code>
|
|
13346
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13301
13347
|
</td>
|
|
13302
13348
|
<td>
|
|
13303
13349
|
<div class="doc-md-description">
|
|
@@ -13313,7 +13359,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13313
13359
|
<code>to_model</code>
|
|
13314
13360
|
</td>
|
|
13315
13361
|
<td>
|
|
13316
|
-
<code>BaseModel</code>
|
|
13362
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13317
13363
|
</td>
|
|
13318
13364
|
<td>
|
|
13319
13365
|
<div class="doc-md-description">
|
|
@@ -13341,6 +13387,7 @@ If more than one such field is found, raises an AttributeError.</p>
|
|
|
13341
13387
|
<a id="__codelineno-0-10" name="__codelineno-0-10" href="#__codelineno-0-10"></a><span class="go">AttributeError: Device has more than one relation to IPAddress: primary_ip4, primary_ip6</span>
|
|
13342
13388
|
</code></pre></div>
|
|
13343
13389
|
|
|
13390
|
+
|
|
13344
13391
|
</div>
|
|
13345
13392
|
|
|
13346
13393
|
</div>
|
|
@@ -13376,7 +13423,7 @@ Supports both core and App routes.</p>
|
|
|
13376
13423
|
<code>model</code>
|
|
13377
13424
|
</td>
|
|
13378
13425
|
<td>
|
|
13379
|
-
<code>(<span title="nautobot.core.models.Model">Model</span>, str)</code>
|
|
13426
|
+
<code>(<span title="nautobot.core.models.Model">Model</span>, <span title="str">str</span>)</code>
|
|
13380
13427
|
</td>
|
|
13381
13428
|
<td>
|
|
13382
13429
|
<div class="doc-md-description">
|
|
@@ -13392,7 +13439,7 @@ Supports both core and App routes.</p>
|
|
|
13392
13439
|
<code>action</code>
|
|
13393
13440
|
</td>
|
|
13394
13441
|
<td>
|
|
13395
|
-
<code>str</code>
|
|
13442
|
+
<code><span title="str">str</span></code>
|
|
13396
13443
|
</td>
|
|
13397
13444
|
<td>
|
|
13398
13445
|
<div class="doc-md-description">
|
|
@@ -13408,7 +13455,7 @@ Supports both core and App routes.</p>
|
|
|
13408
13455
|
<code>api</code>
|
|
13409
13456
|
</td>
|
|
13410
13457
|
<td>
|
|
13411
|
-
<code>bool</code>
|
|
13458
|
+
<code><span title="bool">bool</span></code>
|
|
13412
13459
|
</td>
|
|
13413
13460
|
<td>
|
|
13414
13461
|
<div class="doc-md-description">
|
|
@@ -13434,7 +13481,7 @@ Supports both core and App routes.</p>
|
|
|
13434
13481
|
<tbody>
|
|
13435
13482
|
<tr class="doc-section-item">
|
|
13436
13483
|
<td>
|
|
13437
|
-
<code>str</code>
|
|
13484
|
+
<code><span title="str">str</span></code>
|
|
13438
13485
|
</td>
|
|
13439
13486
|
<td>
|
|
13440
13487
|
<div class="doc-md-description">
|
|
@@ -13461,6 +13508,7 @@ Supports both core and App routes.</p>
|
|
|
13461
13508
|
<a id="__codelineno-0-12" name="__codelineno-0-12" href="#__codelineno-0-12"></a><span class="go">"plugins-api:example_app-api:examplemodel-list"</span>
|
|
13462
13509
|
</code></pre></div>
|
|
13463
13510
|
|
|
13511
|
+
|
|
13464
13512
|
</div>
|
|
13465
13513
|
|
|
13466
13514
|
</div>
|
|
@@ -13480,6 +13528,7 @@ Supports both core and App routes.</p>
|
|
|
13480
13528
|
<p>The fallback value is returned <em>only</em> if the requested variable cannot be found at all - this is an error case,
|
|
13481
13529
|
and will generate warning logs.</p>
|
|
13482
13530
|
|
|
13531
|
+
|
|
13483
13532
|
</div>
|
|
13484
13533
|
|
|
13485
13534
|
</div>
|
|
@@ -13517,7 +13566,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13517
13566
|
<code>model</code>
|
|
13518
13567
|
</td>
|
|
13519
13568
|
<td>
|
|
13520
|
-
<code>BaseModel</code>
|
|
13569
|
+
<code><span title="BaseModel">BaseModel</span></code>
|
|
13521
13570
|
</td>
|
|
13522
13571
|
<td>
|
|
13523
13572
|
<div class="doc-md-description">
|
|
@@ -13533,7 +13582,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13533
13582
|
<code>suffix</code>
|
|
13534
13583
|
</td>
|
|
13535
13584
|
<td>
|
|
13536
|
-
<code>str</code>
|
|
13585
|
+
<code><span title="str">str</span></code>
|
|
13537
13586
|
</td>
|
|
13538
13587
|
<td>
|
|
13539
13588
|
<div class="doc-md-description">
|
|
@@ -13559,7 +13608,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13559
13608
|
<tbody>
|
|
13560
13609
|
<tr class="doc-section-item">
|
|
13561
13610
|
<td>
|
|
13562
|
-
<code>Union[Table
|
|
13611
|
+
<code><span title="Union">Union</span>[<span title="Table">Table</span>, None]</code>
|
|
13563
13612
|
</td>
|
|
13564
13613
|
<td>
|
|
13565
13614
|
<div class="doc-md-description">
|
|
@@ -13570,6 +13619,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13570
13619
|
</tbody>
|
|
13571
13620
|
</table>
|
|
13572
13621
|
|
|
13622
|
+
|
|
13573
13623
|
</div>
|
|
13574
13624
|
|
|
13575
13625
|
</div>
|
|
@@ -13595,6 +13645,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13595
13645
|
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a><span class="go">'/circuits/circuit-terminations/00000000-0000-0000-0000-000000000000/connect/string/'</span>
|
|
13596
13646
|
</code></pre></div>
|
|
13597
13647
|
|
|
13648
|
+
|
|
13598
13649
|
</div>
|
|
13599
13650
|
|
|
13600
13651
|
</div>
|
|
@@ -13629,7 +13680,7 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
13629
13680
|
<code>urlconf</code>
|
|
13630
13681
|
</td>
|
|
13631
13682
|
<td>
|
|
13632
|
-
<code>URLConf</code>
|
|
13683
|
+
<code><span title="URLConf">URLConf</span></code>
|
|
13633
13684
|
</td>
|
|
13634
13685
|
<td>
|
|
13635
13686
|
<div class="doc-md-description">
|
|
@@ -13646,7 +13697,7 @@ Default if unspecified is the value of <code>settings.ROOT_URLCONF</code>, i.e.
|
|
|
13646
13697
|
<code>patterns_list</code>
|
|
13647
13698
|
</td>
|
|
13648
13699
|
<td>
|
|
13649
|
-
<code>list</code>
|
|
13700
|
+
<code><span title="list">list</span></code>
|
|
13650
13701
|
</td>
|
|
13651
13702
|
<td>
|
|
13652
13703
|
<div class="doc-md-description">
|
|
@@ -13663,7 +13714,7 @@ Default if unspecified is the <code>url_patterns</code> attribute of the given <
|
|
|
13663
13714
|
<code>base_path</code>
|
|
13664
13715
|
</td>
|
|
13665
13716
|
<td>
|
|
13666
|
-
<code>str</code>
|
|
13717
|
+
<code><span title="str">str</span></code>
|
|
13667
13718
|
</td>
|
|
13668
13719
|
<td>
|
|
13669
13720
|
<div class="doc-md-description">
|
|
@@ -13680,7 +13731,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13680
13731
|
<code>ignore_redirects</code>
|
|
13681
13732
|
</td>
|
|
13682
13733
|
<td>
|
|
13683
|
-
<code>bool</code>
|
|
13734
|
+
<code><span title="bool">bool</span></code>
|
|
13684
13735
|
</td>
|
|
13685
13736
|
<td>
|
|
13686
13737
|
<div class="doc-md-description">
|
|
@@ -13706,7 +13757,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13706
13757
|
<tbody>
|
|
13707
13758
|
<tr class="doc-section-item">
|
|
13708
13759
|
<td>
|
|
13709
|
-
<code>str</code>
|
|
13760
|
+
<code><span title="str">str</span></code>
|
|
13710
13761
|
</td>
|
|
13711
13762
|
<td>
|
|
13712
13763
|
<div class="doc-md-description">
|
|
@@ -13766,6 +13817,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13766
13817
|
<a id="__codelineno-0-33" name="__codelineno-0-33" href="#__codelineno-0-33"></a><span class="go">/plugins/example-app/^other-models/(?P<pk>[^/.]+)/notes/$</span>
|
|
13767
13818
|
</code></pre></div>
|
|
13768
13819
|
|
|
13820
|
+
|
|
13769
13821
|
</div>
|
|
13770
13822
|
|
|
13771
13823
|
</div>
|
|
@@ -13786,6 +13838,7 @@ Default if unspecified is the string <code>"/"</code>.</p>
|
|
|
13786
13838
|
and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code>{ModelName}{view_type}View</code>.</p>
|
|
13787
13839
|
<p>If neither view class is found, this will return <code>None</code>.</p>
|
|
13788
13840
|
|
|
13841
|
+
|
|
13789
13842
|
</div>
|
|
13790
13843
|
|
|
13791
13844
|
</div>
|
|
@@ -13820,7 +13873,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13820
13873
|
<code>queue</code>
|
|
13821
13874
|
</td>
|
|
13822
13875
|
<td>
|
|
13823
|
-
<code>(str
|
|
13876
|
+
<code>(<span title="str">str</span>, <span title="nautobot.extras.models.JobQueue">JobQueue</span>, None)</code>
|
|
13824
13877
|
</td>
|
|
13825
13878
|
<td>
|
|
13826
13879
|
<div class="doc-md-description">
|
|
@@ -13834,6 +13887,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13834
13887
|
</tbody>
|
|
13835
13888
|
</table>
|
|
13836
13889
|
|
|
13890
|
+
|
|
13837
13891
|
</div>
|
|
13838
13892
|
|
|
13839
13893
|
</div>
|
|
@@ -13851,6 +13905,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13851
13905
|
|
|
13852
13906
|
<p>Map a hex string like "00ff00" to individual r, g, b integer values.</p>
|
|
13853
13907
|
|
|
13908
|
+
|
|
13854
13909
|
</div>
|
|
13855
13910
|
|
|
13856
13911
|
</div>
|
|
@@ -13868,6 +13923,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13868
13923
|
|
|
13869
13924
|
<p>Return a path for uploading image attachments.</p>
|
|
13870
13925
|
|
|
13926
|
+
|
|
13871
13927
|
</div>
|
|
13872
13928
|
|
|
13873
13929
|
</div>
|
|
@@ -13902,7 +13958,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13902
13958
|
<code>value</code>
|
|
13903
13959
|
</td>
|
|
13904
13960
|
<td>
|
|
13905
|
-
<code>str</code>
|
|
13961
|
+
<code><span title="str">str</span></code>
|
|
13906
13962
|
</td>
|
|
13907
13963
|
<td>
|
|
13908
13964
|
<div class="doc-md-description">
|
|
@@ -13928,7 +13984,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13928
13984
|
<tbody>
|
|
13929
13985
|
<tr class="doc-section-item">
|
|
13930
13986
|
<td>
|
|
13931
|
-
<code>bool</code>
|
|
13987
|
+
<code><span title="bool">bool</span></code>
|
|
13932
13988
|
</td>
|
|
13933
13989
|
<td>
|
|
13934
13990
|
<div class="doc-md-description">
|
|
@@ -13939,6 +13995,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13939
13995
|
</tbody>
|
|
13940
13996
|
</table>
|
|
13941
13997
|
|
|
13998
|
+
|
|
13942
13999
|
</div>
|
|
13943
14000
|
|
|
13944
14001
|
</div>
|
|
@@ -13956,6 +14013,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13956
14013
|
|
|
13957
14014
|
<p>Make a given RGB color lighter (closer to white).</p>
|
|
13958
14015
|
|
|
14016
|
+
|
|
13959
14017
|
</div>
|
|
13960
14018
|
|
|
13961
14019
|
</div>
|
|
@@ -13973,6 +14031,7 @@ and its name is expected to be either <code>{ModelName}UIViewSet</code> or <code
|
|
|
13973
14031
|
|
|
13974
14032
|
<p>Merge two dicts into a new dict, but raise a ValueError if any key exists with differing values across both dicts.</p>
|
|
13975
14033
|
|
|
14034
|
+
|
|
13976
14035
|
</div>
|
|
13977
14036
|
|
|
13978
14037
|
</div>
|
|
@@ -14036,7 +14095,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14036
14095
|
<code>apps</code>
|
|
14037
14096
|
</td>
|
|
14038
14097
|
<td>
|
|
14039
|
-
<code>obj</code>
|
|
14098
|
+
<code><span title="obj">obj</span></code>
|
|
14040
14099
|
</td>
|
|
14041
14100
|
<td>
|
|
14042
14101
|
<div class="doc-md-description">
|
|
@@ -14052,7 +14111,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14052
14111
|
<code>old_ct</code>
|
|
14053
14112
|
</td>
|
|
14054
14113
|
<td>
|
|
14055
|
-
<code>obj</code>
|
|
14114
|
+
<code><span title="obj">obj</span></code>
|
|
14056
14115
|
</td>
|
|
14057
14116
|
<td>
|
|
14058
14117
|
<div class="doc-md-description">
|
|
@@ -14068,7 +14127,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14068
14127
|
<code>new_ct</code>
|
|
14069
14128
|
</td>
|
|
14070
14129
|
<td>
|
|
14071
|
-
<code>obj</code>
|
|
14130
|
+
<code><span title="obj">obj</span></code>
|
|
14072
14131
|
</td>
|
|
14073
14132
|
<td>
|
|
14074
14133
|
<div class="doc-md-description">
|
|
@@ -14082,6 +14141,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14082
14141
|
</tbody>
|
|
14083
14142
|
</table>
|
|
14084
14143
|
|
|
14144
|
+
|
|
14085
14145
|
</div>
|
|
14086
14146
|
|
|
14087
14147
|
</div>
|
|
@@ -14132,7 +14192,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14132
14192
|
<code>from_role_field_name</code>
|
|
14133
14193
|
</td>
|
|
14134
14194
|
<td>
|
|
14135
|
-
<code>str</code>
|
|
14195
|
+
<code><span title="str">str</span></code>
|
|
14136
14196
|
</td>
|
|
14137
14197
|
<td>
|
|
14138
14198
|
<div class="doc-md-description">
|
|
@@ -14164,7 +14224,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14164
14224
|
<code>from_role_choiceset</code>
|
|
14165
14225
|
</td>
|
|
14166
14226
|
<td>
|
|
14167
|
-
<code>ChoiceSet</code>
|
|
14227
|
+
<code><span title="ChoiceSet">ChoiceSet</span></code>
|
|
14168
14228
|
</td>
|
|
14169
14229
|
<td>
|
|
14170
14230
|
<div class="doc-md-description">
|
|
@@ -14180,7 +14240,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14180
14240
|
<code>to_role_field_name</code>
|
|
14181
14241
|
</td>
|
|
14182
14242
|
<td>
|
|
14183
|
-
<code>str</code>
|
|
14243
|
+
<code><span title="str">str</span></code>
|
|
14184
14244
|
</td>
|
|
14185
14245
|
<td>
|
|
14186
14246
|
<div class="doc-md-description">
|
|
@@ -14212,7 +14272,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14212
14272
|
<code>to_role_choiceset</code>
|
|
14213
14273
|
</td>
|
|
14214
14274
|
<td>
|
|
14215
|
-
<code>ChoiceSet</code>
|
|
14275
|
+
<code><span title="ChoiceSet">ChoiceSet</span></code>
|
|
14216
14276
|
</td>
|
|
14217
14277
|
<td>
|
|
14218
14278
|
<div class="doc-md-description">
|
|
@@ -14228,7 +14288,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14228
14288
|
<code>is_m2m_field</code>
|
|
14229
14289
|
</td>
|
|
14230
14290
|
<td>
|
|
14231
|
-
<code>bool</code>
|
|
14291
|
+
<code><span title="bool">bool</span></code>
|
|
14232
14292
|
</td>
|
|
14233
14293
|
<td>
|
|
14234
14294
|
<div class="doc-md-description">
|
|
@@ -14242,6 +14302,7 @@ content types if an instance of the new model is using the tag.</p>
|
|
|
14242
14302
|
</tbody>
|
|
14243
14303
|
</table>
|
|
14244
14304
|
|
|
14305
|
+
|
|
14245
14306
|
</div>
|
|
14246
14307
|
|
|
14247
14308
|
</div>
|
|
@@ -14345,7 +14406,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14345
14406
|
<tbody>
|
|
14346
14407
|
<tr class="doc-section-item">
|
|
14347
14408
|
<td>
|
|
14348
|
-
<code>AttributeError</code>
|
|
14409
|
+
<code><span title="AttributeError">AttributeError</span></code>
|
|
14349
14410
|
</td>
|
|
14350
14411
|
<td>
|
|
14351
14412
|
<div class="doc-md-description">
|
|
@@ -14356,6 +14417,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14356
14417
|
</tbody>
|
|
14357
14418
|
</table>
|
|
14358
14419
|
|
|
14420
|
+
|
|
14359
14421
|
</div>
|
|
14360
14422
|
|
|
14361
14423
|
</div>
|
|
@@ -14374,6 +14436,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14374
14436
|
<p>Determine whether a specified permission is exempt from evaluation.</p>
|
|
14375
14437
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14376
14438
|
|
|
14439
|
+
|
|
14377
14440
|
</div>
|
|
14378
14441
|
|
|
14379
14442
|
</div>
|
|
@@ -14407,6 +14470,7 @@ should preserve multiple values as lists (e.g., non-single-choice fields).</p>
|
|
|
14407
14470
|
fields with the names given in the dictionary.
|
|
14408
14471
|
- Groups the results by app and updates the registry model features for each app.</p>
|
|
14409
14472
|
|
|
14473
|
+
|
|
14410
14474
|
</div>
|
|
14411
14475
|
|
|
14412
14476
|
</div>
|
|
@@ -14430,6 +14494,7 @@ and in that case we need to not import models ourselves.</p>
|
|
|
14430
14494
|
part of the <code>nautobot.apps.utils</code> API surface and so we need it to stay backwards-compatible with Apps that might
|
|
14431
14495
|
be calling the two-argument form of this function.</p>
|
|
14432
14496
|
|
|
14497
|
+
|
|
14433
14498
|
</div>
|
|
14434
14499
|
|
|
14435
14500
|
</div>
|
|
@@ -14448,6 +14513,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14448
14513
|
<p>field_name (str): f"cf_{cf.key}"</p>
|
|
14449
14514
|
<p>Helper method to remove the "cf_" prefix</p>
|
|
14450
14515
|
|
|
14516
|
+
|
|
14451
14517
|
</div>
|
|
14452
14518
|
|
|
14453
14519
|
</div>
|
|
@@ -14465,6 +14531,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14465
14531
|
|
|
14466
14532
|
<p>Render a Jinja2 template with the provided context. Return the rendered content.</p>
|
|
14467
14533
|
|
|
14534
|
+
|
|
14468
14535
|
</div>
|
|
14469
14536
|
|
|
14470
14537
|
</div>
|
|
@@ -14484,6 +14551,7 @@ be calling the two-argument form of this function.</p>
|
|
|
14484
14551
|
returns ("dcim", "view", "location").</p>
|
|
14485
14552
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14486
14553
|
|
|
14554
|
+
|
|
14487
14555
|
</div>
|
|
14488
14556
|
|
|
14489
14557
|
</div>
|
|
@@ -14503,6 +14571,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14503
14571
|
(Location, "view").</p>
|
|
14504
14572
|
<p>:param name: Permission name in the format <app_label>.<action>_<model></p>
|
|
14505
14573
|
|
|
14574
|
+
|
|
14506
14575
|
</div>
|
|
14507
14576
|
|
|
14508
14577
|
</div>
|
|
@@ -14520,6 +14589,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14520
14589
|
|
|
14521
14590
|
<p>Map r, g, b values to a hex string.</p>
|
|
14522
14591
|
|
|
14592
|
+
|
|
14523
14593
|
</div>
|
|
14524
14594
|
|
|
14525
14595
|
</div>
|
|
@@ -14539,6 +14609,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14539
14609
|
<p>Obviously this will never be 100% foolproof but we can at least try.</p>
|
|
14540
14610
|
<p>Uses settings.SANITIZER_PATTERNS as the list of (regexp, repl) tuples to apply.</p>
|
|
14541
14611
|
|
|
14612
|
+
|
|
14542
14613
|
</div>
|
|
14543
14614
|
|
|
14544
14615
|
</div>
|
|
@@ -14557,6 +14628,7 @@ returns ("dcim", "view", "location").</p>
|
|
|
14557
14628
|
<p>Return a new dictionary of the different keys. The values of <code>destination_dict</code> are returned. Only the equality of
|
|
14558
14629
|
the first layer of keys/values is checked. <code>exclude</code> is a list or tuple of keys to be ignored.</p>
|
|
14559
14630
|
|
|
14631
|
+
|
|
14560
14632
|
</div>
|
|
14561
14633
|
|
|
14562
14634
|
</div>
|
|
@@ -14574,6 +14646,7 @@ the first layer of keys/values is checked. <code>exclude</code> is a list or tup
|
|
|
14574
14646
|
|
|
14575
14647
|
<p>Swap Git status initials with its equivalent.</p>
|
|
14576
14648
|
|
|
14649
|
+
|
|
14577
14650
|
</div>
|
|
14578
14651
|
|
|
14579
14652
|
</div>
|
|
@@ -14592,6 +14665,7 @@ the first layer of keys/values is checked. <code>exclude</code> is a list or tup
|
|
|
14592
14665
|
<p>Returns a list of 2-tuples for use in the form field <code>choices</code> argument. Appends
|
|
14593
14666
|
worker count to the description.</p>
|
|
14594
14667
|
|
|
14668
|
+
|
|
14595
14669
|
</div>
|
|
14596
14670
|
|
|
14597
14671
|
</div>
|
|
@@ -14609,6 +14683,7 @@ worker count to the description.</p>
|
|
|
14609
14683
|
|
|
14610
14684
|
<p>Convert the given length to meters.</p>
|
|
14611
14685
|
|
|
14686
|
+
|
|
14612
14687
|
</div>
|
|
14613
14688
|
|
|
14614
14689
|
</div>
|
|
@@ -14626,6 +14701,7 @@ worker count to the description.</p>
|
|
|
14626
14701
|
|
|
14627
14702
|
<p>Helper function that wraps plugin model validator registered clean methods for all applicable models</p>
|
|
14628
14703
|
|
|
14704
|
+
|
|
14629
14705
|
</div>
|
|
14630
14706
|
|
|
14631
14707
|
</div>
|
|
@@ -14733,7 +14809,7 @@ worker count to the description.</p>
|
|
|
14733
14809
|
|
|
14734
14810
|
|
|
14735
14811
|
<a href="https://blog.networktocode.com/blog/tags/nautobot" target="_blank" rel="noopener" title="Network to Code Blog" class="md-social__link">
|
|
14736
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
14812
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M0 64c0-17.7 14.3-32 32-32 229.8 0 416 186.2 416 416 0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96 14.3 96 0 81.7 0 64m0 352a64 64 0 1 1 128 0 64 64 0 1 1-128 0m32-256c159.1 0 288 128.9 288 288 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224-17.7 0-32-14.3-32-32s14.3-32 32-32"/></svg>
|
|
14737
14813
|
</a>
|
|
14738
14814
|
|
|
14739
14815
|
|
|
@@ -14741,7 +14817,7 @@ worker count to the description.</p>
|
|
|
14741
14817
|
|
|
14742
14818
|
|
|
14743
14819
|
<a href="https://www.youtube.com/playlist?list=PLjA0bhxgryJ2Ts4GJMDA-tPzVWEncv4pb" target="_blank" rel="noopener" title="Nautobot Videos" class="md-social__link">
|
|
14744
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Free
|
|
14820
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M549.7 124.1c-6.2-23.7-24.8-42.3-48.3-48.6C458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5c-23.5 6.3-42 24.9-48.3 48.6C15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8C117.3 448 288.1 448 288.1 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.7 81.2z"/></svg>
|
|
14745
14821
|
</a>
|
|
14746
14822
|
|
|
14747
14823
|
|
|
@@ -14749,7 +14825,7 @@ worker count to the description.</p>
|
|
|
14749
14825
|
|
|
14750
14826
|
|
|
14751
14827
|
<a href="https://www.networktocode.com/community/" target="_blank" rel="noopener" title="Network to Code Community" class="md-social__link">
|
|
14752
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
14828
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M94.1 315.1c0 25.9-21.2 47.1-47.1 47.1S0 341 0 315.1 21.2 268 47.1 268h47.1v47.1zm23.7 0c0-25.9 21.2-47.1 47.1-47.1s47.1 21.2 47.1 47.1v117.8c0 25.9-21.2 47.1-47.1 47.1s-47.1-21.2-47.1-47.1zm47.1-189c-25.9 0-47.1-21.2-47.1-47.1s21.2-47 47.1-47S212 53.2 212 79.1v47.1h-47.1zm0 23.7c25.9 0 47.1 21.2 47.1 47.1S190.8 244 164.9 244H47.1C21.2 244 0 222.8 0 196.9s21.2-47.1 47.1-47.1zm189 47.1c0-25.9 21.2-47.1 47.1-47.1s47 21.2 47 47.1-21.2 47.1-47.1 47.1h-47.1v-47.1zm-23.7 0c0 25.9-21.2 47.1-47.1 47.1S236 222.8 236 196.9V79.1c0-25.9 21.2-47.1 47.1-47.1s47.1 21.2 47.1 47.1zm-47.1 189c25.9 0 47.1 21.2 47.1 47.1s-21.2 47-47.1 47-47.1-21.2-47.1-47.1v-47.1h47.1zm0-23.7c-25.9 0-47.1-21.2-47.1-47.1s21.2-47.1 47.1-47.1h117.8c25.9 0 47.1 21.2 47.1 47.1s-21.2 47.1-47.1 47.1z"/></svg>
|
|
14753
14829
|
</a>
|
|
14754
14830
|
|
|
14755
14831
|
|
|
@@ -14757,7 +14833,7 @@ worker count to the description.</p>
|
|
|
14757
14833
|
|
|
14758
14834
|
|
|
14759
14835
|
<a href="https://github.com/nautobot/nautobot" target="_blank" rel="noopener" title="GitHub Repo" class="md-social__link">
|
|
14760
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
14836
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
|
|
14761
14837
|
</a>
|
|
14762
14838
|
|
|
14763
14839
|
|
|
@@ -14765,7 +14841,7 @@ worker count to the description.</p>
|
|
|
14765
14841
|
|
|
14766
14842
|
|
|
14767
14843
|
<a href="https://twitter.com/networktocode" target="_blank" rel="noopener" title="Network to Code Twitter" class="md-social__link">
|
|
14768
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free
|
|
14844
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M459.4 151.7c.3 4.5.3 9.1.3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103v-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53C87.4 130.8 165 172.4 252.1 176.9c-1.6-7.8-2.6-15.9-2.6-24C249.5 95.1 296.3 48 354.4 48c30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3"/></svg>
|
|
14769
14845
|
</a>
|
|
14770
14846
|
|
|
14771
14847
|
</div>
|
|
@@ -14785,7 +14861,7 @@ worker count to the description.</p>
|
|
|
14785
14861
|
<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.d50fe291.min.js", "tags": null, "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"}, "version": null}</script>
|
|
14786
14862
|
|
|
14787
14863
|
|
|
14788
|
-
<script src="../../../assets/javascripts/bundle.
|
|
14864
|
+
<script src="../../../assets/javascripts/bundle.50899def.min.js"></script>
|
|
14789
14865
|
|
|
14790
14866
|
|
|
14791
14867
|
<script id="init-glightbox">const lightbox = GLightbox({"touchNavigation": true, "loop": false, "zoomable": true, "draggable": true, "openEffect": "zoom", "closeEffect": "zoom", "slideEffect": "slide"});
|