nautobot 2.4.0__py3-none-any.whl → 2.4.0b1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/apps/__init__.py +1 -1
- nautobot/apps/api.py +8 -8
- nautobot/apps/change_logging.py +2 -2
- nautobot/apps/choices.py +4 -4
- nautobot/apps/events.py +3 -3
- nautobot/apps/factory.py +2 -2
- nautobot/apps/filters.py +1 -1
- nautobot/apps/forms.py +20 -20
- nautobot/apps/graphql.py +2 -2
- nautobot/apps/jobs.py +8 -8
- nautobot/apps/models.py +19 -19
- nautobot/apps/tables.py +1 -1
- nautobot/apps/testing.py +10 -10
- nautobot/apps/ui.py +2 -2
- nautobot/apps/utils.py +7 -7
- nautobot/apps/views.py +7 -7
- nautobot/circuits/api/serializers.py +0 -1
- nautobot/circuits/api/views.py +8 -4
- nautobot/circuits/tables.py +1 -2
- nautobot/circuits/templates/circuits/circuit_create.html +7 -1
- nautobot/circuits/views.py +3 -3
- nautobot/cloud/api/views.py +10 -6
- nautobot/cloud/models.py +1 -1
- nautobot/cloud/views.py +16 -0
- nautobot/core/api/fields.py +5 -5
- nautobot/core/api/filter_backends.py +9 -3
- nautobot/core/api/schema.py +2 -13
- nautobot/core/api/serializers.py +34 -40
- nautobot/core/api/views.py +4 -56
- nautobot/core/celery/log.py +4 -4
- nautobot/core/celery/schedulers.py +1 -1
- nautobot/core/choices.py +2 -2
- nautobot/core/events/__init__.py +3 -3
- nautobot/core/filters.py +16 -21
- nautobot/core/fixtures/user-data.json +59 -0
- nautobot/core/forms/__init__.py +19 -19
- nautobot/core/forms/fields.py +11 -14
- nautobot/core/forms/forms.py +2 -33
- nautobot/core/graphql/types.py +1 -1
- nautobot/core/jobs/__init__.py +7 -28
- nautobot/core/jobs/cleanup.py +12 -48
- nautobot/core/jobs/groups.py +1 -1
- nautobot/core/management/commands/validate_models.py +1 -1
- nautobot/core/models/__init__.py +1 -1
- nautobot/core/models/query_functions.py +2 -2
- nautobot/core/models/tree_queries.py +3 -6
- nautobot/core/settings.py +2 -29
- nautobot/core/settings.yaml +0 -21
- nautobot/core/tables.py +60 -74
- nautobot/core/templates/inc/media.html +0 -3
- nautobot/core/templates/inc/nav_menu.html +0 -1
- nautobot/core/templates/nautobot_config.py.j2 +0 -13
- nautobot/core/templates/search.html +0 -7
- nautobot/core/templates/utilities/render_jinja2.html +1 -1
- nautobot/core/templates/utilities/templatetags/tag.html +1 -1
- nautobot/core/templates/utilities/theme_preview.html +0 -7
- nautobot/core/templatetags/helpers.py +2 -11
- nautobot/core/testing/__init__.py +8 -8
- nautobot/core/testing/api.py +15 -170
- nautobot/core/testing/filters.py +2 -25
- nautobot/core/testing/forms.py +0 -2
- nautobot/core/testing/mixins.py +2 -7
- nautobot/core/testing/views.py +29 -44
- nautobot/core/tests/integration/test_app_home.py +1 -0
- nautobot/core/tests/integration/test_app_navbar.py +1 -0
- nautobot/core/tests/integration/test_filters.py +2 -0
- nautobot/core/tests/integration/test_home.py +1 -0
- nautobot/core/tests/integration/test_navbar.py +1 -0
- nautobot/core/tests/integration/test_view_authentication.py +0 -1
- nautobot/core/tests/runner.py +1 -1
- nautobot/core/tests/test_api.py +1 -98
- nautobot/core/tests/test_csv.py +3 -25
- nautobot/core/tests/test_forms.py +0 -1
- nautobot/core/tests/test_jobs.py +1 -303
- nautobot/core/tests/test_settings_schema.py +0 -7
- nautobot/core/tests/test_tables.py +0 -100
- nautobot/core/tests/test_utils.py +1 -63
- nautobot/core/tests/test_views.py +3 -30
- nautobot/core/ui/nav.py +0 -1
- nautobot/core/ui/object_detail.py +1 -15
- nautobot/core/urls.py +0 -11
- nautobot/core/utils/lookup.py +8 -11
- nautobot/core/utils/requests.py +9 -24
- nautobot/core/views/__init__.py +0 -42
- nautobot/core/views/generic.py +176 -78
- nautobot/core/views/mixins.py +34 -94
- nautobot/core/views/renderers.py +6 -6
- nautobot/dcim/api/serializers.py +62 -54
- nautobot/dcim/api/views.py +113 -47
- nautobot/dcim/filters/__init__.py +2 -31
- nautobot/dcim/forms.py +17 -36
- nautobot/dcim/graphql/types.py +2 -2
- nautobot/dcim/models/__init__.py +1 -1
- nautobot/dcim/models/device_component_templates.py +2 -2
- nautobot/dcim/models/device_components.py +20 -22
- nautobot/dcim/models/devices.py +1 -10
- nautobot/dcim/models/locations.py +3 -3
- nautobot/dcim/models/power.py +5 -6
- nautobot/dcim/models/racks.py +4 -4
- nautobot/dcim/tables/__init__.py +3 -3
- nautobot/dcim/tables/devices.py +5 -7
- nautobot/dcim/tables/devicetypes.py +2 -2
- nautobot/dcim/tables/racks.py +1 -1
- nautobot/dcim/templates/dcim/controller_create.html +7 -1
- nautobot/dcim/templates/dcim/controller_retrieve.html +9 -1
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_create.html +0 -2
- nautobot/dcim/templates/dcim/controllermanageddevicegroup_retrieve.html +0 -5
- nautobot/dcim/templates/dcim/device.html +9 -1
- nautobot/dcim/templates/dcim/device_edit.html +37 -36
- nautobot/dcim/templates/dcim/location.html +9 -1
- nautobot/dcim/templates/dcim/location_edit.html +7 -1
- nautobot/dcim/templates/dcim/rack.html +9 -1
- nautobot/dcim/templates/dcim/rack_edit.html +7 -1
- nautobot/dcim/templates/dcim/rackreservation.html +9 -1
- nautobot/dcim/templates/dcim/virtualdevicecontext_retrieve.html +9 -1
- nautobot/dcim/templates/dcim/virtualdevicecontext_update.html +7 -1
- nautobot/dcim/tests/test_api.py +3 -16
- nautobot/dcim/tests/test_filters.py +0 -33
- nautobot/dcim/tests/test_forms.py +2 -51
- nautobot/dcim/tests/test_graphql.py +0 -52
- nautobot/dcim/tests/test_models.py +5 -34
- nautobot/dcim/tests/test_views.py +83 -21
- nautobot/dcim/views.py +13 -1
- nautobot/extras/api/customfields.py +2 -2
- nautobot/extras/api/serializers.py +85 -90
- nautobot/extras/api/views.py +27 -22
- nautobot/extras/constants.py +0 -2
- nautobot/extras/filters/__init__.py +6 -8
- nautobot/extras/forms/base.py +2 -2
- nautobot/extras/forms/forms.py +31 -139
- nautobot/extras/forms/mixins.py +5 -13
- nautobot/extras/group_sync.py +3 -3
- nautobot/extras/health_checks.py +2 -1
- nautobot/extras/jobs.py +12 -70
- nautobot/extras/managers.py +1 -3
- nautobot/extras/migrations/0018_joblog_data_migration.py +9 -7
- nautobot/extras/models/__init__.py +1 -1
- nautobot/extras/models/contacts.py +1 -1
- nautobot/extras/models/customfields.py +11 -12
- nautobot/extras/models/groups.py +9 -11
- nautobot/extras/models/jobs.py +4 -23
- nautobot/extras/models/models.py +2 -2
- nautobot/extras/plugins/__init__.py +2 -13
- nautobot/extras/plugins/marketplace_manifest.yml +79 -84
- nautobot/extras/plugins/tables.py +14 -16
- nautobot/extras/plugins/views.py +69 -65
- nautobot/extras/registry.py +1 -1
- nautobot/extras/secrets/__init__.py +2 -2
- nautobot/extras/tables.py +5 -7
- nautobot/extras/templates/extras/dynamicgroup.html +9 -1
- nautobot/extras/templates/extras/job_detail.html +0 -16
- nautobot/extras/templates/extras/job_edit.html +0 -1
- nautobot/extras/templates/extras/jobqueue_retrieve.html +9 -1
- nautobot/extras/templates/extras/marketplace.html +11 -29
- nautobot/extras/templates/extras/plugin_detail.html +15 -32
- nautobot/extras/templates/extras/plugins_tiles.html +10 -21
- nautobot/extras/test_jobs/api_test_job.py +1 -1
- nautobot/extras/test_jobs/atomic_transaction.py +2 -2
- nautobot/extras/test_jobs/dry_run.py +1 -1
- nautobot/extras/test_jobs/fail.py +5 -5
- nautobot/extras/test_jobs/file_output.py +1 -1
- nautobot/extras/test_jobs/file_upload_fail.py +1 -1
- nautobot/extras/test_jobs/file_upload_pass.py +1 -1
- nautobot/extras/test_jobs/ipaddress_vars.py +1 -3
- nautobot/extras/test_jobs/jobs_module/jobs_submodule/jobs.py +1 -1
- nautobot/extras/test_jobs/location_with_custom_field.py +1 -1
- nautobot/extras/test_jobs/log_redaction.py +1 -1
- nautobot/extras/test_jobs/log_skip_db_logging.py +1 -1
- nautobot/extras/test_jobs/modify_db.py +1 -1
- nautobot/extras/test_jobs/object_var_optional.py +1 -1
- nautobot/extras/test_jobs/object_var_required.py +1 -1
- nautobot/extras/test_jobs/object_vars.py +1 -1
- nautobot/extras/test_jobs/pass.py +3 -3
- nautobot/extras/test_jobs/profiling.py +1 -1
- nautobot/extras/test_jobs/relative_import.py +3 -3
- nautobot/extras/test_jobs/soft_time_limit_greater_than_time_limit.py +1 -1
- nautobot/extras/test_jobs/task_queues.py +1 -1
- nautobot/extras/tests/integration/test_plugin_banner.py +2 -0
- nautobot/extras/tests/test_api.py +13 -13
- nautobot/extras/tests/test_customfields.py +1 -1
- nautobot/extras/tests/test_datasources.py +1 -2
- nautobot/extras/tests/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/test_filters.py +6 -6
- nautobot/extras/tests/test_forms.py +1 -20
- nautobot/extras/tests/test_jobs.py +19 -160
- nautobot/extras/tests/test_models.py +10 -10
- nautobot/extras/tests/test_plugins.py +9 -62
- nautobot/extras/tests/test_relationships.py +9 -120
- nautobot/extras/tests/test_views.py +191 -52
- nautobot/extras/utils.py +2 -3
- nautobot/extras/views.py +98 -30
- nautobot/ipam/api/fields.py +3 -3
- nautobot/ipam/api/serializers.py +33 -41
- nautobot/ipam/api/views.py +117 -68
- nautobot/ipam/factory.py +1 -1
- nautobot/ipam/filters.py +2 -3
- nautobot/ipam/lookups.py +62 -101
- nautobot/ipam/models.py +16 -66
- nautobot/ipam/querysets.py +2 -2
- nautobot/ipam/tables.py +7 -23
- nautobot/ipam/templates/ipam/ipaddress.html +9 -1
- nautobot/ipam/templates/ipam/ipaddress_bulk_add.html +7 -1
- nautobot/ipam/templates/ipam/ipaddress_edit.html +7 -1
- nautobot/ipam/templates/ipam/prefix.html +9 -1
- nautobot/ipam/templates/ipam/prefix_edit.html +7 -1
- nautobot/ipam/templates/ipam/vlan.html +9 -1
- nautobot/ipam/templates/ipam/vlan_edit.html +7 -1
- nautobot/ipam/templates/ipam/vrf_edit.html +7 -1
- nautobot/ipam/tests/test_api.py +3 -416
- nautobot/ipam/tests/test_forms.py +47 -49
- nautobot/ipam/tests/test_migrations.py +30 -30
- nautobot/ipam/tests/test_models.py +34 -95
- nautobot/ipam/tests/test_querysets.py +1 -63
- nautobot/ipam/tests/test_views.py +0 -3
- nautobot/ipam/utils/__init__.py +6 -36
- nautobot/ipam/views.py +87 -61
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap-theme.min.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css +2 -40
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.css.map +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css +1 -1
- nautobot/project-static/bootstrap-3.4.1-dist/css/bootstrap.min.css.map +1 -1
- nautobot/project-static/docs/404.html +4 -46
- nautobot/project-static/docs/apps/index.html +4 -46
- nautobot/project-static/docs/apps/nautobot-apps.html +6 -47
- nautobot/project-static/docs/assets/_mkdocstrings.css +1 -25
- nautobot/project-static/docs/assets/javascripts/{bundle.88dd0f4e.min.js → bundle.83f73b43.min.js} +2 -2
- nautobot/project-static/docs/assets/javascripts/{bundle.88dd0f4e.min.js.map → bundle.83f73b43.min.js.map} +2 -2
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +10 -62
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +7 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +122 -374
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +18 -90
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +21 -95
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +6 -53
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +5 -52
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +17 -79
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +28 -102
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +21 -108
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +38 -131
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +65 -239
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +165 -581
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +36 -109
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +167 -453
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +211 -493
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +8 -60
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +15 -71
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +55 -407
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +205 -585
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +412 -858
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +7 -59
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +186 -448
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +147 -365
- nautobot/project-static/docs/development/apps/api/configuration-view.html +4 -46
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/global-search.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/graphql.html +4 -46
- nautobot/project-static/docs/development/apps/api/models/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +4 -46
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +7 -68
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +4 -46
- nautobot/project-static/docs/development/apps/api/prometheus.html +4 -46
- nautobot/project-static/docs/development/apps/api/setup.html +4 -46
- nautobot/project-static/docs/development/apps/api/testing.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +4 -46
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/base-template.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/index.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/notes.html +4 -46
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +6 -52
- nautobot/project-static/docs/development/apps/api/views/urls.html +4 -46
- nautobot/project-static/docs/development/apps/index.html +4 -46
- nautobot/project-static/docs/development/apps/migration/code-updates.html +4 -46
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +4 -46
- nautobot/project-static/docs/development/apps/migration/from-v1.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +4 -46
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +4 -46
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +8 -50
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +4 -46
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +14 -211
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +4 -46
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +4 -46
- nautobot/project-static/docs/development/core/application-registry.html +4 -46
- nautobot/project-static/docs/development/core/best-practices.html +4 -46
- nautobot/project-static/docs/development/core/bootstrap-ui.html +4 -46
- nautobot/project-static/docs/development/core/caching.html +4 -46
- nautobot/project-static/docs/development/core/controllers.html +4 -46
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +74 -73
- nautobot/project-static/docs/development/core/generic-views.html +4 -46
- nautobot/project-static/docs/development/core/getting-started.html +224 -249
- nautobot/project-static/docs/development/core/homepage.html +7 -49
- nautobot/project-static/docs/development/core/index.html +4 -46
- nautobot/project-static/docs/development/core/{minikube-dev-environment-for-k8s-jobs.html → local-k8s.html} +168 -469
- nautobot/project-static/docs/development/core/model-checklist.html +12 -56
- nautobot/project-static/docs/development/core/model-features.html +4 -46
- nautobot/project-static/docs/development/core/natural-keys.html +4 -46
- nautobot/project-static/docs/development/core/navigation-menu.html +4 -46
- nautobot/project-static/docs/development/core/release-checklist.html +7 -49
- nautobot/project-static/docs/development/core/role-internals.html +4 -46
- nautobot/project-static/docs/development/core/settings.html +4 -46
- nautobot/project-static/docs/development/core/style-guide.html +7 -49
- nautobot/project-static/docs/development/core/templates.html +4 -46
- nautobot/project-static/docs/development/core/testing.html +4 -46
- nautobot/project-static/docs/development/core/ui-component-framework.html +273 -369
- nautobot/project-static/docs/development/core/user-preferences.html +4 -46
- nautobot/project-static/docs/development/index.html +4 -46
- nautobot/project-static/docs/development/jobs/index.html +122 -216
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +4 -46
- nautobot/project-static/docs/index.html +23 -54
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +7 -47
- nautobot/project-static/docs/overview/design_philosophy.html +4 -46
- nautobot/project-static/docs/release-notes/index.html +12 -52
- nautobot/project-static/docs/release-notes/version-1.0.html +193 -234
- nautobot/project-static/docs/release-notes/version-1.1.html +190 -231
- nautobot/project-static/docs/release-notes/version-1.2.html +265 -306
- nautobot/project-static/docs/release-notes/version-1.3.html +291 -332
- nautobot/project-static/docs/release-notes/version-1.4.html +377 -417
- nautobot/project-static/docs/release-notes/version-1.5.html +566 -605
- nautobot/project-static/docs/release-notes/version-1.6.html +447 -904
- nautobot/project-static/docs/release-notes/version-2.0.html +489 -528
- nautobot/project-static/docs/release-notes/version-2.1.html +324 -363
- nautobot/project-static/docs/release-notes/version-2.2.html +317 -356
- nautobot/project-static/docs/release-notes/version-2.3.html +352 -997
- nautobot/project-static/docs/release-notes/version-2.4.html +101 -417
- nautobot/project-static/docs/requirements.txt +2 -2
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +287 -295
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +6 -48
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +4 -46
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +8 -110
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +4 -46
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +6 -48
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +8 -66
- nautobot/project-static/docs/user-guide/administration/installation/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +5 -47
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +4 -46
- nautobot/project-static/docs/user-guide/administration/installation/services.html +4 -46
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +4 -46
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +4 -46
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +4 -46
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +8 -49
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +4 -46
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +12 -50
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +7 -49
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +4 -46
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +7 -51
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +4 -46
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +7 -49
- nautobot/project-static/docs/user-guide/index.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +8 -50
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +7 -50
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +7 -49
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +5 -47
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +25 -94
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +5 -74
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +4 -46
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +4 -46
- nautobot/project-static/js/forms.js +1 -1
- nautobot/tenancy/api/views.py +13 -9
- nautobot/tenancy/views.py +2 -4
- nautobot/users/admin.py +1 -1
- nautobot/users/api/serializers.py +4 -5
- nautobot/users/api/views.py +3 -3
- nautobot/virtualization/api/serializers.py +4 -4
- nautobot/virtualization/api/views.py +24 -5
- nautobot/virtualization/filters.py +3 -20
- nautobot/virtualization/models.py +1 -1
- nautobot/virtualization/tables.py +2 -2
- nautobot/virtualization/templates/virtualization/cluster_edit.html +7 -1
- nautobot/virtualization/templates/virtualization/virtualmachine.html +9 -1
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +8 -2
- nautobot/virtualization/tests/test_filters.py +0 -17
- nautobot/wireless/filters.py +2 -2
- nautobot/wireless/forms.py +1 -1
- nautobot/wireless/templates/wireless/wirelessnetwork_retrieve.html +9 -1
- nautobot/wireless/tests/test_filters.py +1 -29
- nautobot/wireless/views.py +10 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/METADATA +6 -6
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/RECORD +543 -591
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/WHEEL +1 -1
- nautobot/core/api/constants.py +0 -11
- nautobot/core/jobs/bulk_actions.py +0 -248
- nautobot/core/templates/about.html +0 -67
- nautobot/core/templates/inc/tenancy_form_panel.html +0 -9
- nautobot/core/templates/inc/tenant_table_row.html +0 -11
- nautobot/core/utils/querysets.py +0 -64
- nautobot/dcim/migrations/0067_controllermanageddevicegroup_tenant.py +0 -25
- nautobot/dcim/tests/integration/test_controller.py +0 -62
- nautobot/dcim/tests/integration/test_controller_managed_device_group.py +0 -71
- nautobot/dcim/tests/test_jobs.py +0 -118
- nautobot/extras/migrations/0120_job_is_singleton_job_is_singleton_override.py +0 -22
- nautobot/extras/migrations/0121_alter_team_contacts.py +0 -17
- nautobot/extras/test_jobs/singleton.py +0 -16
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_edit.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_edit_button.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_list_nav.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_list_view.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue_add.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_queue_config.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_completed.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_nav.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_result_pending.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_job_run_form.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_nautobot_login.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_run_job.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_run_scheduled_job_form.png +0 -0
- nautobot/project-static/docs/media/development/core/kubernetes/k8s_scheduled_job_result.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/buttons-example.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/cluster-type-before-after-example.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/object-fields-panel-example_2.png +0 -0
- nautobot/project-static/docs/media/development/core/ui-component-framework/stats-panel-example-code.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/central-mode.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-create-1.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/device-group-create-2.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/radio-profile-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/radio-profile-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/supported-data-rate-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/supported-data-rate-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-create-1.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-controller-create-2.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-network-add.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/images/wireless/wireless-network-create.png +0 -0
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +0 -9444
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +0 -9722
- nautobot/wireless/tests/integration/__init__.py +0 -0
- nautobot/wireless/tests/integration/test_radio_profile.py +0 -42
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/NOTICE +0 -0
- {nautobot-2.4.0.dist-info → nautobot-2.4.0b1.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.46">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -2112,27 +2112,6 @@
|
|
|
2112
2112
|
|
|
2113
2113
|
|
|
2114
2114
|
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
<li class="md-nav__item">
|
|
2122
|
-
<a href="../../../user-guide/feature-guides/wireless-networks-and-controllers.html" class="md-nav__link">
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
<span class="md-ellipsis">
|
|
2126
|
-
Wireless Networks and Controllers
|
|
2127
|
-
</span>
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
</a>
|
|
2131
|
-
</li>
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
2115
|
</ul>
|
|
2137
2116
|
</nav>
|
|
2138
2117
|
|
|
@@ -5152,27 +5131,6 @@
|
|
|
5152
5131
|
|
|
5153
5132
|
|
|
5154
5133
|
|
|
5155
|
-
<li class="md-nav__item">
|
|
5156
|
-
<a href="../../../user-guide/platform-functionality/jobs/kubernetes-job-support.html" class="md-nav__link">
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
<span class="md-ellipsis">
|
|
5160
|
-
Kubernetes Job Support
|
|
5161
|
-
</span>
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
</a>
|
|
5165
|
-
</li>
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
5134
|
<li class="md-nav__item">
|
|
5177
5135
|
<a href="../../../user-guide/platform-functionality/jobs/jobbutton.html" class="md-nav__link">
|
|
5178
5136
|
|
|
@@ -9067,11 +9025,11 @@
|
|
|
9067
9025
|
|
|
9068
9026
|
|
|
9069
9027
|
<li class="md-nav__item">
|
|
9070
|
-
<a href="../../../development/core/
|
|
9028
|
+
<a href="../../../development/core/local-k8s.html" class="md-nav__link">
|
|
9071
9029
|
|
|
9072
9030
|
|
|
9073
9031
|
<span class="md-ellipsis">
|
|
9074
|
-
|
|
9032
|
+
Local Kubernetes Cluster
|
|
9075
9033
|
</span>
|
|
9076
9034
|
|
|
9077
9035
|
|
|
@@ -10938,12 +10896,7 @@
|
|
|
10938
10896
|
|
|
10939
10897
|
<div class="doc doc-contents first">
|
|
10940
10898
|
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10899
|
+
<p>Utilities for apps to implement UI views.</p>
|
|
10947
10900
|
|
|
10948
10901
|
|
|
10949
10902
|
|
|
@@ -10969,15 +10922,10 @@
|
|
|
10969
10922
|
|
|
10970
10923
|
<div class="doc doc-contents ">
|
|
10971
10924
|
<p class="doc doc-class-bases">
|
|
10972
|
-
Bases: <code><
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
<p>Allows access only to admin users.</p>
|
|
10976
|
-
|
|
10977
|
-
|
|
10978
|
-
|
|
10925
|
+
Bases: <code><autoref identifier="django.contrib.auth.mixins.AccessMixin" optional hover>AccessMixin</autoref></code></p>
|
|
10979
10926
|
|
|
10980
10927
|
|
|
10928
|
+
<p>Allows access only to admin users.</p>
|
|
10981
10929
|
|
|
10982
10930
|
|
|
10983
10931
|
|
|
@@ -11013,15 +10961,10 @@
|
|
|
11013
10961
|
|
|
11014
10962
|
<div class="doc doc-contents ">
|
|
11015
10963
|
<p class="doc doc-class-bases">
|
|
11016
|
-
Bases: <code><
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a set of Devices or VirtualMachines.</p>
|
|
11020
|
-
|
|
11021
|
-
|
|
11022
|
-
|
|
10964
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11023
10965
|
|
|
11024
10966
|
|
|
10967
|
+
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a set of Devices or VirtualMachines.</p>
|
|
11025
10968
|
|
|
11026
10969
|
|
|
11027
10970
|
|
|
@@ -11057,10 +11000,10 @@
|
|
|
11057
11000
|
|
|
11058
11001
|
<div class="doc doc-contents ">
|
|
11059
11002
|
<p class="doc doc-class-bases">
|
|
11060
|
-
Bases: <code><
|
|
11003
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11061
11004
|
|
|
11062
11005
|
|
|
11063
|
-
|
|
11006
|
+
<p>Create new objects in bulk.</p>
|
|
11064
11007
|
<p>queryset: Base queryset for the objects being created
|
|
11065
11008
|
form: Form class which provides the <code>pattern</code> field
|
|
11066
11009
|
model_form: The ModelForm used to create individual objects
|
|
@@ -11070,11 +11013,6 @@ template_name: The name of the template</p>
|
|
|
11070
11013
|
|
|
11071
11014
|
|
|
11072
11015
|
|
|
11073
|
-
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
11016
|
<div class="doc doc-children">
|
|
11079
11017
|
|
|
11080
11018
|
|
|
@@ -11106,10 +11044,10 @@ template_name: The name of the template</p>
|
|
|
11106
11044
|
|
|
11107
11045
|
<div class="doc doc-contents ">
|
|
11108
11046
|
<p class="doc doc-class-bases">
|
|
11109
|
-
Bases: <code><
|
|
11047
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.EditAndDeleteAllModelMixin" optional hover>EditAndDeleteAllModelMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11110
11048
|
|
|
11111
11049
|
|
|
11112
|
-
|
|
11050
|
+
<p>Delete objects in bulk.</p>
|
|
11113
11051
|
<p>queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
|
11114
11052
|
filterset: FilterSet to apply when deleting by QuerySet
|
|
11115
11053
|
table: The table used to display devices being deleted
|
|
@@ -11119,11 +11057,6 @@ template_name: The name of the template</p>
|
|
|
11119
11057
|
|
|
11120
11058
|
|
|
11121
11059
|
|
|
11122
|
-
|
|
11123
|
-
|
|
11124
|
-
|
|
11125
|
-
|
|
11126
|
-
|
|
11127
11060
|
<div class="doc doc-children">
|
|
11128
11061
|
|
|
11129
11062
|
|
|
@@ -11145,7 +11078,7 @@ template_name: The name of the template</p>
|
|
|
11145
11078
|
|
|
11146
11079
|
<div class="doc doc-contents ">
|
|
11147
11080
|
|
|
11148
|
-
|
|
11081
|
+
<p>Provide a standard bulk delete form if none has been specified for the view</p>
|
|
11149
11082
|
|
|
11150
11083
|
</div>
|
|
11151
11084
|
|
|
@@ -11172,10 +11105,10 @@ template_name: The name of the template</p>
|
|
|
11172
11105
|
|
|
11173
11106
|
<div class="doc doc-contents ">
|
|
11174
11107
|
<p class="doc doc-class-bases">
|
|
11175
|
-
Bases: <code><
|
|
11108
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.EditAndDeleteAllModelMixin" optional hover>EditAndDeleteAllModelMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11176
11109
|
|
|
11177
11110
|
|
|
11178
|
-
|
|
11111
|
+
<p>Edit objects in bulk.</p>
|
|
11179
11112
|
<p>queryset: Custom queryset to use when retrieving objects (e.g. to select related objects)
|
|
11180
11113
|
filter: FilterSet to apply when deleting by QuerySet
|
|
11181
11114
|
table: The table used to display devices being edited
|
|
@@ -11185,11 +11118,6 @@ template_name: The name of the template</p>
|
|
|
11185
11118
|
|
|
11186
11119
|
|
|
11187
11120
|
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
11121
|
<div class="doc doc-children">
|
|
11194
11122
|
|
|
11195
11123
|
|
|
@@ -11211,7 +11139,7 @@ template_name: The name of the template</p>
|
|
|
11211
11139
|
|
|
11212
11140
|
<div class="doc doc-contents ">
|
|
11213
11141
|
|
|
11214
|
-
|
|
11142
|
+
<p>Extra actions after a form is saved</p>
|
|
11215
11143
|
|
|
11216
11144
|
</div>
|
|
11217
11145
|
|
|
@@ -11238,10 +11166,10 @@ template_name: The name of the template</p>
|
|
|
11238
11166
|
|
|
11239
11167
|
<div class="doc doc-contents ">
|
|
11240
11168
|
<p class="doc doc-class-bases">
|
|
11241
|
-
Bases: <code><
|
|
11169
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11242
11170
|
|
|
11243
11171
|
|
|
11244
|
-
|
|
11172
|
+
<p>Import objects in bulk (CSV format).</p>
|
|
11245
11173
|
<p>Deprecated - replaced by ImportObjects system Job.</p>
|
|
11246
11174
|
<p>queryset: Base queryset for the model
|
|
11247
11175
|
table: The django-tables2 Table used to render the list of imported objects
|
|
@@ -11250,11 +11178,6 @@ template_name: The name of the template</p>
|
|
|
11250
11178
|
|
|
11251
11179
|
|
|
11252
11180
|
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
11181
|
<div class="doc doc-children">
|
|
11259
11182
|
|
|
11260
11183
|
|
|
@@ -11286,15 +11209,10 @@ template_name: The name of the template</p>
|
|
|
11286
11209
|
|
|
11287
11210
|
<div class="doc doc-contents ">
|
|
11288
11211
|
<p class="doc doc-class-bases">
|
|
11289
|
-
Bases: <code><
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
<p>An extendable view for renaming objects in bulk.</p>
|
|
11293
|
-
|
|
11294
|
-
|
|
11295
|
-
|
|
11212
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11296
11213
|
|
|
11297
11214
|
|
|
11215
|
+
<p>An extendable view for renaming objects in bulk.</p>
|
|
11298
11216
|
|
|
11299
11217
|
|
|
11300
11218
|
|
|
@@ -11320,7 +11238,7 @@ template_name: The name of the template</p>
|
|
|
11320
11238
|
|
|
11321
11239
|
<div class="doc doc-contents ">
|
|
11322
11240
|
|
|
11323
|
-
|
|
11241
|
+
<p>Return selected_objects parent name.</p>
|
|
11324
11242
|
<p>This method is intended to be overridden by child classes to return the parent name of the selected objects.</p>
|
|
11325
11243
|
|
|
11326
11244
|
|
|
@@ -11336,11 +11254,9 @@ template_name: The name of the template</p>
|
|
|
11336
11254
|
</thead>
|
|
11337
11255
|
<tbody>
|
|
11338
11256
|
<tr class="doc-section-item">
|
|
11257
|
+
<td><code>selected_objects</code></td>
|
|
11339
11258
|
<td>
|
|
11340
|
-
|
|
11341
|
-
</td>
|
|
11342
|
-
<td>
|
|
11343
|
-
<code>list[BaseModel]</code>
|
|
11259
|
+
<code><autoref identifier="list" optional>list</autoref>[<autoref identifier="BaseModel" optional>BaseModel</autoref>]</code>
|
|
11344
11260
|
</td>
|
|
11345
11261
|
<td>
|
|
11346
11262
|
<div class="doc-md-description">
|
|
@@ -11366,7 +11282,7 @@ template_name: The name of the template</p>
|
|
|
11366
11282
|
<tbody>
|
|
11367
11283
|
<tr class="doc-section-item">
|
|
11368
11284
|
<td>
|
|
11369
|
-
<code>str</code>
|
|
11285
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
11370
11286
|
</td>
|
|
11371
11287
|
<td>
|
|
11372
11288
|
<div class="doc-md-description">
|
|
@@ -11402,15 +11318,10 @@ template_name: The name of the template</p>
|
|
|
11402
11318
|
|
|
11403
11319
|
<div class="doc doc-contents ">
|
|
11404
11320
|
<p class="doc doc-class-bases">
|
|
11405
|
-
Bases: <code><
|
|
11406
|
-
|
|
11407
|
-
|
|
11408
|
-
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a Device or VirtualMachine.</p>
|
|
11409
|
-
|
|
11410
|
-
|
|
11411
|
-
|
|
11321
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11412
11322
|
|
|
11413
11323
|
|
|
11324
|
+
<p>Add one or more components (e.g. interfaces, console ports, etc.) to a Device or VirtualMachine.</p>
|
|
11414
11325
|
|
|
11415
11326
|
|
|
11416
11327
|
|
|
@@ -11446,10 +11357,10 @@ template_name: The name of the template</p>
|
|
|
11446
11357
|
|
|
11447
11358
|
<div class="doc doc-contents ">
|
|
11448
11359
|
<p class="doc doc-class-bases">
|
|
11449
|
-
Bases: <code><
|
|
11360
|
+
Bases: <code><autoref identifier="django.contrib.auth.mixins.AccessMixin" optional hover>AccessMixin</autoref></code></p>
|
|
11450
11361
|
|
|
11451
11362
|
|
|
11452
|
-
|
|
11363
|
+
<p>Similar to Django's built-in PermissionRequiredMixin, but extended to check model-level permission assignments.
|
|
11453
11364
|
This is related to ObjectPermissionRequiredMixin, except that is does not enforce object-level permissions,
|
|
11454
11365
|
and fits within Nautobot's custom permission enforcement system.</p>
|
|
11455
11366
|
|
|
@@ -11461,11 +11372,6 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11461
11372
|
|
|
11462
11373
|
|
|
11463
11374
|
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
11375
|
<div class="doc doc-children">
|
|
11470
11376
|
|
|
11471
11377
|
|
|
@@ -11487,7 +11393,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11487
11393
|
|
|
11488
11394
|
<div class="doc doc-contents ">
|
|
11489
11395
|
|
|
11490
|
-
|
|
11396
|
+
<p>Return the specific permission necessary to perform the requested action on an object.</p>
|
|
11491
11397
|
|
|
11492
11398
|
</div>
|
|
11493
11399
|
|
|
@@ -11514,18 +11420,13 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11514
11420
|
|
|
11515
11421
|
<div class="doc doc-contents ">
|
|
11516
11422
|
<p class="doc doc-class-bases">
|
|
11517
|
-
Bases: <code><
|
|
11423
|
+
Bases: <code><autoref identifier="django.contrib.auth.mixins.LoginRequiredMixin" optional hover>LoginRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
11518
11424
|
|
|
11519
11425
|
|
|
11520
|
-
|
|
11426
|
+
<p>Base class for non-object-related views.</p>
|
|
11521
11427
|
<p>Enforces authentication, which Django's base View does not by default.</p>
|
|
11522
11428
|
|
|
11523
11429
|
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
11430
|
</div>
|
|
11530
11431
|
|
|
11531
11432
|
</div>
|
|
@@ -11544,12 +11445,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11544
11445
|
<div class="doc doc-contents ">
|
|
11545
11446
|
|
|
11546
11447
|
|
|
11547
|
-
|
|
11548
|
-
|
|
11549
|
-
|
|
11550
|
-
|
|
11551
|
-
|
|
11552
|
-
|
|
11448
|
+
<p>Provides logic for determining where a user should be redirected after processing a form.</p>
|
|
11553
11449
|
|
|
11554
11450
|
|
|
11555
11451
|
|
|
@@ -11585,15 +11481,10 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11585
11481
|
|
|
11586
11482
|
<div class="doc doc-contents ">
|
|
11587
11483
|
<p class="doc doc-class-bases">
|
|
11588
|
-
Bases: <code><
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
<p>Inherited from BrowsableAPIRenderer to do most of the heavy lifting for getting the context needed for templates and template rendering.</p>
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
|
|
11484
|
+
Bases: <code><autoref identifier="rest_framework.renderers.BrowsableAPIRenderer" optional hover>BrowsableAPIRenderer</autoref></code></p>
|
|
11595
11485
|
|
|
11596
11486
|
|
|
11487
|
+
<p>Inherited from BrowsableAPIRenderer to do most of the heavy lifting for getting the context needed for templates and template rendering.</p>
|
|
11597
11488
|
|
|
11598
11489
|
|
|
11599
11490
|
|
|
@@ -11619,7 +11510,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11619
11510
|
|
|
11620
11511
|
<div class="doc doc-contents ">
|
|
11621
11512
|
|
|
11622
|
-
|
|
11513
|
+
<p>Helper function to construct and paginate the table for rendering used in the ObjectListView, ObjectBulkUpdateView and ObjectBulkDestroyView.</p>
|
|
11623
11514
|
|
|
11624
11515
|
</div>
|
|
11625
11516
|
|
|
@@ -11636,7 +11527,7 @@ and fits within Nautobot's custom permission enforcement system.</p>
|
|
|
11636
11527
|
|
|
11637
11528
|
<div class="doc doc-contents ">
|
|
11638
11529
|
|
|
11639
|
-
|
|
11530
|
+
<p>Helper function to gather the user's permissions to add, change, delete and view the model,
|
|
11640
11531
|
and then render the action buttons accordingly allowed in the ObjectListView UI.</p>
|
|
11641
11532
|
|
|
11642
11533
|
</div>
|
|
@@ -11654,7 +11545,7 @@ and then render the action buttons accordingly allowed in the ObjectListView UI.
|
|
|
11654
11545
|
|
|
11655
11546
|
<div class="doc doc-contents ">
|
|
11656
11547
|
|
|
11657
|
-
|
|
11548
|
+
<p>Override get_context() from BrowsableAPIRenderer to obtain the context data we need to render our templates.
|
|
11658
11549
|
context variable contains template context needed to render Nautobot generic templates / circuits templates.
|
|
11659
11550
|
Override this function to add additional key/value pair to pass it to your templates.</p>
|
|
11660
11551
|
|
|
@@ -11673,7 +11564,7 @@ Override this function to add additional key/value pair to pass it to your templ
|
|
|
11673
11564
|
|
|
11674
11565
|
<div class="doc doc-contents ">
|
|
11675
11566
|
|
|
11676
|
-
|
|
11567
|
+
<p>Helper function to obtain the filter_form_class,
|
|
11677
11568
|
and then initialize and return the filter_form used in the ObjectListView UI.</p>
|
|
11678
11569
|
|
|
11679
11570
|
</div>
|
|
@@ -11691,7 +11582,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11691
11582
|
|
|
11692
11583
|
<div class="doc doc-contents ">
|
|
11693
11584
|
|
|
11694
|
-
|
|
11585
|
+
<p>Overrode render() from BrowsableAPIRenderer to set self.template with NautobotViewSet's get_template_name() before it is rendered.</p>
|
|
11695
11586
|
|
|
11696
11587
|
</div>
|
|
11697
11588
|
|
|
@@ -11708,7 +11599,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11708
11599
|
|
|
11709
11600
|
<div class="doc doc-contents ">
|
|
11710
11601
|
|
|
11711
|
-
|
|
11602
|
+
<p>Verify actions in self.action_buttons are valid view actions.</p>
|
|
11712
11603
|
|
|
11713
11604
|
</div>
|
|
11714
11605
|
|
|
@@ -11735,21 +11626,16 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11735
11626
|
|
|
11736
11627
|
<div class="doc doc-contents ">
|
|
11737
11628
|
<p class="doc doc-class-bases">
|
|
11738
|
-
Bases: <code><
|
|
11629
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.ObjectDetailViewMixin" optional hover>ObjectDetailViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectListViewMixin" optional hover>ObjectListViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectEditViewMixin" optional hover>ObjectEditViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectDestroyViewMixin" optional hover>ObjectDestroyViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectBulkDestroyViewMixin" optional hover>ObjectBulkDestroyViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectBulkCreateViewMixin" optional hover>ObjectBulkCreateViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectBulkUpdateViewMixin" optional hover>ObjectBulkUpdateViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectChangeLogViewMixin" optional hover>ObjectChangeLogViewMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectNotesViewMixin" optional hover>ObjectNotesViewMixin</autoref></code></p>
|
|
11739
11630
|
|
|
11740
11631
|
|
|
11741
|
-
|
|
11632
|
+
<p>Nautobot BaseViewSet that is intended for UI use only. It provides default Nautobot functionalities such as
|
|
11742
11633
|
<code>create()</code>, <code>update()</code>, <code>partial_update()</code>, <code>bulk_update()</code>, <code>destroy()</code>, <code>bulk_destroy()</code>, <code>retrieve()</code>
|
|
11743
11634
|
<code>notes()</code>, <code>changelog()</code> and <code>list()</code> actions.</p>
|
|
11744
11635
|
|
|
11745
11636
|
|
|
11746
11637
|
|
|
11747
11638
|
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11753
11639
|
<div class="doc doc-children">
|
|
11754
11640
|
|
|
11755
11641
|
|
|
@@ -11781,15 +11667,10 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11781
11667
|
|
|
11782
11668
|
<div class="doc doc-contents ">
|
|
11783
11669
|
<p class="doc doc-class-bases">
|
|
11784
|
-
Bases: <code><
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
<p>NautobotViewSetMixin is an aggregation of various mixins from DRF, Django and Nautobot to acheive the desired behavior pattern for NautobotUIViewSet</p>
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11670
|
+
Bases: <code><autoref identifier="rest_framework.viewsets.GenericViewSet" optional hover>GenericViewSet</autoref></code>, <code><autoref identifier="django.contrib.auth.mixins.AccessMixin" optional hover>AccessMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="django.views.generic.edit.FormView" optional hover>FormView</autoref></code></p>
|
|
11791
11671
|
|
|
11792
11672
|
|
|
11673
|
+
<p>NautobotViewSetMixin is an aggregation of various mixins from DRF, Django and Nautobot to acheive the desired behavior pattern for NautobotUIViewSet</p>
|
|
11793
11674
|
|
|
11794
11675
|
|
|
11795
11676
|
|
|
@@ -11815,7 +11696,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11815
11696
|
|
|
11816
11697
|
<div class="doc doc-contents ">
|
|
11817
11698
|
|
|
11818
|
-
|
|
11699
|
+
<p>Check whether the user has the permissions needed to perform certain actions.</p>
|
|
11819
11700
|
|
|
11820
11701
|
</div>
|
|
11821
11702
|
|
|
@@ -11832,7 +11713,7 @@ and then initialize and return the filter_form used in the ObjectListView UI.</p
|
|
|
11832
11713
|
|
|
11833
11714
|
<div class="doc doc-contents ">
|
|
11834
11715
|
|
|
11835
|
-
|
|
11716
|
+
<p>Override the default dispatch() method to check permissions first.
|
|
11836
11717
|
Used to determine whether the user has permissions to a view and object-level permissions.
|
|
11837
11718
|
Using AccessMixin handle_no_permission() to deal with Object-Level permissions and API-Level permissions in one pass.</p>
|
|
11838
11719
|
|
|
@@ -11851,7 +11732,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
11851
11732
|
|
|
11852
11733
|
<div class="doc doc-contents ">
|
|
11853
11734
|
|
|
11854
|
-
|
|
11735
|
+
<p>Extra actions after a form is saved</p>
|
|
11855
11736
|
|
|
11856
11737
|
</div>
|
|
11857
11738
|
|
|
@@ -11868,7 +11749,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
11868
11749
|
|
|
11869
11750
|
<div class="doc doc-contents ">
|
|
11870
11751
|
|
|
11871
|
-
|
|
11752
|
+
<p>Handle invalid forms.</p>
|
|
11872
11753
|
|
|
11873
11754
|
</div>
|
|
11874
11755
|
|
|
@@ -11885,7 +11766,7 @@ Using AccessMixin handle_no_permission() to deal with Object-Level permissions a
|
|
|
11885
11766
|
|
|
11886
11767
|
<div class="doc doc-contents ">
|
|
11887
11768
|
|
|
11888
|
-
|
|
11769
|
+
<p>Generic method to save the object from form.
|
|
11889
11770
|
Should be overriden by user if customization is needed.</p>
|
|
11890
11771
|
|
|
11891
11772
|
</div>
|
|
@@ -11903,7 +11784,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
11903
11784
|
|
|
11904
11785
|
<div class="doc doc-contents ">
|
|
11905
11786
|
|
|
11906
|
-
|
|
11787
|
+
<p>Handle valid forms and redirect to success_url.</p>
|
|
11907
11788
|
|
|
11908
11789
|
</div>
|
|
11909
11790
|
|
|
@@ -11920,7 +11801,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
11920
11801
|
|
|
11921
11802
|
<div class="doc doc-contents ">
|
|
11922
11803
|
|
|
11923
|
-
|
|
11804
|
+
<p>Helper method for retrieving action and if action not set defaulting to action name.</p>
|
|
11924
11805
|
|
|
11925
11806
|
</div>
|
|
11926
11807
|
|
|
@@ -11937,7 +11818,7 @@ Should be overriden by user if customization is needed.</p>
|
|
|
11937
11818
|
|
|
11938
11819
|
<div class="doc doc-contents ">
|
|
11939
11820
|
|
|
11940
|
-
|
|
11821
|
+
<p>Return any additional context data for the template.
|
|
11941
11822
|
request: The current request
|
|
11942
11823
|
instance: The object being viewed</p>
|
|
11943
11824
|
|
|
@@ -11956,7 +11837,7 @@ instance: The object being viewed</p>
|
|
|
11956
11837
|
|
|
11957
11838
|
<div class="doc doc-contents ">
|
|
11958
11839
|
|
|
11959
|
-
|
|
11840
|
+
<p>Helper function - take request.GET and discard any parameters that are not used for queryset filtering.</p>
|
|
11960
11841
|
|
|
11961
11842
|
</div>
|
|
11962
11843
|
|
|
@@ -11973,7 +11854,7 @@ instance: The object being viewed</p>
|
|
|
11973
11854
|
|
|
11974
11855
|
<div class="doc doc-contents ">
|
|
11975
11856
|
|
|
11976
|
-
|
|
11857
|
+
<p>Helper function to get form for different views if specified.
|
|
11977
11858
|
If not, return instantiated form using form_class.</p>
|
|
11978
11859
|
|
|
11979
11860
|
</div>
|
|
@@ -11991,7 +11872,7 @@ If not, return instantiated form using form_class.</p>
|
|
|
11991
11872
|
|
|
11992
11873
|
<div class="doc doc-contents ">
|
|
11993
11874
|
|
|
11994
|
-
|
|
11875
|
+
<p>Helper function to get form_class for different views.</p>
|
|
11995
11876
|
|
|
11996
11877
|
</div>
|
|
11997
11878
|
|
|
@@ -12008,7 +11889,7 @@ If not, return instantiated form using form_class.</p>
|
|
|
12008
11889
|
|
|
12009
11890
|
<div class="doc doc-contents ">
|
|
12010
11891
|
|
|
12011
|
-
|
|
11892
|
+
<p>Returns the object the view is displaying.
|
|
12012
11893
|
You may want to override this if you need to provide non-standard
|
|
12013
11894
|
queryset lookups. Eg if objects are referenced using multiple
|
|
12014
11895
|
keyword arguments in the url conf.</p>
|
|
@@ -12028,7 +11909,7 @@ keyword arguments in the url conf.</p>
|
|
|
12028
11909
|
|
|
12029
11910
|
<div class="doc doc-contents ">
|
|
12030
11911
|
|
|
12031
|
-
|
|
11912
|
+
<p>Resolve the named permissions for a given model (or instance) and a list of actions (e.g. view or add).</p>
|
|
12032
11913
|
<p>:param model: A model or instance
|
|
12033
11914
|
:param actions: A list of actions to perform on the model</p>
|
|
12034
11915
|
|
|
@@ -12047,7 +11928,7 @@ keyword arguments in the url conf.</p>
|
|
|
12047
11928
|
|
|
12048
11929
|
<div class="doc doc-contents ">
|
|
12049
11930
|
|
|
12050
|
-
|
|
11931
|
+
<p>Get the list of items for this view.
|
|
12051
11932
|
This must be an iterable, and may be a queryset.
|
|
12052
11933
|
Defaults to using <code>self.queryset</code>.
|
|
12053
11934
|
This method should always be used rather than accessing <code>self.queryset</code>
|
|
@@ -12070,7 +11951,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
12070
11951
|
|
|
12071
11952
|
<div class="doc doc-contents ">
|
|
12072
11953
|
|
|
12073
|
-
|
|
11954
|
+
<p>Obtain the permissions needed to perform certain actions on a model.</p>
|
|
12074
11955
|
|
|
12075
11956
|
</div>
|
|
12076
11957
|
|
|
@@ -12097,20 +11978,15 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
12097
11978
|
|
|
12098
11979
|
<div class="doc doc-contents ">
|
|
12099
11980
|
<p class="doc doc-class-bases">
|
|
12100
|
-
Bases: <code><
|
|
11981
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code></p>
|
|
12101
11982
|
|
|
12102
11983
|
|
|
12103
|
-
|
|
11984
|
+
<p>UI mixin to bulk create model instances.</p>
|
|
12104
11985
|
<p>Deprecated - use ImportObjects system Job instead.</p>
|
|
12105
11986
|
|
|
12106
11987
|
|
|
12107
11988
|
|
|
12108
11989
|
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
11990
|
<div class="doc doc-children">
|
|
12115
11991
|
|
|
12116
11992
|
|
|
@@ -12142,15 +12018,10 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
12142
12018
|
|
|
12143
12019
|
<div class="doc doc-contents ">
|
|
12144
12020
|
<p class="doc doc-class-bases">
|
|
12145
|
-
Bases: <code><
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
<p>UI mixin to bulk destroy model instances.</p>
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12021
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="nautobot.core.api.views.BulkDestroyModelMixin" optional hover>BulkDestroyModelMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.EditAndDeleteAllModelMixin" optional hover>EditAndDeleteAllModelMixin</autoref></code></p>
|
|
12152
12022
|
|
|
12153
12023
|
|
|
12024
|
+
<p>UI mixin to bulk destroy model instances.</p>
|
|
12154
12025
|
|
|
12155
12026
|
|
|
12156
12027
|
|
|
@@ -12176,7 +12047,7 @@ Override the original <code>get_queryset()</code> to apply permission specific t
|
|
|
12176
12047
|
|
|
12177
12048
|
<div class="doc doc-contents ">
|
|
12178
12049
|
|
|
12179
|
-
|
|
12050
|
+
<p>Call perform_bulk_destroy().
|
|
12180
12051
|
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.
|
|
12181
12052
|
User should override this function to handle any actions as needed before bulk destroy.</p>
|
|
12182
12053
|
|
|
@@ -12195,7 +12066,7 @@ User should override this function to handle any actions as needed before bulk d
|
|
|
12195
12066
|
|
|
12196
12067
|
<div class="doc doc-contents ">
|
|
12197
12068
|
|
|
12198
|
-
|
|
12069
|
+
<p>request.POST "_delete": Function to render the user selection of objects in a table form/BulkDestroyConfirmationForm via Response that is passed to NautobotHTMLRenderer.
|
|
12199
12070
|
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>
|
|
12200
12071
|
|
|
12201
12072
|
</div>
|
|
@@ -12223,15 +12094,10 @@ request.POST "_confirm": Function to validate the table form/BulkDestroyConfirma
|
|
|
12223
12094
|
|
|
12224
12095
|
<div class="doc doc-contents ">
|
|
12225
12096
|
<p class="doc doc-class-bases">
|
|
12226
|
-
Bases: <code><
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
<p>UI mixin to bulk update model instances.</p>
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12097
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="nautobot.core.api.views.BulkUpdateModelMixin" optional hover>BulkUpdateModelMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.EditAndDeleteAllModelMixin" optional hover>EditAndDeleteAllModelMixin</autoref></code></p>
|
|
12233
12098
|
|
|
12234
12099
|
|
|
12100
|
+
<p>UI mixin to bulk update model instances.</p>
|
|
12235
12101
|
|
|
12236
12102
|
|
|
12237
12103
|
|
|
@@ -12257,7 +12123,7 @@ request.POST "_confirm": Function to validate the table form/BulkDestroyConfirma
|
|
|
12257
12123
|
|
|
12258
12124
|
<div class="doc doc-contents ">
|
|
12259
12125
|
|
|
12260
|
-
|
|
12126
|
+
<p>Call perform_bulk_update().
|
|
12261
12127
|
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.
|
|
12262
12128
|
User should override this function to handle any actions as needed before bulk update.</p>
|
|
12263
12129
|
|
|
@@ -12276,7 +12142,7 @@ User should override this function to handle any actions as needed before bulk u
|
|
|
12276
12142
|
|
|
12277
12143
|
<div class="doc doc-contents ">
|
|
12278
12144
|
|
|
12279
|
-
|
|
12145
|
+
<p>request.POST "_edit": Function to render the user selection of objects in a table form/BulkUpdateForm via Response that is passed to NautobotHTMLRenderer.
|
|
12280
12146
|
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>
|
|
12281
12147
|
|
|
12282
12148
|
</div>
|
|
@@ -12304,15 +12170,10 @@ request.POST "_apply": Function to validate the table form/BulkUpdateForm and to
|
|
|
12304
12170
|
|
|
12305
12171
|
<div class="doc doc-contents ">
|
|
12306
12172
|
<p class="doc doc-class-bases">
|
|
12307
|
-
Bases: <code><
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
<p>UI mixin to list a model's changelog queryset</p>
|
|
12311
|
-
|
|
12312
|
-
|
|
12313
|
-
|
|
12173
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code></p>
|
|
12314
12174
|
|
|
12315
12175
|
|
|
12176
|
+
<p>UI mixin to list a model's changelog queryset</p>
|
|
12316
12177
|
|
|
12317
12178
|
|
|
12318
12179
|
|
|
@@ -12348,21 +12209,16 @@ request.POST "_apply": Function to validate the table form/BulkUpdateForm and to
|
|
|
12348
12209
|
|
|
12349
12210
|
<div class="doc doc-contents ">
|
|
12350
12211
|
<p class="doc doc-class-bases">
|
|
12351
|
-
Bases: <code><
|
|
12212
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
12352
12213
|
|
|
12353
12214
|
|
|
12354
|
-
|
|
12215
|
+
<p>Delete a single object.</p>
|
|
12355
12216
|
<p>queryset: The base queryset for the object being deleted
|
|
12356
12217
|
template_name: The name of the template</p>
|
|
12357
12218
|
|
|
12358
12219
|
|
|
12359
12220
|
|
|
12360
12221
|
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
12222
|
<div class="doc doc-children">
|
|
12367
12223
|
|
|
12368
12224
|
|
|
@@ -12384,7 +12240,7 @@ template_name: The name of the template</p>
|
|
|
12384
12240
|
|
|
12385
12241
|
<div class="doc doc-contents ">
|
|
12386
12242
|
|
|
12387
|
-
|
|
12243
|
+
<p>Retrieve an object based on <code>kwargs</code>.</p>
|
|
12388
12244
|
|
|
12389
12245
|
</div>
|
|
12390
12246
|
|
|
@@ -12411,15 +12267,10 @@ template_name: The name of the template</p>
|
|
|
12411
12267
|
|
|
12412
12268
|
<div class="doc doc-contents ">
|
|
12413
12269
|
<p class="doc doc-class-bases">
|
|
12414
|
-
Bases: <code><
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
<p>UI mixin to destroy a model instance.</p>
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12270
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="rest_framework.mixins.DestroyModelMixin" optional hover>DestroyModelMixin</autoref></code></p>
|
|
12421
12271
|
|
|
12422
12272
|
|
|
12273
|
+
<p>UI mixin to destroy a model instance.</p>
|
|
12423
12274
|
|
|
12424
12275
|
|
|
12425
12276
|
|
|
@@ -12445,7 +12296,7 @@ template_name: The name of the template</p>
|
|
|
12445
12296
|
|
|
12446
12297
|
<div class="doc doc-contents ">
|
|
12447
12298
|
|
|
12448
|
-
|
|
12299
|
+
<p>request.GET: render the ObjectDeleteConfirmationForm which is passed to NautobotHTMLRenderer as Response.
|
|
12449
12300
|
request.POST: call perform_destroy() which validates the form and perform the action of delete.
|
|
12450
12301
|
Override to add more variables to Response</p>
|
|
12451
12302
|
|
|
@@ -12464,7 +12315,7 @@ Override to add more variables to Response</p>
|
|
|
12464
12315
|
|
|
12465
12316
|
<div class="doc doc-contents ">
|
|
12466
12317
|
|
|
12467
|
-
|
|
12318
|
+
<p>Function to validate the ObjectDeleteConfirmationForm and to delete the object.</p>
|
|
12468
12319
|
|
|
12469
12320
|
</div>
|
|
12470
12321
|
|
|
@@ -12491,15 +12342,10 @@ Override to add more variables to Response</p>
|
|
|
12491
12342
|
|
|
12492
12343
|
<div class="doc doc-contents ">
|
|
12493
12344
|
<p class="doc doc-class-bases">
|
|
12494
|
-
Bases: <code><
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
<p>UI mixin to retrieve a model instance.</p>
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12345
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="rest_framework.mixins.RetrieveModelMixin" optional hover>RetrieveModelMixin</autoref></code></p>
|
|
12501
12346
|
|
|
12502
12347
|
|
|
12348
|
+
<p>UI mixin to retrieve a model instance.</p>
|
|
12503
12349
|
|
|
12504
12350
|
|
|
12505
12351
|
|
|
@@ -12525,7 +12371,7 @@ Override to add more variables to Response</p>
|
|
|
12525
12371
|
|
|
12526
12372
|
<div class="doc doc-contents ">
|
|
12527
12373
|
|
|
12528
|
-
|
|
12374
|
+
<p>Retrieve a model instance.</p>
|
|
12529
12375
|
|
|
12530
12376
|
</div>
|
|
12531
12377
|
|
|
@@ -12552,20 +12398,15 @@ Override to add more variables to Response</p>
|
|
|
12552
12398
|
|
|
12553
12399
|
<div class="doc doc-contents ">
|
|
12554
12400
|
<p class="doc doc-class-bases">
|
|
12555
|
-
Bases: <code><
|
|
12401
|
+
Bases: <code><autoref identifier="nautobot.core.views.generic.GenericView" optional hover>GenericView</autoref></code></p>
|
|
12556
12402
|
|
|
12557
12403
|
|
|
12558
|
-
|
|
12404
|
+
<p>Present a list of dynamic groups associated to a particular object.
|
|
12559
12405
|
base_template: The name of the template to extend. If not provided, "<app>/<model>.html" will be used.</p>
|
|
12560
12406
|
|
|
12561
12407
|
|
|
12562
12408
|
|
|
12563
12409
|
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12569
12410
|
<div class="doc doc-children">
|
|
12570
12411
|
|
|
12571
12412
|
|
|
@@ -12597,10 +12438,10 @@ base_template: The name of the template to extend. If not provided, "<app>/<mode
|
|
|
12597
12438
|
|
|
12598
12439
|
<div class="doc doc-contents ">
|
|
12599
12440
|
<p class="doc doc-class-bases">
|
|
12600
|
-
Bases: <code><
|
|
12441
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
12601
12442
|
|
|
12602
12443
|
|
|
12603
|
-
|
|
12444
|
+
<p>Create or edit a single object.</p>
|
|
12604
12445
|
<p>queryset: The base queryset for the object being modified
|
|
12605
12446
|
model_form: The form used to create or edit the object
|
|
12606
12447
|
template_name: The name of the template</p>
|
|
@@ -12608,11 +12449,6 @@ template_name: The name of the template</p>
|
|
|
12608
12449
|
|
|
12609
12450
|
|
|
12610
12451
|
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12614
|
-
|
|
12615
|
-
|
|
12616
12452
|
<div class="doc doc-children">
|
|
12617
12453
|
|
|
12618
12454
|
|
|
@@ -12634,7 +12470,7 @@ template_name: The name of the template</p>
|
|
|
12634
12470
|
|
|
12635
12471
|
<div class="doc doc-contents ">
|
|
12636
12472
|
|
|
12637
|
-
|
|
12473
|
+
<p>Return any additional context data for the template.</p>
|
|
12638
12474
|
|
|
12639
12475
|
|
|
12640
12476
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -12649,11 +12485,9 @@ template_name: The name of the template</p>
|
|
|
12649
12485
|
</thead>
|
|
12650
12486
|
<tbody>
|
|
12651
12487
|
<tr class="doc-section-item">
|
|
12488
|
+
<td><code>request</code></td>
|
|
12652
12489
|
<td>
|
|
12653
|
-
|
|
12654
|
-
</td>
|
|
12655
|
-
<td>
|
|
12656
|
-
<code>HttpRequest</code>
|
|
12490
|
+
<code><autoref identifier="HttpRequest" optional>HttpRequest</autoref></code>
|
|
12657
12491
|
</td>
|
|
12658
12492
|
<td>
|
|
12659
12493
|
<div class="doc-md-description">
|
|
@@ -12665,11 +12499,9 @@ template_name: The name of the template</p>
|
|
|
12665
12499
|
</td>
|
|
12666
12500
|
</tr>
|
|
12667
12501
|
<tr class="doc-section-item">
|
|
12502
|
+
<td><code>instance</code></td>
|
|
12668
12503
|
<td>
|
|
12669
|
-
|
|
12670
|
-
</td>
|
|
12671
|
-
<td>
|
|
12672
|
-
<code><span title="django.db.models.Model">Model</span></code>
|
|
12504
|
+
<code><autoref identifier="Model" optional>Model</autoref></code>
|
|
12673
12505
|
</td>
|
|
12674
12506
|
<td>
|
|
12675
12507
|
<div class="doc-md-description">
|
|
@@ -12695,7 +12527,7 @@ template_name: The name of the template</p>
|
|
|
12695
12527
|
<tbody>
|
|
12696
12528
|
<tr class="doc-section-item">
|
|
12697
12529
|
<td>
|
|
12698
|
-
<code>dict</code>
|
|
12530
|
+
<code><autoref identifier="dict" optional>dict</autoref></code>
|
|
12699
12531
|
</td>
|
|
12700
12532
|
<td>
|
|
12701
12533
|
<div class="doc-md-description">
|
|
@@ -12721,7 +12553,7 @@ template_name: The name of the template</p>
|
|
|
12721
12553
|
|
|
12722
12554
|
<div class="doc doc-contents ">
|
|
12723
12555
|
|
|
12724
|
-
|
|
12556
|
+
<p>Retrieve an object based on <code>kwargs</code>.</p>
|
|
12725
12557
|
|
|
12726
12558
|
</div>
|
|
12727
12559
|
|
|
@@ -12738,7 +12570,7 @@ template_name: The name of the template</p>
|
|
|
12738
12570
|
|
|
12739
12571
|
<div class="doc doc-contents ">
|
|
12740
12572
|
|
|
12741
|
-
|
|
12573
|
+
<p>Callback after the form is successfully saved but before redirecting the user.</p>
|
|
12742
12574
|
|
|
12743
12575
|
</div>
|
|
12744
12576
|
|
|
@@ -12765,15 +12597,10 @@ template_name: The name of the template</p>
|
|
|
12765
12597
|
|
|
12766
12598
|
<div class="doc doc-contents ">
|
|
12767
12599
|
<p class="doc doc-class-bases">
|
|
12768
|
-
Bases: <code><
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
<p>UI mixin to create or update a model instance.</p>
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12600
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="rest_framework.mixins.CreateModelMixin" optional hover>CreateModelMixin</autoref></code>, <code><autoref identifier="rest_framework.mixins.UpdateModelMixin" optional hover>UpdateModelMixin</autoref></code></p>
|
|
12775
12601
|
|
|
12776
12602
|
|
|
12603
|
+
<p>UI mixin to create or update a model instance.</p>
|
|
12777
12604
|
|
|
12778
12605
|
|
|
12779
12606
|
|
|
@@ -12799,7 +12626,7 @@ template_name: The name of the template</p>
|
|
|
12799
12626
|
|
|
12800
12627
|
<div class="doc doc-contents ">
|
|
12801
12628
|
|
|
12802
|
-
|
|
12629
|
+
<p>request.GET: render the ObjectForm which is passed to NautobotHTMLRenderer as Response.
|
|
12803
12630
|
request.POST: call perform_create() which validates the form and perform the action of create.
|
|
12804
12631
|
Override to add more variables to Response.</p>
|
|
12805
12632
|
|
|
@@ -12818,7 +12645,7 @@ Override to add more variables to Response.</p>
|
|
|
12818
12645
|
|
|
12819
12646
|
<div class="doc doc-contents ">
|
|
12820
12647
|
|
|
12821
|
-
|
|
12648
|
+
<p>Append extra message at the end of create or update success message.</p>
|
|
12822
12649
|
|
|
12823
12650
|
</div>
|
|
12824
12651
|
|
|
@@ -12835,7 +12662,7 @@ Override to add more variables to Response.</p>
|
|
|
12835
12662
|
|
|
12836
12663
|
<div class="doc doc-contents ">
|
|
12837
12664
|
|
|
12838
|
-
|
|
12665
|
+
<p>Context variables for this extra message.</p>
|
|
12839
12666
|
|
|
12840
12667
|
</div>
|
|
12841
12668
|
|
|
@@ -12852,7 +12679,7 @@ Override to add more variables to Response.</p>
|
|
|
12852
12679
|
|
|
12853
12680
|
<div class="doc doc-contents ">
|
|
12854
12681
|
|
|
12855
|
-
|
|
12682
|
+
<p>Function to validate the ObjectForm and to create a new object.</p>
|
|
12856
12683
|
|
|
12857
12684
|
</div>
|
|
12858
12685
|
|
|
@@ -12869,7 +12696,7 @@ Override to add more variables to Response.</p>
|
|
|
12869
12696
|
|
|
12870
12697
|
<div class="doc doc-contents ">
|
|
12871
12698
|
|
|
12872
|
-
|
|
12699
|
+
<p>Function to validate the ObjectEditForm and to update/partial_update an existing object.</p>
|
|
12873
12700
|
|
|
12874
12701
|
</div>
|
|
12875
12702
|
|
|
@@ -12886,7 +12713,7 @@ Override to add more variables to Response.</p>
|
|
|
12886
12713
|
|
|
12887
12714
|
<div class="doc doc-contents ">
|
|
12888
12715
|
|
|
12889
|
-
|
|
12716
|
+
<p>request.GET: render the ObjectEditForm which is passed to NautobotHTMLRenderer as Response.
|
|
12890
12717
|
request.POST: call perform_update() which validates the form and perform the action of update/partial_update of an existing object.
|
|
12891
12718
|
Override to add more variables to Response.</p>
|
|
12892
12719
|
|
|
@@ -12915,10 +12742,10 @@ Override to add more variables to Response.</p>
|
|
|
12915
12742
|
|
|
12916
12743
|
<div class="doc doc-contents ">
|
|
12917
12744
|
<p class="doc doc-class-bases">
|
|
12918
|
-
Bases: <code><
|
|
12745
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.GetReturnURLMixin" optional hover>GetReturnURLMixin</autoref></code>, <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
12919
12746
|
|
|
12920
12747
|
|
|
12921
|
-
|
|
12748
|
+
<p>Import a single object (YAML or JSON format).</p>
|
|
12922
12749
|
<p>queryset: Base queryset for the objects being created
|
|
12923
12750
|
model_form: The ModelForm used to create individual objects
|
|
12924
12751
|
related_object_forms: A dictionary mapping of forms to be used for the creation of related (child) objects
|
|
@@ -12927,11 +12754,6 @@ template_name: The name of the template</p>
|
|
|
12927
12754
|
|
|
12928
12755
|
|
|
12929
12756
|
|
|
12930
|
-
|
|
12931
|
-
|
|
12932
|
-
|
|
12933
|
-
|
|
12934
|
-
|
|
12935
12757
|
<div class="doc doc-children">
|
|
12936
12758
|
|
|
12937
12759
|
|
|
@@ -12963,16 +12785,16 @@ template_name: The name of the template</p>
|
|
|
12963
12785
|
|
|
12964
12786
|
<div class="doc doc-contents ">
|
|
12965
12787
|
<p class="doc doc-class-bases">
|
|
12966
|
-
Bases: <code><
|
|
12788
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
12967
12789
|
|
|
12968
12790
|
|
|
12969
|
-
|
|
12791
|
+
<p>List a series of objects.</p>
|
|
12970
12792
|
|
|
12971
12793
|
|
|
12972
12794
|
<details class="queryset" open>
|
|
12973
12795
|
<summary>The queryset of objects to display. Note: Prefetching related objects is not necessary, as the</summary>
|
|
12974
12796
|
<p>table will prefetch objects as needed depending on the columns being displayed.</p>
|
|
12975
|
-
</details>
|
|
12797
|
+
</details> <p>filter: A django-filter FilterSet that is applied to the queryset
|
|
12976
12798
|
filter_form: The form used to render filter options
|
|
12977
12799
|
table: The django-tables2 Table used to render the objects list
|
|
12978
12800
|
template_name: The name of the template
|
|
@@ -12981,11 +12803,6 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
12981
12803
|
|
|
12982
12804
|
|
|
12983
12805
|
|
|
12984
|
-
|
|
12985
|
-
|
|
12986
|
-
|
|
12987
|
-
|
|
12988
|
-
|
|
12989
12806
|
<div class="doc doc-children">
|
|
12990
12807
|
|
|
12991
12808
|
|
|
@@ -13007,7 +12824,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13007
12824
|
|
|
13008
12825
|
<div class="doc doc-contents ">
|
|
13009
12826
|
|
|
13010
|
-
|
|
12827
|
+
<p>Helper function - take request.GET and discard any parameters that are not used for queryset filtering.</p>
|
|
13011
12828
|
|
|
13012
12829
|
</div>
|
|
13013
12830
|
|
|
@@ -13024,7 +12841,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13024
12841
|
|
|
13025
12842
|
<div class="doc doc-contents ">
|
|
13026
12843
|
|
|
13027
|
-
|
|
12844
|
+
<p>Export the queryset of objects as concatenated YAML documents.</p>
|
|
13028
12845
|
|
|
13029
12846
|
</div>
|
|
13030
12847
|
|
|
@@ -13041,7 +12858,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13041
12858
|
|
|
13042
12859
|
<div class="doc doc-contents ">
|
|
13043
12860
|
|
|
13044
|
-
|
|
12861
|
+
<p>Verify actions in self.action_buttons are valid view actions.</p>
|
|
13045
12862
|
|
|
13046
12863
|
</div>
|
|
13047
12864
|
|
|
@@ -13068,15 +12885,10 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13068
12885
|
|
|
13069
12886
|
<div class="doc doc-contents ">
|
|
13070
12887
|
<p class="doc doc-class-bases">
|
|
13071
|
-
Bases: <code><
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
<p>UI mixin to list a model queryset</p>
|
|
13075
|
-
|
|
13076
|
-
|
|
13077
|
-
|
|
12888
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code>, <code><autoref identifier="rest_framework.mixins.ListModelMixin" optional hover>ListModelMixin</autoref></code></p>
|
|
13078
12889
|
|
|
13079
12890
|
|
|
12891
|
+
<p>UI mixin to list a model queryset</p>
|
|
13080
12892
|
|
|
13081
12893
|
|
|
13082
12894
|
|
|
@@ -13102,7 +12914,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13102
12914
|
|
|
13103
12915
|
<div class="doc doc-contents ">
|
|
13104
12916
|
|
|
13105
|
-
|
|
12917
|
+
<p>Filter a query with request querystrings.</p>
|
|
13106
12918
|
|
|
13107
12919
|
</div>
|
|
13108
12920
|
|
|
@@ -13119,7 +12931,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13119
12931
|
|
|
13120
12932
|
<div class="doc doc-contents ">
|
|
13121
12933
|
|
|
13122
|
-
|
|
12934
|
+
<p>List the model instances.</p>
|
|
13123
12935
|
|
|
13124
12936
|
</div>
|
|
13125
12937
|
|
|
@@ -13136,7 +12948,7 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13136
12948
|
|
|
13137
12949
|
<div class="doc doc-contents ">
|
|
13138
12950
|
|
|
13139
|
-
|
|
12951
|
+
<p>Export the queryset of objects as concatenated YAML documents.</p>
|
|
13140
12952
|
|
|
13141
12953
|
</div>
|
|
13142
12954
|
|
|
@@ -13163,20 +12975,15 @@ non_filter_params: List of query parameters that are <strong>not</strong> used f
|
|
|
13163
12975
|
|
|
13164
12976
|
<div class="doc doc-contents ">
|
|
13165
12977
|
<p class="doc doc-class-bases">
|
|
13166
|
-
Bases: <code><
|
|
12978
|
+
Bases: <code><autoref identifier="nautobot.core.views.generic.GenericView" optional hover>GenericView</autoref></code></p>
|
|
13167
12979
|
|
|
13168
12980
|
|
|
13169
|
-
|
|
12981
|
+
<p>Present a list of notes associated to a particular object.
|
|
13170
12982
|
base_template: The name of the template to extend. If not provided, "<app>/<model>.html" will be used.</p>
|
|
13171
12983
|
|
|
13172
12984
|
|
|
13173
12985
|
|
|
13174
12986
|
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
12987
|
<div class="doc doc-children">
|
|
13181
12988
|
|
|
13182
12989
|
|
|
@@ -13208,15 +13015,10 @@ base_template: The name of the template to extend. If not provided, "<app>/<mode
|
|
|
13208
13015
|
|
|
13209
13016
|
<div class="doc doc-contents ">
|
|
13210
13017
|
<p class="doc doc-class-bases">
|
|
13211
|
-
Bases: <code><
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
<p>UI Mixin for an Object's Notes.</p>
|
|
13215
|
-
|
|
13216
|
-
|
|
13217
|
-
|
|
13018
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.NautobotViewSetMixin" optional hover>NautobotViewSetMixin</autoref></code></p>
|
|
13218
13019
|
|
|
13219
13020
|
|
|
13021
|
+
<p>UI Mixin for an Object's Notes.</p>
|
|
13220
13022
|
|
|
13221
13023
|
|
|
13222
13024
|
|
|
@@ -13252,10 +13054,10 @@ base_template: The name of the template to extend. If not provided, "<app>/<mode
|
|
|
13252
13054
|
|
|
13253
13055
|
<div class="doc doc-contents ">
|
|
13254
13056
|
<p class="doc doc-class-bases">
|
|
13255
|
-
Bases: <code><
|
|
13057
|
+
Bases: <code><autoref identifier="django.contrib.auth.mixins.AccessMixin" optional hover>AccessMixin</autoref></code></p>
|
|
13256
13058
|
|
|
13257
13059
|
|
|
13258
|
-
|
|
13060
|
+
<p>Similar to Django's built-in PermissionRequiredMixin, but extended to check for both model-level and object-level
|
|
13259
13061
|
permission assignments. If the user has only object-level permissions assigned, the view's queryset is filtered
|
|
13260
13062
|
to return only those objects on which the user is permitted to perform the specified action.</p>
|
|
13261
13063
|
|
|
@@ -13267,11 +13069,6 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
13267
13069
|
|
|
13268
13070
|
|
|
13269
13071
|
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
13072
|
<div class="doc doc-children">
|
|
13276
13073
|
|
|
13277
13074
|
|
|
@@ -13293,7 +13090,7 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
13293
13090
|
|
|
13294
13091
|
<div class="doc doc-contents ">
|
|
13295
13092
|
|
|
13296
|
-
|
|
13093
|
+
<p>Return the specific permission necessary to perform the requested action on an object.</p>
|
|
13297
13094
|
|
|
13298
13095
|
</div>
|
|
13299
13096
|
|
|
@@ -13320,21 +13117,16 @@ to return only those objects on which the user is permitted to perform the speci
|
|
|
13320
13117
|
|
|
13321
13118
|
<div class="doc doc-contents ">
|
|
13322
13119
|
<p class="doc doc-class-bases">
|
|
13323
|
-
Bases: <code><
|
|
13120
|
+
Bases: <code><autoref identifier="nautobot.core.views.mixins.ObjectPermissionRequiredMixin" optional hover>ObjectPermissionRequiredMixin</autoref></code>, <code><autoref identifier="django.views.generic.View" optional hover>View</autoref></code></p>
|
|
13324
13121
|
|
|
13325
13122
|
|
|
13326
|
-
|
|
13123
|
+
<p>Retrieve a single object for display.</p>
|
|
13327
13124
|
<p>queryset: The base queryset for retrieving the object
|
|
13328
13125
|
template_name: Name of the template to use</p>
|
|
13329
13126
|
|
|
13330
13127
|
|
|
13331
13128
|
|
|
13332
13129
|
|
|
13333
|
-
|
|
13334
|
-
|
|
13335
|
-
|
|
13336
|
-
|
|
13337
|
-
|
|
13338
13130
|
<div class="doc doc-children">
|
|
13339
13131
|
|
|
13340
13132
|
|
|
@@ -13356,7 +13148,7 @@ template_name: Name of the template to use</p>
|
|
|
13356
13148
|
|
|
13357
13149
|
<div class="doc doc-contents ">
|
|
13358
13150
|
|
|
13359
|
-
|
|
13151
|
+
<p>Generic GET handler for accessing an object.</p>
|
|
13360
13152
|
|
|
13361
13153
|
</div>
|
|
13362
13154
|
|
|
@@ -13373,7 +13165,7 @@ template_name: Name of the template to use</p>
|
|
|
13373
13165
|
|
|
13374
13166
|
<div class="doc doc-contents ">
|
|
13375
13167
|
|
|
13376
|
-
|
|
13168
|
+
<p>Return any additional context data for the template.</p>
|
|
13377
13169
|
|
|
13378
13170
|
|
|
13379
13171
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -13388,11 +13180,9 @@ template_name: Name of the template to use</p>
|
|
|
13388
13180
|
</thead>
|
|
13389
13181
|
<tbody>
|
|
13390
13182
|
<tr class="doc-section-item">
|
|
13183
|
+
<td><code>request</code></td>
|
|
13391
13184
|
<td>
|
|
13392
|
-
|
|
13393
|
-
</td>
|
|
13394
|
-
<td>
|
|
13395
|
-
<code>Request</code>
|
|
13185
|
+
<code><autoref identifier="Request" optional>Request</autoref></code>
|
|
13396
13186
|
</td>
|
|
13397
13187
|
<td>
|
|
13398
13188
|
<div class="doc-md-description">
|
|
@@ -13404,11 +13194,9 @@ template_name: Name of the template to use</p>
|
|
|
13404
13194
|
</td>
|
|
13405
13195
|
</tr>
|
|
13406
13196
|
<tr class="doc-section-item">
|
|
13197
|
+
<td><code>instance</code></td>
|
|
13407
13198
|
<td>
|
|
13408
|
-
|
|
13409
|
-
</td>
|
|
13410
|
-
<td>
|
|
13411
|
-
<code><span title="django.db.models.Model">Model</span></code>
|
|
13199
|
+
<code><autoref identifier="Model" optional>Model</autoref></code>
|
|
13412
13200
|
</td>
|
|
13413
13201
|
<td>
|
|
13414
13202
|
<div class="doc-md-description">
|
|
@@ -13434,7 +13222,7 @@ template_name: Name of the template to use</p>
|
|
|
13434
13222
|
<tbody>
|
|
13435
13223
|
<tr class="doc-section-item">
|
|
13436
13224
|
<td>
|
|
13437
|
-
<code>dict</code>
|
|
13225
|
+
<code><autoref identifier="dict" optional>dict</autoref></code>
|
|
13438
13226
|
</td>
|
|
13439
13227
|
<td>
|
|
13440
13228
|
<div class="doc-md-description">
|
|
@@ -13460,7 +13248,7 @@ template_name: Name of the template to use</p>
|
|
|
13460
13248
|
|
|
13461
13249
|
<div class="doc doc-contents ">
|
|
13462
13250
|
|
|
13463
|
-
|
|
13251
|
+
<p>Return self.template_name if set. Otherwise, resolve the template path by model app_label and name.</p>
|
|
13464
13252
|
|
|
13465
13253
|
</div>
|
|
13466
13254
|
|
|
@@ -13486,7 +13274,7 @@ template_name: Name of the template to use</p>
|
|
|
13486
13274
|
|
|
13487
13275
|
<div class="doc doc-contents ">
|
|
13488
13276
|
|
|
13489
|
-
|
|
13277
|
+
<p>Helper for checking Git permissions and worker availability, then calling provided function if all is well
|
|
13490
13278
|
Args:
|
|
13491
13279
|
request (HttpRequest): request object.
|
|
13492
13280
|
pk (UUID): GitRepository pk value.
|
|
@@ -13510,7 +13298,7 @@ Returns:
|
|
|
13510
13298
|
|
|
13511
13299
|
<div class="doc doc-contents ">
|
|
13512
13300
|
|
|
13513
|
-
|
|
13301
|
+
<p>Return any additional context data for the template.</p>
|
|
13514
13302
|
|
|
13515
13303
|
|
|
13516
13304
|
<p><span class="doc-section-title">Parameters:</span></p>
|
|
@@ -13525,11 +13313,9 @@ Returns:
|
|
|
13525
13313
|
</thead>
|
|
13526
13314
|
<tbody>
|
|
13527
13315
|
<tr class="doc-section-item">
|
|
13316
|
+
<td><code>filters</code></td>
|
|
13528
13317
|
<td>
|
|
13529
|
-
|
|
13530
|
-
</td>
|
|
13531
|
-
<td>
|
|
13532
|
-
<code>OrderedDict</code>
|
|
13318
|
+
<code><autoref identifier="OrderedDict" optional>OrderedDict</autoref></code>
|
|
13533
13319
|
</td>
|
|
13534
13320
|
<td>
|
|
13535
13321
|
<div class="doc-md-description">
|
|
@@ -13541,11 +13327,9 @@ Returns:
|
|
|
13541
13327
|
</td>
|
|
13542
13328
|
</tr>
|
|
13543
13329
|
<tr class="doc-section-item">
|
|
13330
|
+
<td><code>field_name</code></td>
|
|
13544
13331
|
<td>
|
|
13545
|
-
|
|
13546
|
-
</td>
|
|
13547
|
-
<td>
|
|
13548
|
-
<code>str</code>
|
|
13332
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
13549
13333
|
</td>
|
|
13550
13334
|
<td>
|
|
13551
13335
|
<div class="doc-md-description">
|
|
@@ -13557,11 +13341,9 @@ Returns:
|
|
|
13557
13341
|
</td>
|
|
13558
13342
|
</tr>
|
|
13559
13343
|
<tr class="doc-section-item">
|
|
13344
|
+
<td><code>values</code></td>
|
|
13560
13345
|
<td>
|
|
13561
|
-
|
|
13562
|
-
</td>
|
|
13563
|
-
<td>
|
|
13564
|
-
<code>list[str]</code>
|
|
13346
|
+
<code><autoref identifier="list" optional>list</autoref>[<autoref identifier="str" optional>str</autoref>]</code>
|
|
13565
13347
|
</td>
|
|
13566
13348
|
<td>
|
|
13567
13349
|
<div class="doc-md-description">
|
|
@@ -13587,7 +13369,7 @@ Returns:
|
|
|
13587
13369
|
<tbody>
|
|
13588
13370
|
<tr class="doc-section-item">
|
|
13589
13371
|
<td>
|
|
13590
|
-
<code>dict</code>
|
|
13372
|
+
<code><autoref identifier="dict" optional>dict</autoref></code>
|
|
13591
13373
|
</td>
|
|
13592
13374
|
<td>
|
|
13593
13375
|
<div class="doc-md-description">
|
|
@@ -13616,7 +13398,7 @@ Returns:
|
|
|
13616
13398
|
|
|
13617
13399
|
<div class="doc doc-contents ">
|
|
13618
13400
|
|
|
13619
|
-
|
|
13401
|
+
<p>Convert the given list of data to a CSV row string.</p>
|
|
13620
13402
|
<p>Encapsulate any data which contains a comma within double quotes.</p>
|
|
13621
13403
|
<p>Obsolete, as CSV rendering in Nautobot core is now handled by nautobot.core.api.renderers.NautobotCSVRenderer.</p>
|
|
13622
13404
|
|
|
@@ -13635,7 +13417,7 @@ Returns:
|
|
|
13635
13417
|
|
|
13636
13418
|
<div class="doc doc-contents ">
|
|
13637
13419
|
|
|
13638
|
-
|
|
13420
|
+
<p>From the given serializer class, build a list of field dicts suitable for rendering in the CSV import form.</p>
|
|
13639
13421
|
|
|
13640
13422
|
</div>
|
|
13641
13423
|
|
|
@@ -13652,7 +13434,7 @@ Returns:
|
|
|
13652
13434
|
|
|
13653
13435
|
<div class="doc doc-contents ">
|
|
13654
13436
|
|
|
13655
|
-
|
|
13437
|
+
<p>From the given context, return the <code>object</code> that is in the context.</p>
|
|
13656
13438
|
<p>If a key is specified, return the value for that key.
|
|
13657
13439
|
Otherwise return the value for either of the keys <code>"obj"</code> or <code>"object"</code> as default behavior.</p>
|
|
13658
13440
|
|
|
@@ -13671,7 +13453,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
13671
13453
|
|
|
13672
13454
|
<div class="doc doc-contents ">
|
|
13673
13455
|
|
|
13674
|
-
|
|
13456
|
+
<p>Determine the length of a page, using the following in order:</p>
|
|
13675
13457
|
<div class="highlight"><pre><span></span><code>1. per_page URL query parameter
|
|
13676
13458
|
2. Saved view config
|
|
13677
13459
|
3. Saved user preference
|
|
@@ -13693,7 +13475,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
13693
13475
|
|
|
13694
13476
|
<div class="doc doc-contents ">
|
|
13695
13477
|
|
|
13696
|
-
|
|
13478
|
+
<p>Generate a user-friendly error message in response to a ProtectedError exception.</p>
|
|
13697
13479
|
|
|
13698
13480
|
</div>
|
|
13699
13481
|
|
|
@@ -13710,7 +13492,7 @@ Otherwise return the value for either of the keys <code>"obj"</code> or <code>"o
|
|
|
13710
13492
|
|
|
13711
13493
|
<div class="doc doc-contents ">
|
|
13712
13494
|
|
|
13713
|
-
|
|
13495
|
+
<p>Compile an object's <code>clone_fields</code> list into a string of URL query parameters. Tags are automatically cloned where
|
|
13714
13496
|
applicable.</p>
|
|
13715
13497
|
|
|
13716
13498
|
</div>
|
|
@@ -13870,7 +13652,7 @@ applicable.</p>
|
|
|
13870
13652
|
<script id="__config" type="application/json">{"base": "../../..", "features": ["content.code.annotate", "content.code.copy", "content.tabs.link", "navigation.footer", "navigation.tabs", "navigation.tabs.sticky", "navigation.tracking", "search.highlight", "search.share", "search.suggest"], "search": "../../../assets/javascripts/workers/search.6ce7567c.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
13871
13653
|
|
|
13872
13654
|
|
|
13873
|
-
<script src="../../../assets/javascripts/bundle.
|
|
13655
|
+
<script src="../../../assets/javascripts/bundle.83f73b43.min.js"></script>
|
|
13874
13656
|
|
|
13875
13657
|
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
|
|
13876
13658
|
|