nautobot 2.4.14__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/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 +1 -1
- nautobot/core/models/tree_queries.py +17 -0
- nautobot/core/settings.py +2 -2
- nautobot/core/tables.py +25 -2
- 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/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 +13 -12
- nautobot/dcim/api/serializers.py +9 -0
- nautobot/dcim/choices.py +53 -0
- 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/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/utils.py +9 -0
- nautobot/dcim/views.py +390 -77
- nautobot/extras/factory.py +19 -20
- nautobot/extras/filters/__init__.py +3 -2
- nautobot/extras/filters/mixins.py +15 -1
- nautobot/extras/forms/__init__.py +2 -1
- nautobot/extras/forms/forms.py +62 -0
- nautobot/extras/managers.py +4 -1
- nautobot/extras/migrations/0125_jobresult_date_started.py +18 -0
- nautobot/extras/models/customfields.py +1 -2
- nautobot/extras/models/datasources.py +1 -2
- nautobot/extras/models/jobs.py +7 -3
- 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/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/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_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 +7 -7
- nautobot/extras/tests/test_views.py +172 -1
- nautobot/extras/urls.py +3 -59
- nautobot/extras/utils.py +1 -1
- nautobot/extras/views.py +77 -178
- nautobot/ipam/tables.py +8 -15
- nautobot/ipam/tests/migration/test_migrations.py +8 -8
- nautobot/ipam/tests/test_api.py +2 -2
- nautobot/ipam/tests/test_models.py +1 -1
- nautobot/project-static/docs/404.html +23 -0
- nautobot/project-static/docs/apps/index.html +23 -0
- nautobot/project-static/docs/apps/nautobot-apps.html +23 -0
- nautobot/project-static/docs/assets/_mkdocstrings.css +44 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +28 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +128 -20
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +37 -4
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +39 -6
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +24 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +32 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +41 -8
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +39 -7
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +43 -10
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +74 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +143 -28
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +43 -12
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +135 -53
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +229 -36
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +27 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +30 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +162 -18
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +258 -51
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +5987 -2620
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +25 -0
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +154 -55
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +150 -35
- nautobot/project-static/docs/development/apps/api/configuration-view.html +23 -0
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/global-search.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/graphql.html +23 -0
- nautobot/project-static/docs/development/apps/api/models/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +23 -0
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +23 -0
- nautobot/project-static/docs/development/apps/api/prometheus.html +23 -0
- nautobot/project-static/docs/development/apps/api/setup.html +23 -0
- nautobot/project-static/docs/development/apps/api/testing.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +23 -0
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/base-template.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/index.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +31 -2
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/notes.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +23 -0
- nautobot/project-static/docs/development/apps/api/views/urls.html +23 -0
- nautobot/project-static/docs/development/apps/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/code-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +23 -0
- nautobot/project-static/docs/development/apps/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +23 -0
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +26 -3
- 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 +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +23 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +23 -0
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +26 -3
- nautobot/project-static/docs/development/core/application-registry.html +23 -0
- nautobot/project-static/docs/development/core/best-practices.html +23 -0
- nautobot/project-static/docs/development/core/bootstrap-ui.html +23 -0
- nautobot/project-static/docs/development/core/caching.html +23 -0
- nautobot/project-static/docs/development/core/controllers.html +23 -0
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +23 -0
- nautobot/project-static/docs/development/core/generic-views.html +23 -0
- nautobot/project-static/docs/development/core/getting-started.html +23 -0
- nautobot/project-static/docs/development/core/homepage.html +23 -0
- nautobot/project-static/docs/development/core/index.html +23 -0
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +23 -0
- nautobot/project-static/docs/development/core/model-checklist.html +23 -0
- nautobot/project-static/docs/development/core/model-features.html +23 -0
- nautobot/project-static/docs/development/core/natural-keys.html +23 -0
- nautobot/project-static/docs/development/core/navigation-menu.html +23 -0
- nautobot/project-static/docs/development/core/release-checklist.html +23 -0
- nautobot/project-static/docs/development/core/role-internals.html +23 -0
- nautobot/project-static/docs/development/core/settings.html +23 -0
- nautobot/project-static/docs/development/core/style-guide.html +23 -0
- nautobot/project-static/docs/development/core/templates.html +23 -0
- nautobot/project-static/docs/development/core/testing.html +23 -0
- nautobot/project-static/docs/development/core/ui-component-framework.html +713 -255
- nautobot/project-static/docs/development/core/user-preferences.html +23 -0
- nautobot/project-static/docs/development/index.html +23 -0
- nautobot/project-static/docs/development/jobs/getting-started.html +23 -0
- nautobot/project-static/docs/development/jobs/index.html +23 -0
- nautobot/project-static/docs/development/jobs/installation.html +23 -0
- nautobot/project-static/docs/development/jobs/job-extensions.html +23 -0
- nautobot/project-static/docs/development/jobs/job-logging.html +23 -0
- nautobot/project-static/docs/development/jobs/job-patterns.html +23 -0
- nautobot/project-static/docs/development/jobs/job-structure.html +23 -0
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +23 -0
- nautobot/project-static/docs/development/jobs/testing.html +23 -0
- nautobot/project-static/docs/index.html +23 -0
- 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 +23 -0
- nautobot/project-static/docs/overview/design_philosophy.html +23 -0
- nautobot/project-static/docs/release-notes/index.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.4.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.5.html +23 -0
- nautobot/project-static/docs/release-notes/version-1.6.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.0.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.1.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.2.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.3.html +23 -0
- nautobot/project-static/docs/release-notes/version-2.4.html +231 -0
- nautobot/project-static/docs/requirements.txt +2 -2
- 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 +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +23 -0
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +23 -0
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +23 -0
- nautobot/project-static/docs/user-guide/administration/installation/services.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +23 -0
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/security/notices.html +23 -0
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +284 -219
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +23 -0
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +305 -5
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +24 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +136 -3
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +41 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +40 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +23 -0
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +23 -0
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +23 -0
- nautobot/project-static/docs/user-guide/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +24 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +23 -0
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +23 -0
- 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.14.dist-info → nautobot-2.4.15.dist-info}/METADATA +24 -24
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/RECORD +433 -416
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/NOTICE +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/WHEEL +0 -0
- {nautobot-2.4.14.dist-info → nautobot-2.4.15.dist-info}/entry_points.txt +0 -0
|
@@ -9640,6 +9640,29 @@
|
|
|
9640
9640
|
|
|
9641
9641
|
|
|
9642
9642
|
|
|
9643
|
+
|
|
9644
|
+
|
|
9645
|
+
|
|
9646
|
+
|
|
9647
|
+
|
|
9648
|
+
|
|
9649
|
+
<li class="md-nav__item">
|
|
9650
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
9651
|
+
|
|
9652
|
+
|
|
9653
|
+
|
|
9654
|
+
<span class="md-ellipsis">
|
|
9655
|
+
Breadcrumbs and titles
|
|
9656
|
+
|
|
9657
|
+
</span>
|
|
9658
|
+
|
|
9659
|
+
|
|
9660
|
+
</a>
|
|
9661
|
+
</li>
|
|
9662
|
+
|
|
9663
|
+
|
|
9664
|
+
|
|
9665
|
+
|
|
9643
9666
|
</ul>
|
|
9644
9667
|
</nav>
|
|
9645
9668
|
|
|
@@ -11979,6 +12002,7 @@
|
|
|
11979
12002
|
|
|
11980
12003
|
|
|
11981
12004
|
|
|
12005
|
+
|
|
11982
12006
|
<div class="doc doc-children">
|
|
11983
12007
|
|
|
11984
12008
|
|
|
@@ -12014,6 +12038,7 @@
|
|
|
12014
12038
|
|
|
12015
12039
|
|
|
12016
12040
|
|
|
12041
|
+
|
|
12017
12042
|
<div class="doc doc-children">
|
|
12018
12043
|
|
|
12019
12044
|
|
|
@@ -12045,7 +12070,7 @@
|
|
|
12045
12070
|
|
|
12046
12071
|
<div class="doc doc-contents ">
|
|
12047
12072
|
<p class="doc doc-class-bases">
|
|
12048
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12073
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12049
12074
|
|
|
12050
12075
|
|
|
12051
12076
|
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a set of Devices or VirtualMachines.</p>
|
|
@@ -12058,6 +12083,7 @@
|
|
|
12058
12083
|
|
|
12059
12084
|
|
|
12060
12085
|
|
|
12086
|
+
|
|
12061
12087
|
<div class="doc doc-children">
|
|
12062
12088
|
|
|
12063
12089
|
|
|
@@ -12089,7 +12115,7 @@
|
|
|
12089
12115
|
|
|
12090
12116
|
<div class="doc doc-contents ">
|
|
12091
12117
|
<p class="doc doc-class-bases">
|
|
12092
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12118
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12093
12119
|
|
|
12094
12120
|
|
|
12095
12121
|
<p>Create new objects in bulk.</p>
|
|
@@ -12107,6 +12133,7 @@ template_name: The name of the template</p>
|
|
|
12107
12133
|
|
|
12108
12134
|
|
|
12109
12135
|
|
|
12136
|
+
|
|
12110
12137
|
<div class="doc doc-children">
|
|
12111
12138
|
|
|
12112
12139
|
|
|
@@ -12138,7 +12165,7 @@ template_name: The name of the template</p>
|
|
|
12138
12165
|
|
|
12139
12166
|
<div class="doc doc-contents ">
|
|
12140
12167
|
<p class="doc doc-class-bases">
|
|
12141
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12168
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12142
12169
|
|
|
12143
12170
|
|
|
12144
12171
|
<p>Delete objects in bulk.</p>
|
|
@@ -12156,6 +12183,7 @@ template_name: The name of the template</p>
|
|
|
12156
12183
|
|
|
12157
12184
|
|
|
12158
12185
|
|
|
12186
|
+
|
|
12159
12187
|
<div class="doc doc-children">
|
|
12160
12188
|
|
|
12161
12189
|
|
|
@@ -12179,6 +12207,7 @@ template_name: The name of the template</p>
|
|
|
12179
12207
|
|
|
12180
12208
|
<p>Provide a standard bulk delete form if none has been specified for the view</p>
|
|
12181
12209
|
|
|
12210
|
+
|
|
12182
12211
|
</div>
|
|
12183
12212
|
|
|
12184
12213
|
</div>
|
|
@@ -12204,7 +12233,7 @@ template_name: The name of the template</p>
|
|
|
12204
12233
|
|
|
12205
12234
|
<div class="doc doc-contents ">
|
|
12206
12235
|
<p class="doc doc-class-bases">
|
|
12207
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12236
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12208
12237
|
|
|
12209
12238
|
|
|
12210
12239
|
<p>Edit objects in bulk.</p>
|
|
@@ -12222,6 +12251,7 @@ template_name: The name of the template</p>
|
|
|
12222
12251
|
|
|
12223
12252
|
|
|
12224
12253
|
|
|
12254
|
+
|
|
12225
12255
|
<div class="doc doc-children">
|
|
12226
12256
|
|
|
12227
12257
|
|
|
@@ -12245,6 +12275,7 @@ template_name: The name of the template</p>
|
|
|
12245
12275
|
|
|
12246
12276
|
<p>Extra actions after a form is saved</p>
|
|
12247
12277
|
|
|
12278
|
+
|
|
12248
12279
|
</div>
|
|
12249
12280
|
|
|
12250
12281
|
</div>
|
|
@@ -12270,7 +12301,7 @@ template_name: The name of the template</p>
|
|
|
12270
12301
|
|
|
12271
12302
|
<div class="doc doc-contents ">
|
|
12272
12303
|
<p class="doc doc-class-bases">
|
|
12273
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12304
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12274
12305
|
|
|
12275
12306
|
|
|
12276
12307
|
<p>Import objects in bulk (CSV format).</p>
|
|
@@ -12287,6 +12318,7 @@ template_name: The name of the template</p>
|
|
|
12287
12318
|
|
|
12288
12319
|
|
|
12289
12320
|
|
|
12321
|
+
|
|
12290
12322
|
<div class="doc doc-children">
|
|
12291
12323
|
|
|
12292
12324
|
|
|
@@ -12318,7 +12350,7 @@ template_name: The name of the template</p>
|
|
|
12318
12350
|
|
|
12319
12351
|
<div class="doc doc-contents ">
|
|
12320
12352
|
<p class="doc doc-class-bases">
|
|
12321
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12353
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12322
12354
|
|
|
12323
12355
|
|
|
12324
12356
|
<p>An extendable view for renaming objects in bulk.</p>
|
|
@@ -12331,6 +12363,7 @@ template_name: The name of the template</p>
|
|
|
12331
12363
|
|
|
12332
12364
|
|
|
12333
12365
|
|
|
12366
|
+
|
|
12334
12367
|
<div class="doc doc-children">
|
|
12335
12368
|
|
|
12336
12369
|
|
|
@@ -12372,7 +12405,7 @@ template_name: The name of the template</p>
|
|
|
12372
12405
|
<code>selected_objects</code>
|
|
12373
12406
|
</td>
|
|
12374
12407
|
<td>
|
|
12375
|
-
<code>list[BaseModel]</code>
|
|
12408
|
+
<code><span title="list">list</span>[<span title="BaseModel">BaseModel</span>]</code>
|
|
12376
12409
|
</td>
|
|
12377
12410
|
<td>
|
|
12378
12411
|
<div class="doc-md-description">
|
|
@@ -12398,7 +12431,7 @@ template_name: The name of the template</p>
|
|
|
12398
12431
|
<tbody>
|
|
12399
12432
|
<tr class="doc-section-item">
|
|
12400
12433
|
<td>
|
|
12401
|
-
<code>str</code>
|
|
12434
|
+
<code><span title="str">str</span></code>
|
|
12402
12435
|
</td>
|
|
12403
12436
|
<td>
|
|
12404
12437
|
<div class="doc-md-description">
|
|
@@ -12409,6 +12442,7 @@ template_name: The name of the template</p>
|
|
|
12409
12442
|
</tbody>
|
|
12410
12443
|
</table>
|
|
12411
12444
|
|
|
12445
|
+
|
|
12412
12446
|
</div>
|
|
12413
12447
|
|
|
12414
12448
|
</div>
|
|
@@ -12434,7 +12468,7 @@ template_name: The name of the template</p>
|
|
|
12434
12468
|
|
|
12435
12469
|
<div class="doc doc-contents ">
|
|
12436
12470
|
<p class="doc doc-class-bases">
|
|
12437
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12471
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
12438
12472
|
|
|
12439
12473
|
|
|
12440
12474
|
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a Device or VirtualMachine.</p>
|
|
@@ -12447,6 +12481,7 @@ template_name: The name of the template</p>
|
|
|
12447
12481
|
|
|
12448
12482
|
|
|
12449
12483
|
|
|
12484
|
+
|
|
12450
12485
|
<div class="doc doc-children">
|
|
12451
12486
|
|
|
12452
12487
|
|
|
@@ -12498,6 +12533,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12498
12533
|
|
|
12499
12534
|
|
|
12500
12535
|
|
|
12536
|
+
|
|
12501
12537
|
<div class="doc doc-children">
|
|
12502
12538
|
|
|
12503
12539
|
|
|
@@ -12521,6 +12557,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12521
12557
|
|
|
12522
12558
|
<p>Return the specific permission necessary to perform the requested action on an object.</p>
|
|
12523
12559
|
|
|
12560
|
+
|
|
12524
12561
|
</div>
|
|
12525
12562
|
|
|
12526
12563
|
</div>
|
|
@@ -12558,6 +12595,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12558
12595
|
|
|
12559
12596
|
|
|
12560
12597
|
|
|
12598
|
+
|
|
12561
12599
|
</div>
|
|
12562
12600
|
|
|
12563
12601
|
</div>
|
|
@@ -12586,6 +12624,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12586
12624
|
|
|
12587
12625
|
|
|
12588
12626
|
|
|
12627
|
+
|
|
12589
12628
|
<div class="doc doc-children">
|
|
12590
12629
|
|
|
12591
12630
|
|
|
@@ -12630,6 +12669,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12630
12669
|
|
|
12631
12670
|
|
|
12632
12671
|
|
|
12672
|
+
|
|
12633
12673
|
<div class="doc doc-children">
|
|
12634
12674
|
|
|
12635
12675
|
|
|
@@ -12653,6 +12693,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12653
12693
|
|
|
12654
12694
|
<p>Helper function to construct and paginate the table for rendering used in the ObjectListView, ObjectBulkUpdateView and ObjectBulkDestroyView.</p>
|
|
12655
12695
|
|
|
12696
|
+
|
|
12656
12697
|
</div>
|
|
12657
12698
|
|
|
12658
12699
|
</div>
|
|
@@ -12671,6 +12712,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
12671
12712
|
<p>Helper function to gather the user's permissions to add, change, delete and view the model,
|
|
12672
12713
|
and then render the action buttons accordingly allowed in the ObjectListView UI.</p>
|
|
12673
12714
|
|
|
12715
|
+
|
|
12674
12716
|
</div>
|
|
12675
12717
|
|
|
12676
12718
|
</div>
|
|
@@ -12690,6 +12732,7 @@ and then render the action buttons accordingly allowed in the ObjectListView UI.
|
|
|
12690
12732
|
context variable contains template context needed to render Nautobot generic templates / circuits templates.
|
|
12691
12733
|
Override this function to add additional key/value pair to pass it to your templates.</p>
|
|
12692
12734
|
|
|
12735
|
+
|
|
12693
12736
|
</div>
|
|
12694
12737
|
|
|
12695
12738
|
</div>
|
|
@@ -12708,6 +12751,7 @@ Override this function to add additional key/value pair to pass it to your templ
|
|
|
12708
12751
|
<p>Helper function to obtain the filter_form_class,
|
|
12709
12752
|
and then initialize and return the filter_form used in the ObjectListView UI.</p>
|
|
12710
12753
|
|
|
12754
|
+
|
|
12711
12755
|
</div>
|
|
12712
12756
|
|
|
12713
12757
|
</div>
|
|
@@ -12725,6 +12769,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12725
12769
|
|
|
12726
12770
|
<p>Overrode render() from BrowsableAPIRenderer to set self.template with NautobotViewSet's get_template_name() before it is rendered.</p>
|
|
12727
12771
|
|
|
12772
|
+
|
|
12728
12773
|
</div>
|
|
12729
12774
|
|
|
12730
12775
|
</div>
|
|
@@ -12742,6 +12787,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12742
12787
|
|
|
12743
12788
|
<p>Verify actions in self.action_buttons are valid view actions.</p>
|
|
12744
12789
|
|
|
12790
|
+
|
|
12745
12791
|
</div>
|
|
12746
12792
|
|
|
12747
12793
|
</div>
|
|
@@ -12767,7 +12813,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12767
12813
|
|
|
12768
12814
|
<div class="doc doc-contents ">
|
|
12769
12815
|
<p class="doc doc-class-bases">
|
|
12770
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectDetailViewMixin" href="#nautobot.apps.views.ObjectDetailViewMixin">ObjectDetailViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectListViewMixin" href="#nautobot.apps.views.ObjectListViewMixin">ObjectListViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectEditViewMixin" href="#nautobot.apps.views.ObjectEditViewMixin">ObjectEditViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectDestroyViewMixin" href="#nautobot.apps.views.ObjectDestroyViewMixin">ObjectDestroyViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectBulkDestroyViewMixin" href="#nautobot.apps.views.ObjectBulkDestroyViewMixin">ObjectBulkDestroyViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectBulkCreateViewMixin" href="#nautobot.apps.views.ObjectBulkCreateViewMixin">ObjectBulkCreateViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectBulkUpdateViewMixin" href="#nautobot.apps.views.ObjectBulkUpdateViewMixin">ObjectBulkUpdateViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectChangeLogViewMixin" href="#nautobot.apps.views.ObjectChangeLogViewMixin">ObjectChangeLogViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectNotesViewMixin" href="#nautobot.apps.views.ObjectNotesViewMixin">ObjectNotesViewMixin</a></code></p>
|
|
12816
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectDetailViewMixin (nautobot.core.views.mixins.ObjectDetailViewMixin)" href="#nautobot.apps.views.ObjectDetailViewMixin">ObjectDetailViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectListViewMixin (nautobot.core.views.mixins.ObjectListViewMixin)" href="#nautobot.apps.views.ObjectListViewMixin">ObjectListViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectEditViewMixin (nautobot.core.views.mixins.ObjectEditViewMixin)" href="#nautobot.apps.views.ObjectEditViewMixin">ObjectEditViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectDestroyViewMixin (nautobot.core.views.mixins.ObjectDestroyViewMixin)" href="#nautobot.apps.views.ObjectDestroyViewMixin">ObjectDestroyViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectBulkDestroyViewMixin (nautobot.core.views.mixins.ObjectBulkDestroyViewMixin)" href="#nautobot.apps.views.ObjectBulkDestroyViewMixin">ObjectBulkDestroyViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectBulkCreateViewMixin (nautobot.core.views.mixins.ObjectBulkCreateViewMixin)" href="#nautobot.apps.views.ObjectBulkCreateViewMixin">ObjectBulkCreateViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectBulkUpdateViewMixin (nautobot.core.views.mixins.ObjectBulkUpdateViewMixin)" href="#nautobot.apps.views.ObjectBulkUpdateViewMixin">ObjectBulkUpdateViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectChangeLogViewMixin (nautobot.core.views.mixins.ObjectChangeLogViewMixin)" href="#nautobot.apps.views.ObjectChangeLogViewMixin">ObjectChangeLogViewMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectNotesViewMixin (nautobot.core.views.mixins.ObjectNotesViewMixin)" href="#nautobot.apps.views.ObjectNotesViewMixin">ObjectNotesViewMixin</a></code></p>
|
|
12771
12817
|
|
|
12772
12818
|
|
|
12773
12819
|
<p>Nautobot BaseViewSet that is intended for UI use only. It provides default Nautobot functionalities such as
|
|
@@ -12782,6 +12828,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12782
12828
|
|
|
12783
12829
|
|
|
12784
12830
|
|
|
12831
|
+
|
|
12785
12832
|
<div class="doc doc-children">
|
|
12786
12833
|
|
|
12787
12834
|
|
|
@@ -12813,7 +12860,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12813
12860
|
|
|
12814
12861
|
<div class="doc doc-contents ">
|
|
12815
12862
|
<p class="doc doc-class-bases">
|
|
12816
|
-
Bases: <code><span title="rest_framework.viewsets.GenericViewSet">GenericViewSet</span></code>, <code><span title="django.contrib.auth.mixins.AccessMixin">AccessMixin</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><span title="django.views.generic.edit.FormView">FormView</span></code></p>
|
|
12863
|
+
Bases: <code><span title="rest_framework.viewsets.GenericViewSet">GenericViewSet</span></code>, <code><span title="django.contrib.auth.mixins.AccessMixin">AccessMixin</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><span title="django.views.generic.edit.FormView">FormView</span></code></p>
|
|
12817
12864
|
|
|
12818
12865
|
|
|
12819
12866
|
<p>NautobotViewSetMixin is an aggregation of various mixins from DRF, Django and Nautobot to acheive the desired behavior pattern for NautobotUIViewSet</p>
|
|
@@ -12826,6 +12873,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12826
12873
|
|
|
12827
12874
|
|
|
12828
12875
|
|
|
12876
|
+
|
|
12829
12877
|
<div class="doc doc-children">
|
|
12830
12878
|
|
|
12831
12879
|
|
|
@@ -12849,6 +12897,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12849
12897
|
|
|
12850
12898
|
<p>Check whether the user has the permissions needed to perform certain actions.</p>
|
|
12851
12899
|
|
|
12900
|
+
|
|
12852
12901
|
</div>
|
|
12853
12902
|
|
|
12854
12903
|
</div>
|
|
@@ -12868,6 +12917,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
12868
12917
|
Used to determine whether the user has permissions to a view and object-level permissions.
|
|
12869
12918
|
Using AccessMixin handle_no_permission() to deal with Object-Level permissions and API-Level permissions in one pass.</p>
|
|
12870
12919
|
|
|
12920
|
+
|
|
12871
12921
|
</div>
|
|
12872
12922
|
|
|
12873
12923
|
</div>
|
|
@@ -12885,6 +12935,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
12885
12935
|
|
|
12886
12936
|
<p>Extra actions after a form is saved</p>
|
|
12887
12937
|
|
|
12938
|
+
|
|
12888
12939
|
</div>
|
|
12889
12940
|
|
|
12890
12941
|
</div>
|
|
@@ -12902,6 +12953,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
12902
12953
|
|
|
12903
12954
|
<p>Handle invalid forms.</p>
|
|
12904
12955
|
|
|
12956
|
+
|
|
12905
12957
|
</div>
|
|
12906
12958
|
|
|
12907
12959
|
</div>
|
|
@@ -12920,6 +12972,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
12920
12972
|
<p>Generic method to save the object from form.
|
|
12921
12973
|
Should be overriden by user if customization is needed.</p>
|
|
12922
12974
|
|
|
12975
|
+
|
|
12923
12976
|
</div>
|
|
12924
12977
|
|
|
12925
12978
|
</div>
|
|
@@ -12937,6 +12990,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
12937
12990
|
|
|
12938
12991
|
<p>Handle valid forms and redirect to success_url.</p>
|
|
12939
12992
|
|
|
12993
|
+
|
|
12940
12994
|
</div>
|
|
12941
12995
|
|
|
12942
12996
|
</div>
|
|
@@ -12954,6 +13008,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
12954
13008
|
|
|
12955
13009
|
<p>Helper method for retrieving action and if action not set defaulting to action name.</p>
|
|
12956
13010
|
|
|
13011
|
+
|
|
12957
13012
|
</div>
|
|
12958
13013
|
|
|
12959
13014
|
</div>
|
|
@@ -12973,6 +13028,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
12973
13028
|
request: The current request
|
|
12974
13029
|
instance: The object being viewed</p>
|
|
12975
13030
|
|
|
13031
|
+
|
|
12976
13032
|
</div>
|
|
12977
13033
|
|
|
12978
13034
|
</div>
|
|
@@ -12990,6 +13046,7 @@ instance: The object being viewed</p>
|
|
|
12990
13046
|
|
|
12991
13047
|
<p>Helper function - take request.GET and discard any parameters that are not used for queryset filtering.</p>
|
|
12992
13048
|
|
|
13049
|
+
|
|
12993
13050
|
</div>
|
|
12994
13051
|
|
|
12995
13052
|
</div>
|
|
@@ -13008,6 +13065,7 @@ instance: The object being viewed</p>
|
|
|
13008
13065
|
<p>Helper function to get form for different views if specified.
|
|
13009
13066
|
If not, return instantiated form using form_class.</p>
|
|
13010
13067
|
|
|
13068
|
+
|
|
13011
13069
|
</div>
|
|
13012
13070
|
|
|
13013
13071
|
</div>
|
|
@@ -13025,6 +13083,7 @@ If not, return instantiated form using form_class.</p>
|
|
|
13025
13083
|
|
|
13026
13084
|
<p>Helper function to get form_class for different views.</p>
|
|
13027
13085
|
|
|
13086
|
+
|
|
13028
13087
|
</div>
|
|
13029
13088
|
|
|
13030
13089
|
</div>
|
|
@@ -13045,6 +13104,7 @@ You may want to override this if you need to provide non-standard
|
|
|
13045
13104
|
queryset lookups. Eg if objects are referenced using multiple
|
|
13046
13105
|
keyword arguments in the url conf.</p>
|
|
13047
13106
|
|
|
13107
|
+
|
|
13048
13108
|
</div>
|
|
13049
13109
|
|
|
13050
13110
|
</div>
|
|
@@ -13064,6 +13124,7 @@ keyword arguments in the url conf.</p>
|
|
|
13064
13124
|
<p>:param model: A model or instance
|
|
13065
13125
|
:param actions: A list of actions to perform on the model</p>
|
|
13066
13126
|
|
|
13127
|
+
|
|
13067
13128
|
</div>
|
|
13068
13129
|
|
|
13069
13130
|
</div>
|
|
@@ -13087,6 +13148,7 @@ directly, as <code>self.queryset</code> gets evaluated only once, and those resu
|
|
|
13087
13148
|
are cached for all subsequent requests.
|
|
13088
13149
|
Override the original <code>get_queryset()</code> to apply permission specific to the user and action.</p>
|
|
13089
13150
|
|
|
13151
|
+
|
|
13090
13152
|
</div>
|
|
13091
13153
|
|
|
13092
13154
|
</div>
|
|
@@ -13104,6 +13166,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13104
13166
|
|
|
13105
13167
|
<p>Obtain the permissions needed to perform certain actions on a model.</p>
|
|
13106
13168
|
|
|
13169
|
+
|
|
13107
13170
|
</div>
|
|
13108
13171
|
|
|
13109
13172
|
</div>
|
|
@@ -13129,7 +13192,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13129
13192
|
|
|
13130
13193
|
<div class="doc doc-contents ">
|
|
13131
13194
|
<p class="doc doc-class-bases">
|
|
13132
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
13195
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
13133
13196
|
|
|
13134
13197
|
|
|
13135
13198
|
<p>UI mixin to bulk create model instances.</p>
|
|
@@ -13143,6 +13206,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13143
13206
|
|
|
13144
13207
|
|
|
13145
13208
|
|
|
13209
|
+
|
|
13146
13210
|
<div class="doc doc-children">
|
|
13147
13211
|
|
|
13148
13212
|
|
|
@@ -13174,7 +13238,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13174
13238
|
|
|
13175
13239
|
<div class="doc doc-contents ">
|
|
13176
13240
|
<p class="doc doc-class-bases">
|
|
13177
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.api.views.BulkDestroyModelMixin" href="api.html#nautobot.apps.api.BulkDestroyModelMixin">BulkDestroyModelMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code></p>
|
|
13241
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.api.BulkDestroyModelMixin (nautobot.core.api.views.BulkDestroyModelMixin)" href="api.html#nautobot.apps.api.BulkDestroyModelMixin">BulkDestroyModelMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code></p>
|
|
13178
13242
|
|
|
13179
13243
|
|
|
13180
13244
|
<p>UI mixin to bulk destroy model instances.</p>
|
|
@@ -13187,6 +13251,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13187
13251
|
|
|
13188
13252
|
|
|
13189
13253
|
|
|
13254
|
+
|
|
13190
13255
|
<div class="doc doc-children">
|
|
13191
13256
|
|
|
13192
13257
|
|
|
@@ -13212,6 +13277,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
13212
13277
|
The function exist to keep the DRF's get/post pattern of {action}/perform_{action}, we will need it when we transition from using forms to serializers in the UI.
|
|
13213
13278
|
User should override this function to handle any actions as needed before bulk destroy.</p>
|
|
13214
13279
|
|
|
13280
|
+
|
|
13215
13281
|
</div>
|
|
13216
13282
|
|
|
13217
13283
|
</div>
|
|
@@ -13230,6 +13296,7 @@ User should override this function to handle any actions as needed before bulk d
|
|
|
13230
13296
|
<p>request.POST "_delete": Function to render the user selection of objects in a table form/BulkDestroyConfirmationForm via Response that is passed to NautobotHTMLRenderer.
|
|
13231
13297
|
request.POST "_confirm": Function to validate the table form/BulkDestroyConfirmationForm and to perform the action of bulk destroy. Render the form with errors if exceptions are raised.</p>
|
|
13232
13298
|
|
|
13299
|
+
|
|
13233
13300
|
</div>
|
|
13234
13301
|
|
|
13235
13302
|
</div>
|
|
@@ -13255,7 +13322,7 @@ request.POST "_confirm": Function to validate the table form/BulkDestroyConfirma
|
|
|
13255
13322
|
|
|
13256
13323
|
<div class="doc doc-contents ">
|
|
13257
13324
|
<p class="doc doc-class-bases">
|
|
13258
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.api.views.BulkUpdateModelMixin" href="api.html#nautobot.apps.api.BulkUpdateModelMixin">BulkUpdateModelMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code></p>
|
|
13325
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.api.BulkUpdateModelMixin (nautobot.core.api.views.BulkUpdateModelMixin)" href="api.html#nautobot.apps.api.BulkUpdateModelMixin">BulkUpdateModelMixin</a></code>, <code><span title="nautobot.core.views.mixins.BulkEditAndBulkDeleteModelMixin">BulkEditAndBulkDeleteModelMixin</span></code></p>
|
|
13259
13326
|
|
|
13260
13327
|
|
|
13261
13328
|
<p>UI mixin to bulk update model instances.</p>
|
|
@@ -13268,6 +13335,7 @@ request.POST "_confirm": Function to validate the table form/BulkDestroyConfirma
|
|
|
13268
13335
|
|
|
13269
13336
|
|
|
13270
13337
|
|
|
13338
|
+
|
|
13271
13339
|
<div class="doc doc-children">
|
|
13272
13340
|
|
|
13273
13341
|
|
|
@@ -13293,6 +13361,7 @@ request.POST "_confirm": Function to validate the table form/BulkDestroyConfirma
|
|
|
13293
13361
|
The function exist to keep the DRF's get/post pattern of {action}/perform_{action}, we will need it when we transition from using forms to serializers in the UI.
|
|
13294
13362
|
User should override this function to handle any actions as needed before bulk update.</p>
|
|
13295
13363
|
|
|
13364
|
+
|
|
13296
13365
|
</div>
|
|
13297
13366
|
|
|
13298
13367
|
</div>
|
|
@@ -13311,6 +13380,7 @@ User should override this function to handle any actions as needed before bulk u
|
|
|
13311
13380
|
<p>request.POST "_edit": Function to render the user selection of objects in a table form/BulkUpdateForm via Response that is passed to NautobotHTMLRenderer.
|
|
13312
13381
|
request.POST "_apply": Function to validate the table form/BulkUpdateForm and to perform the action of bulk update. Render the form with errors if exceptions are raised.</p>
|
|
13313
13382
|
|
|
13383
|
+
|
|
13314
13384
|
</div>
|
|
13315
13385
|
|
|
13316
13386
|
</div>
|
|
@@ -13336,7 +13406,7 @@ request.POST "_apply": Function to validate the table form/BulkUpdateForm and to
|
|
|
13336
13406
|
|
|
13337
13407
|
<div class="doc doc-contents ">
|
|
13338
13408
|
<p class="doc doc-class-bases">
|
|
13339
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
13409
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
13340
13410
|
|
|
13341
13411
|
|
|
13342
13412
|
<p>UI mixin to list a model's changelog queryset.</p>
|
|
@@ -13355,6 +13425,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
13355
13425
|
|
|
13356
13426
|
|
|
13357
13427
|
|
|
13428
|
+
|
|
13358
13429
|
<div class="doc doc-children">
|
|
13359
13430
|
|
|
13360
13431
|
|
|
@@ -13386,7 +13457,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
13386
13457
|
|
|
13387
13458
|
<div class="doc doc-contents ">
|
|
13388
13459
|
<p class="doc doc-class-bases">
|
|
13389
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
13460
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
13390
13461
|
|
|
13391
13462
|
|
|
13392
13463
|
<p>Delete a single object.</p>
|
|
@@ -13401,6 +13472,7 @@ template_name: The name of the template</p>
|
|
|
13401
13472
|
|
|
13402
13473
|
|
|
13403
13474
|
|
|
13475
|
+
|
|
13404
13476
|
<div class="doc doc-children">
|
|
13405
13477
|
|
|
13406
13478
|
|
|
@@ -13424,6 +13496,7 @@ template_name: The name of the template</p>
|
|
|
13424
13496
|
|
|
13425
13497
|
<p>Retrieve an object based on <code>kwargs</code>.</p>
|
|
13426
13498
|
|
|
13499
|
+
|
|
13427
13500
|
</div>
|
|
13428
13501
|
|
|
13429
13502
|
</div>
|
|
@@ -13449,7 +13522,7 @@ template_name: The name of the template</p>
|
|
|
13449
13522
|
|
|
13450
13523
|
<div class="doc doc-contents ">
|
|
13451
13524
|
<p class="doc doc-class-bases">
|
|
13452
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.DestroyModelMixin">DestroyModelMixin</span></code></p>
|
|
13525
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.DestroyModelMixin">DestroyModelMixin</span></code></p>
|
|
13453
13526
|
|
|
13454
13527
|
|
|
13455
13528
|
<p>UI mixin to destroy a model instance.</p>
|
|
@@ -13462,6 +13535,7 @@ template_name: The name of the template</p>
|
|
|
13462
13535
|
|
|
13463
13536
|
|
|
13464
13537
|
|
|
13538
|
+
|
|
13465
13539
|
<div class="doc doc-children">
|
|
13466
13540
|
|
|
13467
13541
|
|
|
@@ -13487,6 +13561,7 @@ template_name: The name of the template</p>
|
|
|
13487
13561
|
request.POST: call perform_destroy() which validates the form and perform the action of delete.
|
|
13488
13562
|
Override to add more variables to Response</p>
|
|
13489
13563
|
|
|
13564
|
+
|
|
13490
13565
|
</div>
|
|
13491
13566
|
|
|
13492
13567
|
</div>
|
|
@@ -13504,6 +13579,7 @@ Override to add more variables to Response</p>
|
|
|
13504
13579
|
|
|
13505
13580
|
<p>Function to validate the ObjectDeleteConfirmationForm and to delete the object.</p>
|
|
13506
13581
|
|
|
13582
|
+
|
|
13507
13583
|
</div>
|
|
13508
13584
|
|
|
13509
13585
|
</div>
|
|
@@ -13529,7 +13605,7 @@ Override to add more variables to Response</p>
|
|
|
13529
13605
|
|
|
13530
13606
|
<div class="doc doc-contents ">
|
|
13531
13607
|
<p class="doc doc-class-bases">
|
|
13532
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.RetrieveModelMixin">RetrieveModelMixin</span></code></p>
|
|
13608
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.RetrieveModelMixin">RetrieveModelMixin</span></code></p>
|
|
13533
13609
|
|
|
13534
13610
|
|
|
13535
13611
|
<p>UI mixin to retrieve a model instance.</p>
|
|
@@ -13542,6 +13618,7 @@ Override to add more variables to Response</p>
|
|
|
13542
13618
|
|
|
13543
13619
|
|
|
13544
13620
|
|
|
13621
|
+
|
|
13545
13622
|
<div class="doc doc-children">
|
|
13546
13623
|
|
|
13547
13624
|
|
|
@@ -13565,6 +13642,7 @@ Override to add more variables to Response</p>
|
|
|
13565
13642
|
|
|
13566
13643
|
<p>Retrieve a model instance.</p>
|
|
13567
13644
|
|
|
13645
|
+
|
|
13568
13646
|
</div>
|
|
13569
13647
|
|
|
13570
13648
|
</div>
|
|
@@ -13590,7 +13668,7 @@ Override to add more variables to Response</p>
|
|
|
13590
13668
|
|
|
13591
13669
|
<div class="doc doc-contents ">
|
|
13592
13670
|
<p class="doc doc-class-bases">
|
|
13593
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.generic.GenericView" href="#nautobot.apps.views.GenericView">GenericView</a></code></p>
|
|
13671
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GenericView (nautobot.core.views.generic.GenericView)" href="#nautobot.apps.views.GenericView">GenericView</a></code></p>
|
|
13594
13672
|
|
|
13595
13673
|
|
|
13596
13674
|
<p>Present a list of dynamic groups associated to a particular object.</p>
|
|
@@ -13611,6 +13689,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
13611
13689
|
|
|
13612
13690
|
|
|
13613
13691
|
|
|
13692
|
+
|
|
13614
13693
|
<div class="doc doc-children">
|
|
13615
13694
|
|
|
13616
13695
|
|
|
@@ -13642,7 +13721,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
13642
13721
|
|
|
13643
13722
|
<div class="doc doc-contents ">
|
|
13644
13723
|
<p class="doc doc-class-bases">
|
|
13645
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
13724
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
13646
13725
|
|
|
13647
13726
|
|
|
13648
13727
|
<p>Create or edit a single object.</p>
|
|
@@ -13658,6 +13737,7 @@ template_name: The name of the template</p>
|
|
|
13658
13737
|
|
|
13659
13738
|
|
|
13660
13739
|
|
|
13740
|
+
|
|
13661
13741
|
<div class="doc doc-children">
|
|
13662
13742
|
|
|
13663
13743
|
|
|
@@ -13698,7 +13778,7 @@ template_name: The name of the template</p>
|
|
|
13698
13778
|
<code>request</code>
|
|
13699
13779
|
</td>
|
|
13700
13780
|
<td>
|
|
13701
|
-
<code>HttpRequest</code>
|
|
13781
|
+
<code><span title="HttpRequest">HttpRequest</span></code>
|
|
13702
13782
|
</td>
|
|
13703
13783
|
<td>
|
|
13704
13784
|
<div class="doc-md-description">
|
|
@@ -13740,7 +13820,7 @@ template_name: The name of the template</p>
|
|
|
13740
13820
|
<tbody>
|
|
13741
13821
|
<tr class="doc-section-item">
|
|
13742
13822
|
<td>
|
|
13743
|
-
<code>dict</code>
|
|
13823
|
+
<code><span title="dict">dict</span></code>
|
|
13744
13824
|
</td>
|
|
13745
13825
|
<td>
|
|
13746
13826
|
<div class="doc-md-description">
|
|
@@ -13751,6 +13831,7 @@ template_name: The name of the template</p>
|
|
|
13751
13831
|
</tbody>
|
|
13752
13832
|
</table>
|
|
13753
13833
|
|
|
13834
|
+
|
|
13754
13835
|
</div>
|
|
13755
13836
|
|
|
13756
13837
|
</div>
|
|
@@ -13768,6 +13849,7 @@ template_name: The name of the template</p>
|
|
|
13768
13849
|
|
|
13769
13850
|
<p>Retrieve an object based on <code>kwargs</code>.</p>
|
|
13770
13851
|
|
|
13852
|
+
|
|
13771
13853
|
</div>
|
|
13772
13854
|
|
|
13773
13855
|
</div>
|
|
@@ -13785,6 +13867,7 @@ template_name: The name of the template</p>
|
|
|
13785
13867
|
|
|
13786
13868
|
<p>Callback after the form is successfully saved but before redirecting the user.</p>
|
|
13787
13869
|
|
|
13870
|
+
|
|
13788
13871
|
</div>
|
|
13789
13872
|
|
|
13790
13873
|
</div>
|
|
@@ -13810,7 +13893,7 @@ template_name: The name of the template</p>
|
|
|
13810
13893
|
|
|
13811
13894
|
<div class="doc doc-contents ">
|
|
13812
13895
|
<p class="doc doc-class-bases">
|
|
13813
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.CreateModelMixin">CreateModelMixin</span></code>, <code><span title="rest_framework.mixins.UpdateModelMixin">UpdateModelMixin</span></code></p>
|
|
13896
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.CreateModelMixin">CreateModelMixin</span></code>, <code><span title="rest_framework.mixins.UpdateModelMixin">UpdateModelMixin</span></code></p>
|
|
13814
13897
|
|
|
13815
13898
|
|
|
13816
13899
|
<p>UI mixin to create or update a model instance.</p>
|
|
@@ -13823,6 +13906,7 @@ template_name: The name of the template</p>
|
|
|
13823
13906
|
|
|
13824
13907
|
|
|
13825
13908
|
|
|
13909
|
+
|
|
13826
13910
|
<div class="doc doc-children">
|
|
13827
13911
|
|
|
13828
13912
|
|
|
@@ -13848,6 +13932,7 @@ template_name: The name of the template</p>
|
|
|
13848
13932
|
request.POST: call perform_create() which validates the form and perform the action of create.
|
|
13849
13933
|
Override to add more variables to Response.</p>
|
|
13850
13934
|
|
|
13935
|
+
|
|
13851
13936
|
</div>
|
|
13852
13937
|
|
|
13853
13938
|
</div>
|
|
@@ -13865,6 +13950,7 @@ Override to add more variables to Response.</p>
|
|
|
13865
13950
|
|
|
13866
13951
|
<p>Append extra message at the end of create or update success message.</p>
|
|
13867
13952
|
|
|
13953
|
+
|
|
13868
13954
|
</div>
|
|
13869
13955
|
|
|
13870
13956
|
</div>
|
|
@@ -13882,6 +13968,7 @@ Override to add more variables to Response.</p>
|
|
|
13882
13968
|
|
|
13883
13969
|
<p>Context variables for this extra message.</p>
|
|
13884
13970
|
|
|
13971
|
+
|
|
13885
13972
|
</div>
|
|
13886
13973
|
|
|
13887
13974
|
</div>
|
|
@@ -13899,6 +13986,7 @@ Override to add more variables to Response.</p>
|
|
|
13899
13986
|
|
|
13900
13987
|
<p>Function to validate the ObjectForm and to create a new object.</p>
|
|
13901
13988
|
|
|
13989
|
+
|
|
13902
13990
|
</div>
|
|
13903
13991
|
|
|
13904
13992
|
</div>
|
|
@@ -13916,6 +14004,7 @@ Override to add more variables to Response.</p>
|
|
|
13916
14004
|
|
|
13917
14005
|
<p>Function to validate the ObjectEditForm and to update/partial_update an existing object.</p>
|
|
13918
14006
|
|
|
14007
|
+
|
|
13919
14008
|
</div>
|
|
13920
14009
|
|
|
13921
14010
|
</div>
|
|
@@ -13935,6 +14024,7 @@ Override to add more variables to Response.</p>
|
|
|
13935
14024
|
request.POST: call perform_update() which validates the form and perform the action of update/partial_update of an existing object.
|
|
13936
14025
|
Override to add more variables to Response.</p>
|
|
13937
14026
|
|
|
14027
|
+
|
|
13938
14028
|
</div>
|
|
13939
14029
|
|
|
13940
14030
|
</div>
|
|
@@ -13960,7 +14050,7 @@ Override to add more variables to Response.</p>
|
|
|
13960
14050
|
|
|
13961
14051
|
<div class="doc doc-contents ">
|
|
13962
14052
|
<p class="doc doc-class-bases">
|
|
13963
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.GetReturnURLMixin" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
14053
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GetReturnURLMixin (nautobot.core.views.mixins.GetReturnURLMixin)" href="#nautobot.apps.views.GetReturnURLMixin">GetReturnURLMixin</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
13964
14054
|
|
|
13965
14055
|
|
|
13966
14056
|
<p>Import a single object (YAML or JSON format).</p>
|
|
@@ -13977,6 +14067,7 @@ template_name: The name of the template</p>
|
|
|
13977
14067
|
|
|
13978
14068
|
|
|
13979
14069
|
|
|
14070
|
+
|
|
13980
14071
|
<div class="doc doc-children">
|
|
13981
14072
|
|
|
13982
14073
|
|
|
@@ -14008,7 +14099,7 @@ template_name: The name of the template</p>
|
|
|
14008
14099
|
|
|
14009
14100
|
<div class="doc doc-contents ">
|
|
14010
14101
|
<p class="doc doc-class-bases">
|
|
14011
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
14102
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
14012
14103
|
|
|
14013
14104
|
|
|
14014
14105
|
<p>List a series of objects.</p>
|
|
@@ -14031,6 +14122,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14031
14122
|
|
|
14032
14123
|
|
|
14033
14124
|
|
|
14125
|
+
|
|
14034
14126
|
<div class="doc doc-children">
|
|
14035
14127
|
|
|
14036
14128
|
|
|
@@ -14054,6 +14146,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14054
14146
|
|
|
14055
14147
|
<p>Helper function - take request.GET and discard any parameters that are not used for queryset filtering.</p>
|
|
14056
14148
|
|
|
14149
|
+
|
|
14057
14150
|
</div>
|
|
14058
14151
|
|
|
14059
14152
|
</div>
|
|
@@ -14071,6 +14164,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14071
14164
|
|
|
14072
14165
|
<p>Export the queryset of objects as concatenated YAML documents.</p>
|
|
14073
14166
|
|
|
14167
|
+
|
|
14074
14168
|
</div>
|
|
14075
14169
|
|
|
14076
14170
|
</div>
|
|
@@ -14088,6 +14182,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14088
14182
|
|
|
14089
14183
|
<p>Verify actions in self.action_buttons are valid view actions.</p>
|
|
14090
14184
|
|
|
14185
|
+
|
|
14091
14186
|
</div>
|
|
14092
14187
|
|
|
14093
14188
|
</div>
|
|
@@ -14113,7 +14208,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14113
14208
|
|
|
14114
14209
|
<div class="doc doc-contents ">
|
|
14115
14210
|
<p class="doc doc-class-bases">
|
|
14116
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.ListModelMixin">ListModelMixin</span></code></p>
|
|
14211
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code>, <code><span title="rest_framework.mixins.ListModelMixin">ListModelMixin</span></code></p>
|
|
14117
14212
|
|
|
14118
14213
|
|
|
14119
14214
|
<p>UI mixin to list a model queryset</p>
|
|
@@ -14126,6 +14221,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14126
14221
|
|
|
14127
14222
|
|
|
14128
14223
|
|
|
14224
|
+
|
|
14129
14225
|
<div class="doc doc-children">
|
|
14130
14226
|
|
|
14131
14227
|
|
|
@@ -14149,6 +14245,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14149
14245
|
|
|
14150
14246
|
<p>Filter a query with request querystrings.</p>
|
|
14151
14247
|
|
|
14248
|
+
|
|
14152
14249
|
</div>
|
|
14153
14250
|
|
|
14154
14251
|
</div>
|
|
@@ -14166,6 +14263,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14166
14263
|
|
|
14167
14264
|
<p>List the model instances.</p>
|
|
14168
14265
|
|
|
14266
|
+
|
|
14169
14267
|
</div>
|
|
14170
14268
|
|
|
14171
14269
|
</div>
|
|
@@ -14183,6 +14281,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14183
14281
|
|
|
14184
14282
|
<p>Export the queryset of objects as concatenated YAML documents.</p>
|
|
14185
14283
|
|
|
14284
|
+
|
|
14186
14285
|
</div>
|
|
14187
14286
|
|
|
14188
14287
|
</div>
|
|
@@ -14208,7 +14307,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
14208
14307
|
|
|
14209
14308
|
<div class="doc doc-contents ">
|
|
14210
14309
|
<p class="doc doc-class-bases">
|
|
14211
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.generic.GenericView" href="#nautobot.apps.views.GenericView">GenericView</a></code></p>
|
|
14310
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.GenericView (nautobot.core.views.generic.GenericView)" href="#nautobot.apps.views.GenericView">GenericView</a></code></p>
|
|
14212
14311
|
|
|
14213
14312
|
|
|
14214
14313
|
<p>Present a list of notes associated to a particular object.</p>
|
|
@@ -14227,6 +14326,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
14227
14326
|
|
|
14228
14327
|
|
|
14229
14328
|
|
|
14329
|
+
|
|
14230
14330
|
<div class="doc doc-children">
|
|
14231
14331
|
|
|
14232
14332
|
|
|
@@ -14258,7 +14358,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
14258
14358
|
|
|
14259
14359
|
<div class="doc doc-contents ">
|
|
14260
14360
|
<p class="doc doc-class-bases">
|
|
14261
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.NautobotViewSetMixin" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
14361
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.NautobotViewSetMixin (nautobot.core.views.mixins.NautobotViewSetMixin)" href="#nautobot.apps.views.NautobotViewSetMixin">NautobotViewSetMixin</a></code></p>
|
|
14262
14362
|
|
|
14263
14363
|
|
|
14264
14364
|
<p>UI Mixin for an Object's Notes.</p>
|
|
@@ -14277,6 +14377,7 @@ will be used, as per <code>get_base_template()</code>.</p>
|
|
|
14277
14377
|
|
|
14278
14378
|
|
|
14279
14379
|
|
|
14380
|
+
|
|
14280
14381
|
<div class="doc doc-children">
|
|
14281
14382
|
|
|
14282
14383
|
|
|
@@ -14328,6 +14429,7 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
14328
14429
|
|
|
14329
14430
|
|
|
14330
14431
|
|
|
14432
|
+
|
|
14331
14433
|
<div class="doc doc-children">
|
|
14332
14434
|
|
|
14333
14435
|
|
|
@@ -14351,6 +14453,7 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
14351
14453
|
|
|
14352
14454
|
<p>Return the specific permission necessary to perform the requested action on an object.</p>
|
|
14353
14455
|
|
|
14456
|
+
|
|
14354
14457
|
</div>
|
|
14355
14458
|
|
|
14356
14459
|
</div>
|
|
@@ -14376,7 +14479,7 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
14376
14479
|
|
|
14377
14480
|
<div class="doc doc-contents ">
|
|
14378
14481
|
<p class="doc doc-class-bases">
|
|
14379
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
14482
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.views.ObjectPermissionRequiredMixin (nautobot.core.views.mixins.ObjectPermissionRequiredMixin)" href="#nautobot.apps.views.ObjectPermissionRequiredMixin">ObjectPermissionRequiredMixin</a></code>, <code><span title="django.views.generic.View">View</span></code></p>
|
|
14380
14483
|
|
|
14381
14484
|
|
|
14382
14485
|
<p>Retrieve a single object for display.</p>
|
|
@@ -14391,6 +14494,7 @@ template_name: Name of the template to use</p>
|
|
|
14391
14494
|
|
|
14392
14495
|
|
|
14393
14496
|
|
|
14497
|
+
|
|
14394
14498
|
<div class="doc doc-children">
|
|
14395
14499
|
|
|
14396
14500
|
|
|
@@ -14414,6 +14518,7 @@ template_name: Name of the template to use</p>
|
|
|
14414
14518
|
|
|
14415
14519
|
<p>Generic GET handler for accessing an object.</p>
|
|
14416
14520
|
|
|
14521
|
+
|
|
14417
14522
|
</div>
|
|
14418
14523
|
|
|
14419
14524
|
</div>
|
|
@@ -14448,7 +14553,7 @@ template_name: Name of the template to use</p>
|
|
|
14448
14553
|
<code>request</code>
|
|
14449
14554
|
</td>
|
|
14450
14555
|
<td>
|
|
14451
|
-
<code>Request</code>
|
|
14556
|
+
<code><span title="Request">Request</span></code>
|
|
14452
14557
|
</td>
|
|
14453
14558
|
<td>
|
|
14454
14559
|
<div class="doc-md-description">
|
|
@@ -14490,7 +14595,7 @@ template_name: Name of the template to use</p>
|
|
|
14490
14595
|
<tbody>
|
|
14491
14596
|
<tr class="doc-section-item">
|
|
14492
14597
|
<td>
|
|
14493
|
-
<code>dict</code>
|
|
14598
|
+
<code><span title="dict">dict</span></code>
|
|
14494
14599
|
</td>
|
|
14495
14600
|
<td>
|
|
14496
14601
|
<div class="doc-md-description">
|
|
@@ -14501,6 +14606,7 @@ template_name: Name of the template to use</p>
|
|
|
14501
14606
|
</tbody>
|
|
14502
14607
|
</table>
|
|
14503
14608
|
|
|
14609
|
+
|
|
14504
14610
|
</div>
|
|
14505
14611
|
|
|
14506
14612
|
</div>
|
|
@@ -14518,6 +14624,7 @@ template_name: Name of the template to use</p>
|
|
|
14518
14624
|
|
|
14519
14625
|
<p>Return self.template_name if set. Otherwise, resolve the template path by model app_label and name.</p>
|
|
14520
14626
|
|
|
14627
|
+
|
|
14521
14628
|
</div>
|
|
14522
14629
|
|
|
14523
14630
|
</div>
|
|
@@ -14551,6 +14658,7 @@ Returns:
|
|
|
14551
14658
|
(Union[HttpResponseForbidden,redirect]): HttpResponseForbidden if user does not have permission to run the job,
|
|
14552
14659
|
otherwise redirect to the job result page.</p>
|
|
14553
14660
|
|
|
14661
|
+
|
|
14554
14662
|
</div>
|
|
14555
14663
|
|
|
14556
14664
|
</div>
|
|
@@ -14585,7 +14693,7 @@ Returns:
|
|
|
14585
14693
|
<code>filters</code>
|
|
14586
14694
|
</td>
|
|
14587
14695
|
<td>
|
|
14588
|
-
<code>OrderedDict</code>
|
|
14696
|
+
<code><span title="OrderedDict">OrderedDict</span></code>
|
|
14589
14697
|
</td>
|
|
14590
14698
|
<td>
|
|
14591
14699
|
<div class="doc-md-description">
|
|
@@ -14601,7 +14709,7 @@ Returns:
|
|
|
14601
14709
|
<code>field_name</code>
|
|
14602
14710
|
</td>
|
|
14603
14711
|
<td>
|
|
14604
|
-
<code>str</code>
|
|
14712
|
+
<code><span title="str">str</span></code>
|
|
14605
14713
|
</td>
|
|
14606
14714
|
<td>
|
|
14607
14715
|
<div class="doc-md-description">
|
|
@@ -14617,7 +14725,7 @@ Returns:
|
|
|
14617
14725
|
<code>values</code>
|
|
14618
14726
|
</td>
|
|
14619
14727
|
<td>
|
|
14620
|
-
<code>list[str]</code>
|
|
14728
|
+
<code><span title="list">list</span>[<span title="str">str</span>]</code>
|
|
14621
14729
|
</td>
|
|
14622
14730
|
<td>
|
|
14623
14731
|
<div class="doc-md-description">
|
|
@@ -14643,7 +14751,7 @@ Returns:
|
|
|
14643
14751
|
<tbody>
|
|
14644
14752
|
<tr class="doc-section-item">
|
|
14645
14753
|
<td>
|
|
14646
|
-
<code>dict</code>
|
|
14754
|
+
<code><span title="dict">dict</span></code>
|
|
14647
14755
|
</td>
|
|
14648
14756
|
<td>
|
|
14649
14757
|
<div class="doc-md-description">
|
|
@@ -14657,6 +14765,7 @@ Returns:
|
|
|
14657
14765
|
</tbody>
|
|
14658
14766
|
</table>
|
|
14659
14767
|
|
|
14768
|
+
|
|
14660
14769
|
</div>
|
|
14661
14770
|
|
|
14662
14771
|
</div>
|
|
@@ -14676,6 +14785,7 @@ Returns:
|
|
|
14676
14785
|
<p>Encapsulate any data which contains a comma within double quotes.</p>
|
|
14677
14786
|
<p>Obsolete, as CSV rendering in Nautobot core is now handled by nautobot.core.api.renderers.NautobotCSVRenderer.</p>
|
|
14678
14787
|
|
|
14788
|
+
|
|
14679
14789
|
</div>
|
|
14680
14790
|
|
|
14681
14791
|
</div>
|
|
@@ -14693,6 +14803,7 @@ Returns:
|
|
|
14693
14803
|
|
|
14694
14804
|
<p>From the given serializer class, build a list of field dicts suitable for rendering in the CSV import form.</p>
|
|
14695
14805
|
|
|
14806
|
+
|
|
14696
14807
|
</div>
|
|
14697
14808
|
|
|
14698
14809
|
</div>
|
|
@@ -14712,6 +14823,7 @@ Returns:
|
|
|
14712
14823
|
<p>If a key is specified, return the value for that key.
|
|
14713
14824
|
Otherwise return the value for either of the keys <code>"obj"</code> or <code>"object"</code> as default behavior.</p>
|
|
14714
14825
|
|
|
14826
|
+
|
|
14715
14827
|
</div>
|
|
14716
14828
|
|
|
14717
14829
|
</div>
|
|
@@ -14734,6 +14846,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
14734
14846
|
4. PAGINATE_COUNT global setting.
|
|
14735
14847
|
</code></pre></div>
|
|
14736
14848
|
|
|
14849
|
+
|
|
14737
14850
|
</div>
|
|
14738
14851
|
|
|
14739
14852
|
</div>
|
|
@@ -14751,6 +14864,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
14751
14864
|
|
|
14752
14865
|
<p>Generate a user-friendly error message in response to a ProtectedError exception.</p>
|
|
14753
14866
|
|
|
14867
|
+
|
|
14754
14868
|
</div>
|
|
14755
14869
|
|
|
14756
14870
|
</div>
|
|
@@ -14769,6 +14883,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
14769
14883
|
<p>Compile an object's <code>clone_fields</code> list into a string of URL query parameters. Tags are automatically cloned where
|
|
14770
14884
|
applicable.</p>
|
|
14771
14885
|
|
|
14886
|
+
|
|
14772
14887
|
</div>
|
|
14773
14888
|
|
|
14774
14889
|
</div>
|