nautobot 2.4.13__py3-none-any.whl → 2.4.15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nautobot might be problematic. Click here for more details.
- nautobot/apps/choices.py +8 -0
- nautobot/apps/ui.py +14 -0
- nautobot/core/api/views.py +2 -0
- nautobot/core/choices.py +4 -0
- nautobot/core/filters.py +21 -41
- nautobot/core/graphql/generators.py +8 -0
- nautobot/core/graphql/schema.py +30 -30
- nautobot/core/management/commands/check_job_approval_status.py +47 -0
- nautobot/core/management/commands/generate_test_data.py +1 -1
- nautobot/core/management/commands/migrate.py +90 -1
- nautobot/core/models/tree_queries.py +17 -0
- nautobot/core/settings.py +2 -2
- nautobot/core/settings.yaml +3 -3
- nautobot/core/tables.py +29 -6
- nautobot/core/templates/base_django.html +1 -1
- nautobot/core/templates/components/panel/header_extra_content_table.html +1 -1
- nautobot/core/templates/generic/object_list.html +17 -20
- nautobot/core/templates/inc/breadcrumbs.html +14 -0
- nautobot/core/templatetags/buttons.py +2 -4
- nautobot/core/templatetags/helpers.py +29 -6
- nautobot/core/templatetags/ui_framework.py +21 -0
- nautobot/core/testing/api.py +7 -0
- nautobot/core/testing/filters.py +20 -3
- nautobot/core/testing/forms.py +1 -1
- nautobot/core/tests/integration/test_filters.py +2 -2
- nautobot/core/tests/test_breadcrumbs.py +366 -0
- nautobot/core/tests/test_commands.py +40 -0
- nautobot/core/tests/test_filters.py +51 -1
- nautobot/core/tests/test_forms.py +1 -1
- nautobot/core/tests/test_graphql.py +4 -4
- nautobot/core/tests/test_titles.py +183 -0
- nautobot/core/tests/test_tree_queries.py +30 -0
- nautobot/core/tests/test_views.py +2 -2
- nautobot/core/tests/test_views_utils.py +1 -1
- nautobot/core/ui/breadcrumbs.py +538 -0
- nautobot/core/ui/bulk_buttons.py +53 -0
- nautobot/core/ui/object_detail.py +31 -8
- nautobot/core/ui/titles.py +127 -0
- nautobot/core/ui/utils.py +25 -0
- nautobot/core/utils/migrations.py +1 -1
- nautobot/core/views/__init__.py +1 -1
- nautobot/core/views/mixins.py +26 -1
- nautobot/core/views/renderers.py +20 -2
- nautobot/core/views/utils.py +14 -13
- nautobot/dcim/api/serializers.py +9 -0
- nautobot/dcim/choices.py +55 -0
- nautobot/dcim/constants.py +0 -16
- nautobot/dcim/factory.py +1 -1
- nautobot/dcim/filters/__init__.py +15 -3
- nautobot/dcim/forms.py +120 -7
- nautobot/dcim/management/commands/trace_paths.py +1 -1
- nautobot/dcim/migrations/0072_alter_powerfeed_options_and_more.py +97 -0
- nautobot/dcim/models/device_component_templates.py +8 -0
- nautobot/dcim/models/device_components.py +31 -12
- nautobot/dcim/models/devices.py +1 -1
- nautobot/dcim/models/power.py +171 -10
- nautobot/dcim/models/racks.py +7 -4
- nautobot/dcim/tables/devices.py +2 -0
- nautobot/dcim/tables/devicetypes.py +1 -0
- nautobot/dcim/tables/power.py +30 -2
- nautobot/dcim/templates/dcim/device.html +2 -2
- nautobot/dcim/templates/dcim/devicetype_retrieve.html +1 -214
- nautobot/dcim/templates/dcim/location_retrieve.html +2 -2
- nautobot/dcim/templates/dcim/powerfeed_edit.html +8 -0
- nautobot/dcim/templates/dcim/powerfeed_retrieve.html +1 -1
- nautobot/dcim/templates/dcim/rack.html +2 -318
- nautobot/dcim/templates/dcim/rack_edit.html +2 -47
- nautobot/dcim/templates/dcim/rack_retrieve.html +318 -0
- nautobot/dcim/templates/dcim/rack_update.html +47 -0
- nautobot/dcim/tests/integration/test_device_bulk_operations.py +61 -0
- nautobot/dcim/tests/test_api.py +24 -4
- nautobot/dcim/tests/test_filters.py +91 -13
- nautobot/dcim/tests/test_models.py +262 -0
- nautobot/dcim/tests/test_views.py +20 -12
- nautobot/dcim/urls.py +2 -27
- nautobot/dcim/utils.py +13 -30
- nautobot/dcim/views.py +428 -146
- nautobot/extras/choices.py +12 -4
- nautobot/extras/factory.py +19 -20
- nautobot/extras/filters/__init__.py +3 -2
- nautobot/extras/filters/mixins.py +23 -7
- nautobot/extras/forms/__init__.py +2 -1
- nautobot/extras/forms/forms.py +71 -0
- nautobot/extras/forms/mixins.py +4 -2
- nautobot/extras/managers.py +4 -1
- nautobot/extras/migrations/0062_collect_roles_from_related_apps_roles.py +30 -7
- nautobot/extras/migrations/0124_add_joblogentry_index.py +16 -0
- nautobot/extras/migrations/0125_jobresult_date_started.py +18 -0
- nautobot/extras/models/customfields.py +53 -5
- nautobot/extras/models/datasources.py +1 -2
- nautobot/extras/models/jobs.py +13 -3
- nautobot/extras/models/relationships.py +55 -6
- nautobot/extras/plugins/views.py +24 -1
- nautobot/extras/secrets/__init__.py +1 -1
- nautobot/extras/tables.py +9 -0
- nautobot/extras/templates/extras/customfield.html +2 -129
- nautobot/extras/templates/extras/customfield_edit.html +2 -108
- nautobot/extras/templates/extras/customfield_retrieve.html +129 -0
- nautobot/extras/templates/extras/customfield_update.html +108 -0
- nautobot/extras/templates/extras/graphqlquery.html +2 -97
- nautobot/extras/templates/extras/graphqlquery_list.html +1 -0
- nautobot/extras/templates/extras/graphqlquery_retrieve.html +97 -0
- nautobot/extras/templates/extras/inc/jobresult.html +7 -3
- nautobot/extras/templates/extras/jobresult.html +2 -155
- nautobot/extras/templates/extras/jobresult_retrieve.html +155 -0
- nautobot/extras/templates/extras/marketplace.html +5 -6
- nautobot/extras/templates/extras/note.html +2 -53
- nautobot/extras/templates/extras/note_retrieve.html +53 -0
- nautobot/extras/templates/extras/plugins_list.html +5 -6
- nautobot/extras/templates/extras/secretsgroup.html +2 -29
- nautobot/extras/templates/extras/secretsgroup_edit.html +2 -82
- nautobot/extras/templates/extras/secretsgroup_retrieve.html +29 -0
- nautobot/extras/templates/extras/secretsgroup_update.html +82 -0
- nautobot/extras/templatetags/custom_links.py +2 -2
- nautobot/extras/templatetags/job_buttons.py +1 -1
- nautobot/extras/templatetags/plugins.py +1 -1
- nautobot/extras/tests/integration/test_computedfields.py +2 -2
- nautobot/extras/tests/integration/test_customfields.py +14 -11
- nautobot/extras/tests/integration/test_dynamicgroups.py +1 -1
- nautobot/extras/tests/integration/test_notes.py +1 -1
- nautobot/extras/tests/integration/test_plugins.py +6 -6
- nautobot/extras/tests/integration/test_relationships.py +2 -2
- nautobot/extras/tests/test_customfields.py +115 -7
- nautobot/extras/tests/test_filters.py +9 -0
- nautobot/extras/tests/test_forms.py +2 -2
- nautobot/extras/tests/test_plugins.py +2 -3
- nautobot/extras/tests/test_relationships.py +14 -8
- nautobot/extras/tests/test_views.py +285 -2
- nautobot/extras/urls.py +5 -110
- nautobot/extras/utils.py +5 -2
- nautobot/extras/views.py +116 -311
- nautobot/ipam/api/views.py +69 -6
- nautobot/ipam/tables.py +8 -15
- nautobot/ipam/tests/migration/test_migrations.py +8 -8
- nautobot/ipam/tests/test_api.py +352 -2
- nautobot/ipam/tests/test_models.py +1 -1
- nautobot/project-static/docs/404.html +34 -34
- nautobot/project-static/docs/apps/index.html +34 -34
- nautobot/project-static/docs/apps/nautobot-apps.html +34 -34
- nautobot/project-static/docs/assets/_mkdocstrings.css +44 -6
- nautobot/project-static/docs/assets/javascripts/{bundle.56ea9cef.min.js → bundle.50899def.min.js} +2 -2
- nautobot/project-static/docs/assets/javascripts/{bundle.56ea9cef.min.js.map → bundle.50899def.min.js.map} +2 -2
- nautobot/project-static/docs/assets/stylesheets/{main.342714a4.min.css → main.7e37652d.min.css} +1 -1
- nautobot/project-static/docs/assets/stylesheets/{main.342714a4.min.css.map → main.7e37652d.min.css.map} +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +39 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +139 -54
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +48 -38
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +50 -40
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +35 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +43 -39
- nautobot/project-static/docs/code-reference/nautobot/apps/events.html +52 -42
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +50 -41
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +54 -44
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +85 -93
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +154 -62
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +54 -46
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +146 -87
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +240 -70
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +38 -35
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +41 -35
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +173 -52
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +269 -85
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +5987 -2643
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +36 -34
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +165 -89
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +161 -69
- nautobot/project-static/docs/development/apps/api/configuration-view.html +34 -34
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/global-search.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/graphql.html +34 -34
- nautobot/project-static/docs/development/apps/api/models/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +34 -34
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +34 -34
- nautobot/project-static/docs/development/apps/api/prometheus.html +34 -34
- nautobot/project-static/docs/development/apps/api/setup.html +34 -34
- nautobot/project-static/docs/development/apps/api/testing.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +34 -34
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/base-template.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/index.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +42 -36
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/notes.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +34 -34
- nautobot/project-static/docs/development/apps/api/views/urls.html +34 -34
- nautobot/project-static/docs/development/apps/index.html +34 -34
- nautobot/project-static/docs/development/apps/migration/code-updates.html +34 -34
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +34 -34
- nautobot/project-static/docs/development/apps/migration/from-v1.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +34 -34
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/best-practices.html +37 -37
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/breadcrumbs-titles.html +10544 -0
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/custom-content.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/index.html +34 -34
- nautobot/project-static/docs/development/apps/migration/ui-component-framework/migration-steps.html +34 -34
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +37 -37
- nautobot/project-static/docs/development/core/application-registry.html +162 -133
- nautobot/project-static/docs/development/core/best-practices.html +34 -34
- nautobot/project-static/docs/development/core/bootstrap-ui.html +34 -34
- nautobot/project-static/docs/development/core/caching.html +34 -34
- nautobot/project-static/docs/development/core/controllers.html +34 -34
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +34 -34
- nautobot/project-static/docs/development/core/generic-views.html +34 -34
- nautobot/project-static/docs/development/core/getting-started.html +34 -34
- nautobot/project-static/docs/development/core/homepage.html +34 -34
- nautobot/project-static/docs/development/core/index.html +34 -34
- nautobot/project-static/docs/development/core/minikube-dev-environment-for-k8s-jobs.html +34 -34
- nautobot/project-static/docs/development/core/model-checklist.html +34 -34
- nautobot/project-static/docs/development/core/model-features.html +34 -34
- nautobot/project-static/docs/development/core/natural-keys.html +34 -34
- nautobot/project-static/docs/development/core/navigation-menu.html +34 -34
- nautobot/project-static/docs/development/core/release-checklist.html +34 -34
- nautobot/project-static/docs/development/core/role-internals.html +34 -34
- nautobot/project-static/docs/development/core/settings.html +34 -34
- nautobot/project-static/docs/development/core/style-guide.html +34 -34
- nautobot/project-static/docs/development/core/templates.html +34 -34
- nautobot/project-static/docs/development/core/testing.html +34 -34
- nautobot/project-static/docs/development/core/ui-component-framework.html +724 -289
- nautobot/project-static/docs/development/core/user-preferences.html +34 -34
- nautobot/project-static/docs/development/index.html +34 -34
- nautobot/project-static/docs/development/jobs/getting-started.html +34 -34
- nautobot/project-static/docs/development/jobs/index.html +34 -34
- nautobot/project-static/docs/development/jobs/installation.html +34 -34
- nautobot/project-static/docs/development/jobs/job-extensions.html +34 -34
- nautobot/project-static/docs/development/jobs/job-logging.html +34 -34
- nautobot/project-static/docs/development/jobs/job-patterns.html +34 -34
- nautobot/project-static/docs/development/jobs/job-structure.html +34 -34
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +34 -34
- nautobot/project-static/docs/development/jobs/testing.html +34 -34
- nautobot/project-static/docs/index.html +34 -34
- nautobot/project-static/docs/media/development/core/ui-component-framework/breadcrumbs-titles-data-flow.png +0 -0
- nautobot/project-static/docs/media/power_distribution.png +0 -0
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +34 -34
- nautobot/project-static/docs/overview/design_philosophy.html +34 -34
- nautobot/project-static/docs/release-notes/index.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.0.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.1.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.2.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.3.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.4.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.5.html +34 -34
- nautobot/project-static/docs/release-notes/version-1.6.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.0.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.1.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.2.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.3.html +34 -34
- nautobot/project-static/docs/release-notes/version-2.4.html +402 -34
- nautobot/project-static/docs/requirements.txt +3 -3
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +303 -299
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +34 -34
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +37 -37
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +34 -34
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +34 -34
- nautobot/project-static/docs/user-guide/administration/installation/services.html +34 -34
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +34 -34
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +34 -34
- nautobot/project-static/docs/user-guide/administration/security/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/security/notices.html +34 -34
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +296 -251
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +34 -34
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +37 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +42 -52
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +37 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulefamily.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +316 -39
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +35 -35
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +147 -37
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +52 -35
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +51 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualdevicecontext.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/index.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/radioprofile.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/supporteddatarate.html +34 -34
- nautobot/project-static/docs/user-guide/core-data-model/wireless/wirelessnetwork.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +34 -34
- nautobot/project-static/docs/user-guide/feature-guides/wireless-networks-and-controllers.html +34 -34
- nautobot/project-static/docs/user-guide/index.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/events.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +35 -35
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobqueue.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/kubernetes-job-support.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/managing-jobs.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rendering-jinja-templates.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +34 -34
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +34 -34
- nautobot/tenancy/api/views.py +2 -1
- nautobot/users/tests/test_api.py +2 -2
- nautobot/virtualization/templates/virtualization/virtualmachine.html +2 -252
- nautobot/virtualization/templates/virtualization/virtualmachine_edit.html +2 -75
- nautobot/virtualization/templates/virtualization/virtualmachine_retrieve.html +252 -0
- nautobot/virtualization/templates/virtualization/virtualmachine_update.html +75 -0
- nautobot/virtualization/urls.py +3 -61
- nautobot/virtualization/views.py +48 -72
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/METADATA +27 -27
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/RECORD +463 -439
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/NOTICE +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/WHEEL +0 -0
- {nautobot-2.4.13.dist-info → nautobot-2.4.15.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.6.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.6.16">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
<link rel="stylesheet" href="../../../assets/stylesheets/main.
|
|
29
|
+
<link rel="stylesheet" href="../../../assets/stylesheets/main.7e37652d.min.css">
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<link rel="stylesheet" href="../../../assets/stylesheets/palette.06af60db.min.css">
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
<style>:root{--md-admonition-icon--example:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C%21--%21%20Font%20Awesome%20Free%
|
|
41
|
+
<style>:root{--md-admonition-icon--example:url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3C%21--%21%20Font%20Awesome%20Free%207.0.0%20by%20%40fontawesome%20-%20https%3A//fontawesome.com%20License%20-%20https%3A//fontawesome.com/license/free%20%28Icons%3A%20CC%20BY%204.0%2C%20Fonts%3A%20SIL%20OFL%201.1%2C%20Code%3A%20MIT%20License%29%20Copyright%202025%20Fonticons%2C%20Inc.--%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M288%200H128c-17.7%200-32%2014.3-32%2032s14.3%2032%2032%2032v151.5L7.5%20426.3C2.6%20435%200%20444.7%200%20454.7%200%20486.4%2025.6%20512%2057.3%20512h333.4c31.6%200%2057.3-25.6%2057.3-57.3%200-10-2.6-19.8-7.5-28.4L320%20215.5V64c17.7%200%2032-14.3%2032-32S337.7%200%20320%200zm-96%20215.5V64h64v151.5c0%2011.1%202.9%2022.1%208.4%2031.8L306%20320H142l41.6-72.7c5.5-9.7%208.4-20.6%208.4-31.8%22/%3E%3C/svg%3E');}</style>
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
<a href="https://github.com/nautobot/nautobot" title="Go to repository" class="md-source" data-md-component="source">
|
|
221
221
|
<div class="md-source__icon md-icon">
|
|
222
222
|
|
|
223
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
223
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
|
|
224
224
|
</div>
|
|
225
225
|
<div class="md-source__repository">
|
|
226
226
|
GitHub
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
<a href="https://github.com/nautobot/nautobot" title="Go to repository" class="md-source" data-md-component="source">
|
|
393
393
|
<div class="md-source__icon md-icon">
|
|
394
394
|
|
|
395
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
395
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M439.6 236.1 244 40.5c-5.4-5.5-12.8-8.5-20.4-8.5s-15 3-20.4 8.4L162.5 81l51.5 51.5c27.1-9.1 52.7 16.8 43.4 43.7l49.7 49.7c34.2-11.8 61.2 31 35.5 56.7-26.5 26.5-70.2-2.9-56-37.3L240.3 199v121.9c25.3 12.5 22.3 41.8 9.1 55-6.4 6.4-15.2 10.1-24.3 10.1s-17.8-3.6-24.3-10.1c-17.6-17.6-11.1-46.9 11.2-56v-123c-20.8-8.5-24.6-30.7-18.6-45L142.6 101 8.5 235.1C3 240.6 0 247.9 0 255.5s3 15 8.5 20.4l195.6 195.7c5.4 5.4 12.7 8.4 20.4 8.4s15-3 20.4-8.4l194.7-194.7c5.4-5.4 8.4-12.8 8.4-20.4s-3-15-8.4-20.4"/></svg>
|
|
396
396
|
</div>
|
|
397
397
|
<div class="md-source__repository">
|
|
398
398
|
GitHub
|
|
@@ -4004,29 +4004,6 @@
|
|
|
4004
4004
|
|
|
4005
4005
|
|
|
4006
4006
|
|
|
4007
|
-
<li class="md-nav__item">
|
|
4008
|
-
<a href="../../../user-guide/core-data-model/dcim/inventoryitem.html" class="md-nav__link">
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
<span class="md-ellipsis">
|
|
4013
|
-
Inventory Item
|
|
4014
|
-
|
|
4015
|
-
</span>
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
</a>
|
|
4019
|
-
</li>
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
4007
|
<li class="md-nav__item">
|
|
4031
4008
|
<a href="../../../user-guide/core-data-model/dcim/modulebay.html" class="md-nav__link">
|
|
4032
4009
|
|
|
@@ -8775,6 +8752,15 @@
|
|
|
8775
8752
|
</span>
|
|
8776
8753
|
</a>
|
|
8777
8754
|
|
|
8755
|
+
</li>
|
|
8756
|
+
|
|
8757
|
+
<li class="md-nav__item">
|
|
8758
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="md-nav__link">
|
|
8759
|
+
<span class="md-ellipsis">
|
|
8760
|
+
test_automagic_filters
|
|
8761
|
+
</span>
|
|
8762
|
+
</a>
|
|
8763
|
+
|
|
8778
8764
|
</li>
|
|
8779
8765
|
|
|
8780
8766
|
<li class="md-nav__item">
|
|
@@ -10245,6 +10231,29 @@
|
|
|
10245
10231
|
|
|
10246
10232
|
|
|
10247
10233
|
|
|
10234
|
+
|
|
10235
|
+
|
|
10236
|
+
|
|
10237
|
+
|
|
10238
|
+
|
|
10239
|
+
|
|
10240
|
+
<li class="md-nav__item">
|
|
10241
|
+
<a href="../../../development/apps/migration/ui-component-framework/breadcrumbs-titles.html" class="md-nav__link">
|
|
10242
|
+
|
|
10243
|
+
|
|
10244
|
+
|
|
10245
|
+
<span class="md-ellipsis">
|
|
10246
|
+
Breadcrumbs and titles
|
|
10247
|
+
|
|
10248
|
+
</span>
|
|
10249
|
+
|
|
10250
|
+
|
|
10251
|
+
</a>
|
|
10252
|
+
</li>
|
|
10253
|
+
|
|
10254
|
+
|
|
10255
|
+
|
|
10256
|
+
|
|
10248
10257
|
</ul>
|
|
10249
10258
|
</nav>
|
|
10250
10259
|
|
|
@@ -12133,6 +12142,15 @@
|
|
|
12133
12142
|
</span>
|
|
12134
12143
|
</a>
|
|
12135
12144
|
|
|
12145
|
+
</li>
|
|
12146
|
+
|
|
12147
|
+
<li class="md-nav__item">
|
|
12148
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="md-nav__link">
|
|
12149
|
+
<span class="md-ellipsis">
|
|
12150
|
+
test_automagic_filters
|
|
12151
|
+
</span>
|
|
12152
|
+
</a>
|
|
12153
|
+
|
|
12136
12154
|
</li>
|
|
12137
12155
|
|
|
12138
12156
|
<li class="md-nav__item">
|
|
@@ -13166,6 +13184,7 @@
|
|
|
13166
13184
|
|
|
13167
13185
|
|
|
13168
13186
|
|
|
13187
|
+
|
|
13169
13188
|
<div class="doc doc-children">
|
|
13170
13189
|
|
|
13171
13190
|
|
|
@@ -13188,7 +13207,7 @@
|
|
|
13188
13207
|
|
|
13189
13208
|
<div class="doc doc-contents ">
|
|
13190
13209
|
<p class="doc doc-class-bases">
|
|
13191
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelTestCase" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
13210
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelTestCase (nautobot.core.testing.views.ModelTestCase)" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
13192
13211
|
|
|
13193
13212
|
|
|
13194
13213
|
<p>Base test case for API requests.</p>
|
|
@@ -13202,6 +13221,7 @@
|
|
|
13202
13221
|
|
|
13203
13222
|
|
|
13204
13223
|
|
|
13224
|
+
|
|
13205
13225
|
<div class="doc doc-children">
|
|
13206
13226
|
|
|
13207
13227
|
|
|
@@ -13227,6 +13247,7 @@
|
|
|
13227
13247
|
<p>If a specific API has a false failure here (maybe it has security-related strings as model flags or something?),
|
|
13228
13248
|
its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
13229
13249
|
|
|
13250
|
+
|
|
13230
13251
|
</div>
|
|
13231
13252
|
|
|
13232
13253
|
</div>
|
|
@@ -13244,6 +13265,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13244
13265
|
|
|
13245
13266
|
<p>Get serializer field names that are many-to-many or one-to-many and thus affected by ?exclude_m2m=true.</p>
|
|
13246
13267
|
|
|
13268
|
+
|
|
13247
13269
|
</div>
|
|
13248
13270
|
|
|
13249
13271
|
</div>
|
|
@@ -13261,6 +13283,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13261
13283
|
|
|
13262
13284
|
<p>Create a token for API calls.</p>
|
|
13263
13285
|
|
|
13286
|
+
|
|
13264
13287
|
</div>
|
|
13265
13288
|
|
|
13266
13289
|
</div>
|
|
@@ -13278,6 +13301,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13278
13301
|
|
|
13279
13302
|
<p>Set or unset a specific API version for requests in this test case.</p>
|
|
13280
13303
|
|
|
13304
|
+
|
|
13281
13305
|
</div>
|
|
13282
13306
|
|
|
13283
13307
|
</div>
|
|
@@ -13303,7 +13327,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13303
13327
|
|
|
13304
13328
|
<div class="doc doc-contents ">
|
|
13305
13329
|
<p class="doc doc-class-bases">
|
|
13306
|
-
Bases: <code><span title="rest_framework.test.APITransactionTestCase">APITransactionTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
13330
|
+
Bases: <code><span title="rest_framework.test.APITransactionTestCase">APITransactionTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
13331
|
+
|
|
13307
13332
|
|
|
13308
13333
|
|
|
13309
13334
|
|
|
@@ -13337,6 +13362,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13337
13362
|
|
|
13338
13363
|
<p>Create a superuser and token for API calls.</p>
|
|
13339
13364
|
|
|
13365
|
+
|
|
13340
13366
|
</div>
|
|
13341
13367
|
|
|
13342
13368
|
</div>
|
|
@@ -13371,6 +13397,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13371
13397
|
|
|
13372
13398
|
|
|
13373
13399
|
|
|
13400
|
+
|
|
13374
13401
|
<div class="doc doc-children">
|
|
13375
13402
|
|
|
13376
13403
|
|
|
@@ -13393,7 +13420,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13393
13420
|
|
|
13394
13421
|
<div class="doc doc-contents ">
|
|
13395
13422
|
<p class="doc doc-class-bases">
|
|
13396
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13423
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13424
|
+
|
|
13397
13425
|
|
|
13398
13426
|
|
|
13399
13427
|
|
|
@@ -13427,6 +13455,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13427
13455
|
|
|
13428
13456
|
<p>POST a set of objects in a single request.</p>
|
|
13429
13457
|
|
|
13458
|
+
|
|
13430
13459
|
</div>
|
|
13431
13460
|
|
|
13432
13461
|
</div>
|
|
@@ -13444,6 +13473,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13444
13473
|
|
|
13445
13474
|
<p>POST a single object with permission.</p>
|
|
13446
13475
|
|
|
13476
|
+
|
|
13447
13477
|
</div>
|
|
13448
13478
|
|
|
13449
13479
|
</div>
|
|
@@ -13461,6 +13491,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13461
13491
|
|
|
13462
13492
|
<p>POST a single object without permission.</p>
|
|
13463
13493
|
|
|
13494
|
+
|
|
13464
13495
|
</div>
|
|
13465
13496
|
|
|
13466
13497
|
</div>
|
|
@@ -13478,6 +13509,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13478
13509
|
|
|
13479
13510
|
<p>CSV export an object, delete it, and recreate it via CSV import.</p>
|
|
13480
13511
|
|
|
13512
|
+
|
|
13481
13513
|
</div>
|
|
13482
13514
|
|
|
13483
13515
|
</div>
|
|
@@ -13503,7 +13535,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13503
13535
|
|
|
13504
13536
|
<div class="doc doc-contents ">
|
|
13505
13537
|
<p class="doc doc-class-bases">
|
|
13506
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13538
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13539
|
+
|
|
13507
13540
|
|
|
13508
13541
|
|
|
13509
13542
|
|
|
@@ -13539,6 +13572,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13539
13572
|
<p>For some models this may just be any random object, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
13540
13573
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
13541
13574
|
|
|
13575
|
+
|
|
13542
13576
|
</div>
|
|
13543
13577
|
|
|
13544
13578
|
</div>
|
|
@@ -13558,6 +13592,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13558
13592
|
<p>For some models this may just be any random objects, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
13559
13593
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
13560
13594
|
|
|
13595
|
+
|
|
13561
13596
|
</div>
|
|
13562
13597
|
|
|
13563
13598
|
</div>
|
|
@@ -13575,6 +13610,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13575
13610
|
|
|
13576
13611
|
<p>DELETE a set of objects in a single request.</p>
|
|
13577
13612
|
|
|
13613
|
+
|
|
13578
13614
|
</div>
|
|
13579
13615
|
|
|
13580
13616
|
</div>
|
|
@@ -13592,6 +13628,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13592
13628
|
|
|
13593
13629
|
<p>DELETE a single object identified by its primary key.</p>
|
|
13594
13630
|
|
|
13631
|
+
|
|
13595
13632
|
</div>
|
|
13596
13633
|
|
|
13597
13634
|
</div>
|
|
@@ -13609,6 +13646,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13609
13646
|
|
|
13610
13647
|
<p>DELETE a single object without permission.</p>
|
|
13611
13648
|
|
|
13649
|
+
|
|
13612
13650
|
</div>
|
|
13613
13651
|
|
|
13614
13652
|
</div>
|
|
@@ -13634,7 +13672,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13634
13672
|
|
|
13635
13673
|
<div class="doc doc-contents ">
|
|
13636
13674
|
<p class="doc doc-class-bases">
|
|
13637
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13675
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13676
|
+
|
|
13638
13677
|
|
|
13639
13678
|
|
|
13640
13679
|
|
|
@@ -13668,6 +13707,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13668
13707
|
|
|
13669
13708
|
<p>GET a single object as an authenticated user with permission to view the object.</p>
|
|
13670
13709
|
|
|
13710
|
+
|
|
13671
13711
|
</div>
|
|
13672
13712
|
|
|
13673
13713
|
</div>
|
|
@@ -13685,6 +13725,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13685
13725
|
|
|
13686
13726
|
<p>GET a single object as an unauthenticated user.</p>
|
|
13687
13727
|
|
|
13728
|
+
|
|
13688
13729
|
</div>
|
|
13689
13730
|
|
|
13690
13731
|
</div>
|
|
@@ -13702,6 +13743,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13702
13743
|
|
|
13703
13744
|
<p>GET a single object as an authenticated user without the required permission.</p>
|
|
13704
13745
|
|
|
13746
|
+
|
|
13705
13747
|
</div>
|
|
13706
13748
|
|
|
13707
13749
|
</div>
|
|
@@ -13719,6 +13761,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13719
13761
|
|
|
13720
13762
|
<p>Make an OPTIONS request for a single object.</p>
|
|
13721
13763
|
|
|
13764
|
+
|
|
13722
13765
|
</div>
|
|
13723
13766
|
|
|
13724
13767
|
</div>
|
|
@@ -13744,7 +13787,8 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13744
13787
|
|
|
13745
13788
|
<div class="doc doc-contents ">
|
|
13746
13789
|
<p class="doc doc-class-bases">
|
|
13747
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13790
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13791
|
+
|
|
13748
13792
|
|
|
13749
13793
|
|
|
13750
13794
|
|
|
@@ -13778,6 +13822,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13778
13822
|
|
|
13779
13823
|
<p>Get a list of model fields that could be tested with the ?depth query parameter</p>
|
|
13780
13824
|
|
|
13825
|
+
|
|
13781
13826
|
</div>
|
|
13782
13827
|
|
|
13783
13828
|
</div>
|
|
@@ -13795,6 +13840,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13795
13840
|
|
|
13796
13841
|
<p>GET a list of objects as an authenticated user with permission to view the objects.</p>
|
|
13797
13842
|
|
|
13843
|
+
|
|
13798
13844
|
</div>
|
|
13799
13845
|
|
|
13800
13846
|
</div>
|
|
@@ -13812,6 +13858,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13812
13858
|
|
|
13813
13859
|
<p>GET a list of objects as an unauthenticated user.</p>
|
|
13814
13860
|
|
|
13861
|
+
|
|
13815
13862
|
</div>
|
|
13816
13863
|
|
|
13817
13864
|
</div>
|
|
@@ -13829,6 +13876,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13829
13876
|
|
|
13830
13877
|
<p>GET a list of objects in CSV format as an authenticated user with permission to view some objects.</p>
|
|
13831
13878
|
|
|
13879
|
+
|
|
13832
13880
|
</div>
|
|
13833
13881
|
|
|
13834
13882
|
</div>
|
|
@@ -13846,6 +13894,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13846
13894
|
|
|
13847
13895
|
<p>GET a list of objects using the "?depth=0" parameter.</p>
|
|
13848
13896
|
|
|
13897
|
+
|
|
13849
13898
|
</div>
|
|
13850
13899
|
|
|
13851
13900
|
</div>
|
|
@@ -13863,6 +13912,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13863
13912
|
|
|
13864
13913
|
<p>GET a list of objects using the "?depth=1" parameter.</p>
|
|
13865
13914
|
|
|
13915
|
+
|
|
13866
13916
|
</div>
|
|
13867
13917
|
|
|
13868
13918
|
</div>
|
|
@@ -13880,6 +13930,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13880
13930
|
|
|
13881
13931
|
<p>GET a list of objects filtered by ID.</p>
|
|
13882
13932
|
|
|
13933
|
+
|
|
13883
13934
|
</div>
|
|
13884
13935
|
|
|
13885
13936
|
</div>
|
|
@@ -13897,6 +13948,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13897
13948
|
|
|
13898
13949
|
<p>GET a list of objects with an unknown filter parameter and no strict filtering, expect it to be ignored.</p>
|
|
13899
13950
|
|
|
13951
|
+
|
|
13900
13952
|
</div>
|
|
13901
13953
|
|
|
13902
13954
|
</div>
|
|
@@ -13914,6 +13966,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13914
13966
|
|
|
13915
13967
|
<p>GET a list of objects with an unknown filter parameter and strict filtering, expect a 400 response.</p>
|
|
13916
13968
|
|
|
13969
|
+
|
|
13917
13970
|
</div>
|
|
13918
13971
|
|
|
13919
13972
|
</div>
|
|
@@ -13931,6 +13984,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13931
13984
|
|
|
13932
13985
|
<p>GET a list of objects as an authenticated user without the required permission.</p>
|
|
13933
13986
|
|
|
13987
|
+
|
|
13934
13988
|
</div>
|
|
13935
13989
|
|
|
13936
13990
|
</div>
|
|
@@ -13948,6 +14002,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13948
14002
|
|
|
13949
14003
|
<p>Make an OPTIONS request for a list endpoint.</p>
|
|
13950
14004
|
|
|
14005
|
+
|
|
13951
14006
|
</div>
|
|
13952
14007
|
|
|
13953
14008
|
</div>
|
|
@@ -13973,7 +14028,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13973
14028
|
|
|
13974
14029
|
<div class="doc doc-contents ">
|
|
13975
14030
|
<p class="doc doc-class-bases">
|
|
13976
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14031
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
13977
14032
|
|
|
13978
14033
|
|
|
13979
14034
|
<p>Validate Notes URL on objects that have the Note model Mixin.</p>
|
|
@@ -13986,6 +14041,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
13986
14041
|
|
|
13987
14042
|
|
|
13988
14043
|
|
|
14044
|
+
|
|
13989
14045
|
<div class="doc doc-children">
|
|
13990
14046
|
|
|
13991
14047
|
|
|
@@ -14028,6 +14084,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
14028
14084
|
|
|
14029
14085
|
|
|
14030
14086
|
|
|
14087
|
+
|
|
14031
14088
|
<div class="doc doc-children">
|
|
14032
14089
|
|
|
14033
14090
|
|
|
@@ -14052,6 +14109,7 @@ its test case should overload self.VERBOTEN_STRINGS appropriately.</p>
|
|
|
14052
14109
|
<p>GET a list of objects using the "?depth=2" parameter.
|
|
14053
14110
|
TreeModel Only</p>
|
|
14054
14111
|
|
|
14112
|
+
|
|
14055
14113
|
</div>
|
|
14056
14114
|
|
|
14057
14115
|
</div>
|
|
@@ -14077,7 +14135,8 @@ TreeModel Only</p>
|
|
|
14077
14135
|
|
|
14078
14136
|
<div class="doc doc-contents ">
|
|
14079
14137
|
<p class="doc doc-class-bases">
|
|
14080
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.api.APITestCase" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14138
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.APITestCase (nautobot.core.testing.api.APITestCase)" href="#nautobot.apps.testing.APITestCase">APITestCase</a></code></p>
|
|
14139
|
+
|
|
14081
14140
|
|
|
14082
14141
|
|
|
14083
14142
|
|
|
@@ -14111,6 +14170,7 @@ TreeModel Only</p>
|
|
|
14111
14170
|
|
|
14112
14171
|
<p>PATCH a set of objects in a single request.</p>
|
|
14113
14172
|
|
|
14173
|
+
|
|
14114
14174
|
</div>
|
|
14115
14175
|
|
|
14116
14176
|
</div>
|
|
@@ -14128,6 +14188,7 @@ TreeModel Only</p>
|
|
|
14128
14188
|
|
|
14129
14189
|
<p>GET and then PUT an object and verify that it's accepted and unchanged.</p>
|
|
14130
14190
|
|
|
14191
|
+
|
|
14131
14192
|
</div>
|
|
14132
14193
|
|
|
14133
14194
|
</div>
|
|
@@ -14145,6 +14206,7 @@ TreeModel Only</p>
|
|
|
14145
14206
|
|
|
14146
14207
|
<p>Make an OPTIONS request for a list endpoint and validate choices match expected choices for serializer.</p>
|
|
14147
14208
|
|
|
14209
|
+
|
|
14148
14210
|
</div>
|
|
14149
14211
|
|
|
14150
14212
|
</div>
|
|
@@ -14162,6 +14224,7 @@ TreeModel Only</p>
|
|
|
14162
14224
|
|
|
14163
14225
|
<p>PATCH a single object identified by its ID.</p>
|
|
14164
14226
|
|
|
14227
|
+
|
|
14165
14228
|
</div>
|
|
14166
14229
|
|
|
14167
14230
|
</div>
|
|
@@ -14179,6 +14242,7 @@ TreeModel Only</p>
|
|
|
14179
14242
|
|
|
14180
14243
|
<p>PATCH a single object without permission.</p>
|
|
14181
14244
|
|
|
14245
|
+
|
|
14182
14246
|
</div>
|
|
14183
14247
|
|
|
14184
14248
|
</div>
|
|
@@ -14222,6 +14286,7 @@ TreeModel Only</p>
|
|
|
14222
14286
|
|
|
14223
14287
|
|
|
14224
14288
|
|
|
14289
|
+
|
|
14225
14290
|
<div class="doc doc-children">
|
|
14226
14291
|
|
|
14227
14292
|
|
|
@@ -14244,7 +14309,7 @@ TreeModel Only</p>
|
|
|
14244
14309
|
|
|
14245
14310
|
<div class="doc doc-contents ">
|
|
14246
14311
|
<p class="doc doc-class-bases">
|
|
14247
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14312
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14248
14313
|
|
|
14249
14314
|
|
|
14250
14315
|
<p>Base class for testing of FilterSets.</p>
|
|
@@ -14257,6 +14322,7 @@ TreeModel Only</p>
|
|
|
14257
14322
|
|
|
14258
14323
|
|
|
14259
14324
|
|
|
14325
|
+
|
|
14260
14326
|
<div class="doc doc-children">
|
|
14261
14327
|
|
|
14262
14328
|
|
|
@@ -14300,7 +14366,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14300
14366
|
<code>field_name</code>
|
|
14301
14367
|
</td>
|
|
14302
14368
|
<td>
|
|
14303
|
-
<code>str</code>
|
|
14369
|
+
<code><span title="str">str</span></code>
|
|
14304
14370
|
</td>
|
|
14305
14371
|
<td>
|
|
14306
14372
|
<div class="doc-md-description">
|
|
@@ -14342,7 +14408,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14342
14408
|
<tbody>
|
|
14343
14409
|
<tr class="doc-section-item">
|
|
14344
14410
|
<td>
|
|
14345
|
-
<code>list</code>
|
|
14411
|
+
<code><span title="list">list</span></code>
|
|
14346
14412
|
</td>
|
|
14347
14413
|
<td>
|
|
14348
14414
|
<div class="doc-md-description">
|
|
@@ -14365,7 +14431,7 @@ passed to the queryset's filter(field_name__in=[]) method but will fail to match
|
|
|
14365
14431
|
<tbody>
|
|
14366
14432
|
<tr class="doc-section-item">
|
|
14367
14433
|
<td>
|
|
14368
|
-
<code>ValueError</code>
|
|
14434
|
+
<code><span title="ValueError">ValueError</span></code>
|
|
14369
14435
|
</td>
|
|
14370
14436
|
<td>
|
|
14371
14437
|
<div class="doc-md-description">
|
|
@@ -14377,6 +14443,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14377
14443
|
</tbody>
|
|
14378
14444
|
</table>
|
|
14379
14445
|
|
|
14446
|
+
|
|
14380
14447
|
</div>
|
|
14381
14448
|
|
|
14382
14449
|
</div>
|
|
@@ -14402,7 +14469,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14402
14469
|
|
|
14403
14470
|
<div class="doc doc-contents ">
|
|
14404
14471
|
<p class="doc doc-class-bases">
|
|
14405
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.BaseFilterTestCase" href="#nautobot.apps.testing.FilterTestCases.BaseFilterTestCase">BaseFilterTestCase</a></code></p>
|
|
14472
|
+
Bases: <code><a class="autorefs autorefs-internal" title="BaseFilterTestCase (nautobot.core.testing.filters.FilterTestCases.BaseFilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.BaseFilterTestCase">BaseFilterTestCase</a></code></p>
|
|
14406
14473
|
|
|
14407
14474
|
|
|
14408
14475
|
<p>Add common tests for all FilterSets.</p>
|
|
@@ -14415,6 +14482,7 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14415
14482
|
|
|
14416
14483
|
|
|
14417
14484
|
|
|
14485
|
+
|
|
14418
14486
|
<div class="doc doc-children">
|
|
14419
14487
|
|
|
14420
14488
|
|
|
@@ -14438,6 +14506,25 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14438
14506
|
|
|
14439
14507
|
<p>Helper method to return q filter.</p>
|
|
14440
14508
|
|
|
14509
|
+
|
|
14510
|
+
</div>
|
|
14511
|
+
|
|
14512
|
+
</div>
|
|
14513
|
+
|
|
14514
|
+
<div class="doc doc-object doc-function">
|
|
14515
|
+
|
|
14516
|
+
|
|
14517
|
+
<h4 id="nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="doc doc-heading">
|
|
14518
|
+
<code class="highlight language-python"><span class="n">test_automagic_filters</span><span class="p">()</span></code>
|
|
14519
|
+
|
|
14520
|
+
<a href="#nautobot.apps.testing.FilterTestCases.FilterTestCase.test_automagic_filters" class="headerlink" title="Permanent link">¶</a></h4>
|
|
14521
|
+
|
|
14522
|
+
|
|
14523
|
+
<div class="doc doc-contents ">
|
|
14524
|
+
|
|
14525
|
+
<p>https://github.com/nautobot/nautobot/issues/6656</p>
|
|
14526
|
+
|
|
14527
|
+
|
|
14441
14528
|
</div>
|
|
14442
14529
|
|
|
14443
14530
|
</div>
|
|
@@ -14453,11 +14540,12 @@ to filter the queryset to a subset of the total instances.</p>
|
|
|
14453
14540
|
|
|
14454
14541
|
<div class="doc doc-contents ">
|
|
14455
14542
|
|
|
14456
|
-
<p>Test all <code>RelatedMembershipBooleanFilter</code> filters found in <code>self.filterset.
|
|
14543
|
+
<p>Test all <code>RelatedMembershipBooleanFilter</code> filters found in <code>self.filterset.filters</code>
|
|
14457
14544
|
except for the ones with custom filter logic defined in its <code>method</code> attribute.</p>
|
|
14458
14545
|
<p>This test asserts that <code>filter=True</code> matches <code>self.queryset.filter(field__isnull=False)</code> and
|
|
14459
14546
|
that <code>filter=False</code> matches <code>self.queryset.filter(field__isnull=True)</code>.</p>
|
|
14460
14547
|
|
|
14548
|
+
|
|
14461
14549
|
</div>
|
|
14462
14550
|
|
|
14463
14551
|
</div>
|
|
@@ -14494,6 +14582,7 @@ For example, to test a NaturalKeyOrPKMultipleChoiceFilter, use:
|
|
|
14494
14582
|
)
|
|
14495
14583
|
This expects a field named <code>devices</code> on the model and a filter named <code>devices</code> on the filterset.</p>
|
|
14496
14584
|
|
|
14585
|
+
|
|
14497
14586
|
</div>
|
|
14498
14587
|
|
|
14499
14588
|
</div>
|
|
@@ -14511,6 +14600,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14511
14600
|
|
|
14512
14601
|
<p>Verify that the filterset supports filtering by id with only lookup <code>__n</code>.</p>
|
|
14513
14602
|
|
|
14603
|
+
|
|
14514
14604
|
</div>
|
|
14515
14605
|
|
|
14516
14606
|
</div>
|
|
@@ -14528,6 +14618,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14528
14618
|
|
|
14529
14619
|
<p>Verify that the filterset reports as invalid when initialized with an unsupported filter parameter.</p>
|
|
14530
14620
|
|
|
14621
|
+
|
|
14531
14622
|
</div>
|
|
14532
14623
|
|
|
14533
14624
|
</div>
|
|
@@ -14545,6 +14636,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14545
14636
|
|
|
14546
14637
|
<p>Test the <code>q</code> filter based on attributes in <code>filter_predicates</code>.</p>
|
|
14547
14638
|
|
|
14639
|
+
|
|
14548
14640
|
</div>
|
|
14549
14641
|
|
|
14550
14642
|
</div>
|
|
@@ -14562,6 +14654,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14562
14654
|
|
|
14563
14655
|
<p>Test the <code>tags</code> filter which should be present on all PrimaryModel filtersets.</p>
|
|
14564
14656
|
|
|
14657
|
+
|
|
14565
14658
|
</div>
|
|
14566
14659
|
|
|
14567
14660
|
</div>
|
|
@@ -14587,7 +14680,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14587
14680
|
|
|
14588
14681
|
<div class="doc doc-contents ">
|
|
14589
14682
|
<p class="doc doc-class-bases">
|
|
14590
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.FilterTestCase" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14683
|
+
Bases: <code><a class="autorefs autorefs-internal" title="FilterTestCase (nautobot.core.testing.filters.FilterTestCases.FilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14591
14684
|
|
|
14592
14685
|
|
|
14593
14686
|
<p>Add simple tests for filtering by name.</p>
|
|
@@ -14600,6 +14693,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14600
14693
|
|
|
14601
14694
|
|
|
14602
14695
|
|
|
14696
|
+
|
|
14603
14697
|
<div class="doc doc-children">
|
|
14604
14698
|
|
|
14605
14699
|
|
|
@@ -14631,7 +14725,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14631
14725
|
|
|
14632
14726
|
<div class="doc doc-contents ">
|
|
14633
14727
|
<p class="doc doc-class-bases">
|
|
14634
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.filters.FilterTestCases.FilterTestCase" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14728
|
+
Bases: <code><a class="autorefs autorefs-internal" title="FilterTestCase (nautobot.core.testing.filters.FilterTestCases.FilterTestCase)" href="#nautobot.apps.testing.FilterTestCases.FilterTestCase">FilterTestCase</a></code></p>
|
|
14635
14729
|
|
|
14636
14730
|
|
|
14637
14731
|
<p>Add simple tests for filtering by name and by slug.</p>
|
|
@@ -14644,6 +14738,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14644
14738
|
|
|
14645
14739
|
|
|
14646
14740
|
|
|
14741
|
+
|
|
14647
14742
|
<div class="doc doc-children">
|
|
14648
14743
|
|
|
14649
14744
|
|
|
@@ -14675,7 +14770,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14675
14770
|
|
|
14676
14771
|
<div class="doc doc-contents ">
|
|
14677
14772
|
<p class="doc doc-class-bases">
|
|
14678
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14773
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14679
14774
|
|
|
14680
14775
|
|
|
14681
14776
|
<p>Add test cases for tenant and tenant-group filters.</p>
|
|
@@ -14688,6 +14783,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14688
14783
|
|
|
14689
14784
|
|
|
14690
14785
|
|
|
14786
|
+
|
|
14691
14787
|
<div class="doc doc-children">
|
|
14692
14788
|
|
|
14693
14789
|
|
|
@@ -14737,6 +14833,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14737
14833
|
|
|
14738
14834
|
|
|
14739
14835
|
|
|
14836
|
+
|
|
14740
14837
|
<div class="doc doc-children">
|
|
14741
14838
|
|
|
14742
14839
|
|
|
@@ -14772,6 +14869,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14772
14869
|
|
|
14773
14870
|
|
|
14774
14871
|
|
|
14872
|
+
|
|
14775
14873
|
<div class="doc doc-children">
|
|
14776
14874
|
|
|
14777
14875
|
|
|
@@ -14812,7 +14910,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14812
14910
|
|
|
14813
14911
|
<div class="doc doc-contents ">
|
|
14814
14912
|
<p class="doc doc-class-bases">
|
|
14815
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14913
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
14816
14914
|
|
|
14817
14915
|
|
|
14818
14916
|
<p>Parent class for TestCases which deal with models.</p>
|
|
@@ -14825,6 +14923,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14825
14923
|
|
|
14826
14924
|
|
|
14827
14925
|
|
|
14926
|
+
|
|
14828
14927
|
<div class="doc doc-children">
|
|
14829
14928
|
|
|
14830
14929
|
|
|
@@ -14865,6 +14964,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14865
14964
|
|
|
14866
14965
|
|
|
14867
14966
|
|
|
14967
|
+
|
|
14868
14968
|
<div class="doc doc-children">
|
|
14869
14969
|
|
|
14870
14970
|
|
|
@@ -14887,7 +14987,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14887
14987
|
|
|
14888
14988
|
<div class="doc doc-contents ">
|
|
14889
14989
|
<p class="doc doc-class-bases">
|
|
14890
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
14990
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
14891
14991
|
|
|
14892
14992
|
|
|
14893
14993
|
<p>Base class for generic model tests.</p>
|
|
@@ -14900,6 +15000,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14900
15000
|
|
|
14901
15001
|
|
|
14902
15002
|
|
|
15003
|
+
|
|
14903
15004
|
<div class="doc doc-children">
|
|
14904
15005
|
|
|
14905
15006
|
|
|
@@ -14923,6 +15024,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14923
15024
|
|
|
14924
15025
|
<p>Check that <code>composite_key</code> and filtering by <code>composite_key</code> both work.</p>
|
|
14925
15026
|
|
|
15027
|
+
|
|
14926
15028
|
</div>
|
|
14927
15029
|
|
|
14928
15030
|
</div>
|
|
@@ -14940,6 +15042,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14940
15042
|
|
|
14941
15043
|
<p>For dynamic-group capable models, check that they work as intended.</p>
|
|
14942
15044
|
|
|
15045
|
+
|
|
14943
15046
|
</div>
|
|
14944
15047
|
|
|
14945
15048
|
</div>
|
|
@@ -14957,6 +15060,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14957
15060
|
|
|
14958
15061
|
<p>Check that <code>get_docs_url()</code> returns a valid static file path for this model.</p>
|
|
14959
15062
|
|
|
15063
|
+
|
|
14960
15064
|
</div>
|
|
14961
15065
|
|
|
14962
15066
|
</div>
|
|
@@ -14974,6 +15078,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
14974
15078
|
|
|
14975
15079
|
<p>Check that <code>natural_key()</code> and <code>get_by_natural_key()</code> work reciprocally.</p>
|
|
14976
15080
|
|
|
15081
|
+
|
|
14977
15082
|
</div>
|
|
14978
15083
|
|
|
14979
15084
|
</div>
|
|
@@ -15008,7 +15113,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15008
15113
|
|
|
15009
15114
|
<div class="doc doc-contents ">
|
|
15010
15115
|
<p class="doc doc-class-bases">
|
|
15011
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelTestCase" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
15116
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelTestCase (nautobot.core.testing.views.ModelTestCase)" href="#nautobot.apps.testing.ModelTestCase">ModelTestCase</a></code></p>
|
|
15012
15117
|
|
|
15013
15118
|
|
|
15014
15119
|
<p>Base TestCase for model views. Subclass to test individual views.</p>
|
|
@@ -15021,6 +15126,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15021
15126
|
|
|
15022
15127
|
|
|
15023
15128
|
|
|
15129
|
+
|
|
15024
15130
|
<div class="doc doc-children">
|
|
15025
15131
|
|
|
15026
15132
|
|
|
@@ -15048,6 +15154,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15048
15154
|
|
|
15049
15155
|
<p>Name of instance field to pass as a kwarg when looking up URLs for creating/editing/deleting a model instance.</p>
|
|
15050
15156
|
<p>If unspecified, "pk" and "slug" will be tried, in that order.</p>
|
|
15157
|
+
|
|
15051
15158
|
</div>
|
|
15052
15159
|
|
|
15053
15160
|
</div>
|
|
@@ -15086,6 +15193,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15086
15193
|
|
|
15087
15194
|
|
|
15088
15195
|
|
|
15196
|
+
|
|
15089
15197
|
<div class="doc doc-children">
|
|
15090
15198
|
|
|
15091
15199
|
|
|
@@ -15109,6 +15217,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15109
15217
|
|
|
15110
15218
|
<p>Populate your Nautobot data before migrating from the first migration to the second</p>
|
|
15111
15219
|
|
|
15220
|
+
|
|
15112
15221
|
</div>
|
|
15113
15222
|
|
|
15114
15223
|
</div>
|
|
@@ -15145,6 +15254,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15145
15254
|
|
|
15146
15255
|
|
|
15147
15256
|
|
|
15257
|
+
|
|
15148
15258
|
<div class="doc doc-children">
|
|
15149
15259
|
|
|
15150
15260
|
|
|
@@ -15168,6 +15278,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
15168
15278
|
|
|
15169
15279
|
<p>Get the absolute API URL ("http://nautobot.example.com/api/...") for a given object.</p>
|
|
15170
15280
|
|
|
15281
|
+
|
|
15171
15282
|
</div>
|
|
15172
15283
|
|
|
15173
15284
|
</div>
|
|
@@ -15192,6 +15303,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15192
15303
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="n">add_permissions</span><span class="p">(</span><span class="s2">"ipam.add_vlangroup"</span><span class="p">,</span> <span class="s2">"ipam.view_vlangroup"</span><span class="p">,</span> <span class="n">constraints</span><span class="o">=</span><span class="p">{</span><span class="s2">"pk"</span><span class="p">:</span> <span class="s2">"uuid-1234"</span><span class="p">})</span>
|
|
15193
15304
|
</code></pre></div>
|
|
15194
15305
|
|
|
15306
|
+
|
|
15195
15307
|
</div>
|
|
15196
15308
|
|
|
15197
15309
|
</div>
|
|
@@ -15209,6 +15321,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15209
15321
|
|
|
15210
15322
|
<p>Like assertNumQueries, but fuzzier. Assert that the number of queries falls within an acceptable range.</p>
|
|
15211
15323
|
|
|
15324
|
+
|
|
15212
15325
|
</div>
|
|
15213
15326
|
|
|
15214
15327
|
</div>
|
|
@@ -15243,7 +15356,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15243
15356
|
<code>response</code>
|
|
15244
15357
|
</td>
|
|
15245
15358
|
<td>
|
|
15246
|
-
<code>HttpResponse</code>
|
|
15359
|
+
<code><span title="HttpResponse">HttpResponse</span></code>
|
|
15247
15360
|
</td>
|
|
15248
15361
|
<td>
|
|
15249
15362
|
<div class="doc-md-description">
|
|
@@ -15259,7 +15372,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15259
15372
|
<code>text</code>
|
|
15260
15373
|
</td>
|
|
15261
15374
|
<td>
|
|
15262
|
-
<code>str</code>
|
|
15375
|
+
<code><span title="str">str</span></code>
|
|
15263
15376
|
</td>
|
|
15264
15377
|
<td>
|
|
15265
15378
|
<div class="doc-md-description">
|
|
@@ -15275,7 +15388,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15275
15388
|
<code>count</code>
|
|
15276
15389
|
</td>
|
|
15277
15390
|
<td>
|
|
15278
|
-
<code>int</code>
|
|
15391
|
+
<code><span title="int">int</span></code>
|
|
15279
15392
|
</td>
|
|
15280
15393
|
<td>
|
|
15281
15394
|
<div class="doc-md-description">
|
|
@@ -15292,7 +15405,7 @@ it's present at all.</p>
|
|
|
15292
15405
|
<code>status_code</code>
|
|
15293
15406
|
</td>
|
|
15294
15407
|
<td>
|
|
15295
|
-
<code>int</code>
|
|
15408
|
+
<code><span title="int">int</span></code>
|
|
15296
15409
|
</td>
|
|
15297
15410
|
<td>
|
|
15298
15411
|
<div class="doc-md-description">
|
|
@@ -15308,7 +15421,7 @@ it's present at all.</p>
|
|
|
15308
15421
|
<code>html</code>
|
|
15309
15422
|
</td>
|
|
15310
15423
|
<td>
|
|
15311
|
-
<code>bool</code>
|
|
15424
|
+
<code><span title="bool">bool</span></code>
|
|
15312
15425
|
</td>
|
|
15313
15426
|
<td>
|
|
15314
15427
|
<div class="doc-md-description">
|
|
@@ -15322,6 +15435,7 @@ it's present at all.</p>
|
|
|
15322
15435
|
</tbody>
|
|
15323
15436
|
</table>
|
|
15324
15437
|
|
|
15438
|
+
|
|
15325
15439
|
</div>
|
|
15326
15440
|
|
|
15327
15441
|
</div>
|
|
@@ -15339,6 +15453,7 @@ it's present at all.</p>
|
|
|
15339
15453
|
|
|
15340
15454
|
<p>TestCase method. Provide more detail in the event of an unexpected HTTP response.</p>
|
|
15341
15455
|
|
|
15456
|
+
|
|
15342
15457
|
</div>
|
|
15343
15458
|
|
|
15344
15459
|
</div>
|
|
@@ -15361,6 +15476,7 @@ in the dictionary.</p>
|
|
|
15361
15476
|
:param exclude: List of fields to exclude from comparison (e.g. passwords, which get hashed)
|
|
15362
15477
|
:param api: Set to True is the data is a JSON representation of the instance</p>
|
|
15363
15478
|
|
|
15479
|
+
|
|
15364
15480
|
</div>
|
|
15365
15481
|
|
|
15366
15482
|
</div>
|
|
@@ -15378,6 +15494,7 @@ in the dictionary.</p>
|
|
|
15378
15494
|
|
|
15379
15495
|
<p>Assert that the given job_result has the expected_status, or print the job logs to aid in debugging.</p>
|
|
15380
15496
|
|
|
15497
|
+
|
|
15381
15498
|
</div>
|
|
15382
15499
|
|
|
15383
15500
|
</div>
|
|
@@ -15395,6 +15512,7 @@ in the dictionary.</p>
|
|
|
15395
15512
|
|
|
15396
15513
|
<p>Wrapper for assertQuerysetEqual with additional logic to assert input queryset and values are not empty</p>
|
|
15397
15514
|
|
|
15515
|
+
|
|
15398
15516
|
</div>
|
|
15399
15517
|
|
|
15400
15518
|
</div>
|
|
@@ -15417,6 +15535,7 @@ in the dictionary.</p>
|
|
|
15417
15535
|
<p>Create and return a Tag instance for each name given.</p>
|
|
15418
15536
|
<p>DEPRECATED: use TagFactory instead.</p>
|
|
15419
15537
|
|
|
15538
|
+
|
|
15420
15539
|
</div>
|
|
15421
15540
|
|
|
15422
15541
|
</div>
|
|
@@ -15434,6 +15553,7 @@ in the dictionary.</p>
|
|
|
15434
15553
|
|
|
15435
15554
|
<p>Return a dictionary representation of an instance.</p>
|
|
15436
15555
|
|
|
15556
|
+
|
|
15437
15557
|
</div>
|
|
15438
15558
|
|
|
15439
15559
|
</div>
|
|
@@ -15452,6 +15572,7 @@ in the dictionary.</p>
|
|
|
15452
15572
|
<p>Test cases can override this method to perform any necessary manipulation of an instance prior to its evaluation
|
|
15453
15573
|
against test data. For example, it can be used to decrypt a Secret's plaintext attribute.</p>
|
|
15454
15574
|
|
|
15575
|
+
|
|
15455
15576
|
</div>
|
|
15456
15577
|
|
|
15457
15578
|
</div>
|
|
@@ -15476,6 +15597,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15476
15597
|
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="gp">>>> </span><span class="n">remove_permissions</span><span class="p">(</span><span class="s2">"ipam.add_vlangroup"</span><span class="p">,</span> <span class="s2">"ipam.view_vlangroup"</span><span class="p">,</span> <span class="n">constraints</span><span class="o">=</span><span class="p">{</span><span class="s2">"pk"</span><span class="p">:</span> <span class="s2">"uuid-1234"</span><span class="p">})</span>
|
|
15477
15598
|
</code></pre></div>
|
|
15478
15599
|
|
|
15600
|
+
|
|
15479
15601
|
</div>
|
|
15480
15602
|
|
|
15481
15603
|
</div>
|
|
@@ -15493,6 +15615,7 @@ Additional keyword arguments will be passed to the ObjectPermission constructor
|
|
|
15493
15615
|
|
|
15494
15616
|
<p>Setup shared testuser, statuses and client.</p>
|
|
15495
15617
|
|
|
15618
|
+
|
|
15496
15619
|
</div>
|
|
15497
15620
|
|
|
15498
15621
|
</div>
|
|
@@ -15515,6 +15638,7 @@ data changes occur, but in practice we've seen issues here. Best guess at presen
|
|
|
15515
15638
|
that would otherwise refresh the cache appropriately.</p>
|
|
15516
15639
|
<p>See also: https://code.djangoproject.com/ticket/11505</p>
|
|
15517
15640
|
|
|
15641
|
+
|
|
15518
15642
|
</div>
|
|
15519
15643
|
|
|
15520
15644
|
</div>
|
|
@@ -15554,6 +15678,7 @@ that would otherwise refresh the cache appropriately.</p>
|
|
|
15554
15678
|
|
|
15555
15679
|
|
|
15556
15680
|
|
|
15681
|
+
|
|
15557
15682
|
<div class="doc doc-children">
|
|
15558
15683
|
|
|
15559
15684
|
|
|
@@ -15579,6 +15704,7 @@ that would otherwise refresh the cache appropriately.</p>
|
|
|
15579
15704
|
<p>This matches the ALLOWED_HOSTS set in nautobot/core/tests/nautobot_config.py and
|
|
15580
15705
|
helps to protect us against issues like https://github.com/nautobot/nautobot/issues/3065.</p>
|
|
15581
15706
|
|
|
15707
|
+
|
|
15582
15708
|
</div>
|
|
15583
15709
|
|
|
15584
15710
|
</div>
|
|
@@ -15613,6 +15739,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15613
15739
|
|
|
15614
15740
|
|
|
15615
15741
|
|
|
15742
|
+
|
|
15616
15743
|
<div class="doc doc-children">
|
|
15617
15744
|
|
|
15618
15745
|
|
|
@@ -15635,7 +15762,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15635
15762
|
|
|
15636
15763
|
<div class="doc doc-contents ">
|
|
15637
15764
|
<p class="doc doc-class-bases">
|
|
15638
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.TestCase" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
15765
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.TestCase (nautobot.core.testing.views.TestCase)" href="#nautobot.apps.testing.TestCase">TestCase</a></code></p>
|
|
15639
15766
|
|
|
15640
15767
|
|
|
15641
15768
|
<p>Base class for testing of the OpenAPI schema.</p>
|
|
@@ -15648,6 +15775,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15648
15775
|
|
|
15649
15776
|
|
|
15650
15777
|
|
|
15778
|
+
|
|
15651
15779
|
<div class="doc doc-children">
|
|
15652
15780
|
|
|
15653
15781
|
|
|
@@ -15671,6 +15799,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15671
15799
|
|
|
15672
15800
|
<p>Test method to assert that this polymorphic component has the expected permitted types.</p>
|
|
15673
15801
|
|
|
15802
|
+
|
|
15674
15803
|
</div>
|
|
15675
15804
|
|
|
15676
15805
|
</div>
|
|
@@ -15688,6 +15817,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15688
15817
|
|
|
15689
15818
|
<p>Test method to assert that the given component property is marked as non-nullable.</p>
|
|
15690
15819
|
|
|
15820
|
+
|
|
15691
15821
|
</div>
|
|
15692
15822
|
|
|
15693
15823
|
</div>
|
|
@@ -15705,6 +15835,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15705
15835
|
|
|
15706
15836
|
<p>Test method to assert that the given component property is not marked as read-only.</p>
|
|
15707
15837
|
|
|
15838
|
+
|
|
15708
15839
|
</div>
|
|
15709
15840
|
|
|
15710
15841
|
</div>
|
|
@@ -15722,6 +15853,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15722
15853
|
|
|
15723
15854
|
<p>Test method to assert that the given component property is marked as nullable.</p>
|
|
15724
15855
|
|
|
15856
|
+
|
|
15725
15857
|
</div>
|
|
15726
15858
|
|
|
15727
15859
|
</div>
|
|
@@ -15739,6 +15871,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15739
15871
|
|
|
15740
15872
|
<p>Test method to assert that the given component property is marked as read-only.</p>
|
|
15741
15873
|
|
|
15874
|
+
|
|
15742
15875
|
</div>
|
|
15743
15876
|
|
|
15744
15877
|
</div>
|
|
@@ -15756,6 +15889,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15756
15889
|
|
|
15757
15890
|
<p>Helper method to pull a specific component schema from the larger OpenAPI schema already loaded.</p>
|
|
15758
15891
|
|
|
15892
|
+
|
|
15759
15893
|
</div>
|
|
15760
15894
|
|
|
15761
15895
|
</div>
|
|
@@ -15773,6 +15907,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15773
15907
|
|
|
15774
15908
|
<p>Helper method to identify a component referenced by the given property of the current component.</p>
|
|
15775
15909
|
|
|
15910
|
+
|
|
15776
15911
|
</div>
|
|
15777
15912
|
|
|
15778
15913
|
</div>
|
|
@@ -15790,6 +15925,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15790
15925
|
|
|
15791
15926
|
<p>Helper method to pull a specific property schema from a larger component schema already extracted.</p>
|
|
15792
15927
|
|
|
15928
|
+
|
|
15793
15929
|
</div>
|
|
15794
15930
|
|
|
15795
15931
|
</div>
|
|
@@ -15825,7 +15961,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15825
15961
|
<tbody>
|
|
15826
15962
|
<tr class="doc-section-item">
|
|
15827
15963
|
<td>
|
|
15828
|
-
<code>Tuple[ref_component_name
|
|
15964
|
+
<code><span title="Tuple">Tuple</span>[<span title="ref_component_name">ref_component_name</span>, <span title="ref_component_schema">ref_component_schema</span>]</code>
|
|
15829
15965
|
</td>
|
|
15830
15966
|
<td>
|
|
15831
15967
|
<div class="doc-md-description">
|
|
@@ -15836,6 +15972,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15836
15972
|
</tbody>
|
|
15837
15973
|
</table>
|
|
15838
15974
|
|
|
15975
|
+
|
|
15839
15976
|
</div>
|
|
15840
15977
|
|
|
15841
15978
|
</div>
|
|
@@ -15870,7 +16007,7 @@ helps to protect us against issues like https://github.com/nautobot/nautobot/iss
|
|
|
15870
16007
|
|
|
15871
16008
|
<div class="doc doc-contents ">
|
|
15872
16009
|
<p class="doc doc-class-bases">
|
|
15873
|
-
Bases: <code><span title="django.contrib.staticfiles.testing.StaticLiveServerTestCase">StaticLiveServerTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
16010
|
+
Bases: <code><span title="django.contrib.staticfiles.testing.StaticLiveServerTestCase">StaticLiveServerTestCase</span></code>, <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code></p>
|
|
15874
16011
|
|
|
15875
16012
|
|
|
15876
16013
|
<p>Base test case for Splinter Selenium integration testing with custom helper methods.</p>
|
|
@@ -15885,6 +16022,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15885
16022
|
|
|
15886
16023
|
|
|
15887
16024
|
|
|
16025
|
+
|
|
15888
16026
|
<div class="doc doc-children">
|
|
15889
16027
|
|
|
15890
16028
|
|
|
@@ -15908,6 +16046,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15908
16046
|
|
|
15909
16047
|
<p>Helper function to click the "Create" button on a form.</p>
|
|
15910
16048
|
|
|
16049
|
+
|
|
15911
16050
|
</div>
|
|
15912
16051
|
|
|
15913
16052
|
</div>
|
|
@@ -15925,6 +16064,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15925
16064
|
|
|
15926
16065
|
<p>Helper function to click the "Add" button on a list view.</p>
|
|
15927
16066
|
|
|
16067
|
+
|
|
15928
16068
|
</div>
|
|
15929
16069
|
|
|
15930
16070
|
</div>
|
|
@@ -15942,6 +16082,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15942
16082
|
|
|
15943
16083
|
<p>Helper function to click on a parent menu and child menu in the navigation bar.</p>
|
|
15944
16084
|
|
|
16085
|
+
|
|
15945
16086
|
</div>
|
|
15946
16087
|
|
|
15947
16088
|
</div>
|
|
@@ -15959,6 +16100,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15959
16100
|
|
|
15960
16101
|
<p>Helper function to fill a Select2 single selection field on filters modals.</p>
|
|
15961
16102
|
|
|
16103
|
+
|
|
15962
16104
|
</div>
|
|
15963
16105
|
|
|
15964
16106
|
</div>
|
|
@@ -15976,6 +16118,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15976
16118
|
|
|
15977
16119
|
<p>Helper function to fill a Select2 single selection field on add/edit forms.</p>
|
|
15978
16120
|
|
|
16121
|
+
|
|
15979
16122
|
</div>
|
|
15980
16123
|
|
|
15981
16124
|
</div>
|
|
@@ -15993,6 +16136,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
15993
16136
|
|
|
15994
16137
|
<p>Helper function to fill a Select2 multi-selection field.</p>
|
|
15995
16138
|
|
|
16139
|
+
|
|
15996
16140
|
</div>
|
|
15997
16141
|
|
|
15998
16142
|
</div>
|
|
@@ -16010,6 +16154,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16010
16154
|
|
|
16011
16155
|
<p>Navigate to <code>login_url</code> and perform a login w/ the provided <code>username</code> and <code>password</code>.</p>
|
|
16012
16156
|
|
|
16157
|
+
|
|
16013
16158
|
</div>
|
|
16014
16159
|
|
|
16015
16160
|
</div>
|
|
@@ -16031,6 +16176,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16031
16176
|
|
|
16032
16177
|
<p>Close down the browser after tests are ran.</p>
|
|
16033
16178
|
|
|
16179
|
+
|
|
16034
16180
|
</div>
|
|
16035
16181
|
|
|
16036
16182
|
</div>
|
|
@@ -16056,7 +16202,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16056
16202
|
|
|
16057
16203
|
<div class="doc doc-contents ">
|
|
16058
16204
|
<p class="doc doc-class-bases">
|
|
16059
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
16205
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TestCase">TestCase</span></code></p>
|
|
16060
16206
|
|
|
16061
16207
|
|
|
16062
16208
|
<p>Base class for all Nautobot-specific unit tests.</p>
|
|
@@ -16069,6 +16215,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16069
16215
|
|
|
16070
16216
|
|
|
16071
16217
|
|
|
16218
|
+
|
|
16072
16219
|
<div class="doc doc-children">
|
|
16073
16220
|
|
|
16074
16221
|
|
|
@@ -16092,6 +16239,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16092
16239
|
|
|
16093
16240
|
<p>Initialize user and client.</p>
|
|
16094
16241
|
|
|
16242
|
+
|
|
16095
16243
|
</div>
|
|
16096
16244
|
|
|
16097
16245
|
</div>
|
|
@@ -16117,7 +16265,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16117
16265
|
|
|
16118
16266
|
<div class="doc doc-contents ">
|
|
16119
16267
|
<p class="doc doc-class-bases">
|
|
16120
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.mixins.NautobotTestCaseMixin" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TransactionTestCase">TransactionTestCase</span></code></p>
|
|
16268
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.NautobotTestCaseMixin (nautobot.core.testing.mixins.NautobotTestCaseMixin)" href="#nautobot.apps.testing.NautobotTestCaseMixin">NautobotTestCaseMixin</a></code>, <code><span title="django.test.TransactionTestCase">TransactionTestCase</span></code></p>
|
|
16121
16269
|
|
|
16122
16270
|
|
|
16123
16271
|
<p>Base test case class using the TransactionTestCase for unit testing</p>
|
|
@@ -16130,6 +16278,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16130
16278
|
|
|
16131
16279
|
|
|
16132
16280
|
|
|
16281
|
+
|
|
16133
16282
|
<div class="doc doc-children">
|
|
16134
16283
|
|
|
16135
16284
|
|
|
@@ -16155,6 +16304,7 @@ so there is no need to run <code>collectstatic</code> prior to running tests.</p
|
|
|
16155
16304
|
<p>django.test.TransactionTestCase truncates the database after each test runs. We need at least the default
|
|
16156
16305
|
statuses present in the database in order to run tests.</p>
|
|
16157
16306
|
|
|
16307
|
+
|
|
16158
16308
|
</div>
|
|
16159
16309
|
|
|
16160
16310
|
</div>
|
|
@@ -16191,6 +16341,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16191
16341
|
|
|
16192
16342
|
|
|
16193
16343
|
|
|
16344
|
+
|
|
16194
16345
|
<div class="doc doc-children">
|
|
16195
16346
|
|
|
16196
16347
|
|
|
@@ -16213,7 +16364,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16213
16364
|
|
|
16214
16365
|
<div class="doc doc-contents ">
|
|
16215
16366
|
<p class="doc doc-class-bases">
|
|
16216
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16367
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16217
16368
|
|
|
16218
16369
|
|
|
16219
16370
|
<p>Delete multiple instances.</p>
|
|
@@ -16226,6 +16377,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16226
16377
|
|
|
16227
16378
|
|
|
16228
16379
|
|
|
16380
|
+
|
|
16229
16381
|
<div class="doc doc-children">
|
|
16230
16382
|
|
|
16231
16383
|
|
|
@@ -16251,6 +16403,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16251
16403
|
<p>For some models this may just be any random objects, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
16252
16404
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
16253
16405
|
|
|
16406
|
+
|
|
16254
16407
|
</div>
|
|
16255
16408
|
|
|
16256
16409
|
</div>
|
|
@@ -16276,7 +16429,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16276
16429
|
|
|
16277
16430
|
<div class="doc doc-contents ">
|
|
16278
16431
|
<p class="doc doc-class-bases">
|
|
16279
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16432
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16280
16433
|
|
|
16281
16434
|
|
|
16282
16435
|
<p>Edit multiple instances.</p>
|
|
@@ -16291,6 +16444,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16291
16444
|
|
|
16292
16445
|
|
|
16293
16446
|
|
|
16447
|
+
|
|
16294
16448
|
<div class="doc doc-children">
|
|
16295
16449
|
|
|
16296
16450
|
|
|
@@ -16314,6 +16468,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16314
16468
|
|
|
16315
16469
|
<p>Assert that "set null" fields on the bulk-edit form are correctly passed through to the job.</p>
|
|
16316
16470
|
|
|
16471
|
+
|
|
16317
16472
|
</div>
|
|
16318
16473
|
|
|
16319
16474
|
</div>
|
|
@@ -16339,7 +16494,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16339
16494
|
|
|
16340
16495
|
<div class="doc doc-contents ">
|
|
16341
16496
|
<p class="doc doc-class-bases">
|
|
16342
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16497
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16343
16498
|
|
|
16344
16499
|
|
|
16345
16500
|
<p>Rename multiple instances.</p>
|
|
@@ -16352,6 +16507,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16352
16507
|
|
|
16353
16508
|
|
|
16354
16509
|
|
|
16510
|
+
|
|
16355
16511
|
<div class="doc doc-children">
|
|
16356
16512
|
|
|
16357
16513
|
|
|
@@ -16383,7 +16539,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16383
16539
|
|
|
16384
16540
|
<div class="doc doc-contents ">
|
|
16385
16541
|
<p class="doc doc-class-bases">
|
|
16386
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16542
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16387
16543
|
|
|
16388
16544
|
|
|
16389
16545
|
<p>Create multiple instances using a single form. Expects the creation of three new instances by default.</p>
|
|
@@ -16398,6 +16554,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16398
16554
|
|
|
16399
16555
|
|
|
16400
16556
|
|
|
16557
|
+
|
|
16401
16558
|
<div class="doc doc-children">
|
|
16402
16559
|
|
|
16403
16560
|
|
|
@@ -16429,7 +16586,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16429
16586
|
|
|
16430
16587
|
<div class="doc doc-contents ">
|
|
16431
16588
|
<p class="doc doc-class-bases">
|
|
16432
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16589
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16433
16590
|
|
|
16434
16591
|
|
|
16435
16592
|
<p>Create a single new instance.</p>
|
|
@@ -16443,6 +16600,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16443
16600
|
|
|
16444
16601
|
|
|
16445
16602
|
|
|
16603
|
+
|
|
16446
16604
|
<div class="doc doc-children">
|
|
16447
16605
|
|
|
16448
16606
|
|
|
@@ -16474,7 +16632,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16474
16632
|
|
|
16475
16633
|
<div class="doc doc-contents ">
|
|
16476
16634
|
<p class="doc doc-class-bases">
|
|
16477
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16635
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16478
16636
|
|
|
16479
16637
|
|
|
16480
16638
|
<p>Delete a single instance.</p>
|
|
@@ -16487,6 +16645,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16487
16645
|
|
|
16488
16646
|
|
|
16489
16647
|
|
|
16648
|
+
|
|
16490
16649
|
<div class="doc doc-children">
|
|
16491
16650
|
|
|
16492
16651
|
|
|
@@ -16512,6 +16671,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16512
16671
|
<p>For some models this may just be any random object, but when we have FKs with <code>on_delete=models.PROTECT</code>
|
|
16513
16672
|
(as is often the case) we need to find or create an instance that doesn't have such entanglements.</p>
|
|
16514
16673
|
|
|
16674
|
+
|
|
16515
16675
|
</div>
|
|
16516
16676
|
|
|
16517
16677
|
</div>
|
|
@@ -16537,7 +16697,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16537
16697
|
|
|
16538
16698
|
<div class="doc doc-contents ">
|
|
16539
16699
|
<p class="doc doc-class-bases">
|
|
16540
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16700
|
+
Bases: <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateMultipleObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkRenameObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16541
16701
|
|
|
16542
16702
|
|
|
16543
16703
|
<p>TestCase suitable for testing device component template models (ConsolePortTemplates, InterfaceTemplates, etc.)</p>
|
|
@@ -16550,6 +16710,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16550
16710
|
|
|
16551
16711
|
|
|
16552
16712
|
|
|
16713
|
+
|
|
16553
16714
|
<div class="doc doc-children">
|
|
16554
16715
|
|
|
16555
16716
|
|
|
@@ -16581,7 +16742,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16581
16742
|
|
|
16582
16743
|
<div class="doc doc-contents ">
|
|
16583
16744
|
<p class="doc doc-class-bases">
|
|
16584
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16745
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateMultipleObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateMultipleObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateMultipleObjectsViewTestCase">CreateMultipleObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkRenameObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkRenameObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkRenameObjectsViewTestCase">BulkRenameObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16585
16746
|
|
|
16586
16747
|
|
|
16587
16748
|
<p>TestCase suitable for testing device component models (ConsolePorts, Interfaces, etc.)</p>
|
|
@@ -16594,6 +16755,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16594
16755
|
|
|
16595
16756
|
|
|
16596
16757
|
|
|
16758
|
+
|
|
16597
16759
|
<div class="doc doc-children">
|
|
16598
16760
|
|
|
16599
16761
|
|
|
@@ -16620,6 +16782,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16620
16782
|
<div class="doc doc-contents ">
|
|
16621
16783
|
|
|
16622
16784
|
<p>Used for bulk-add (distinct from bulk-create) view testing; self.bulk_create_data will be used if unset.</p>
|
|
16785
|
+
|
|
16623
16786
|
</div>
|
|
16624
16787
|
|
|
16625
16788
|
</div>
|
|
@@ -16639,6 +16802,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16639
16802
|
|
|
16640
16803
|
<p>Test bulk-adding this component to devices/virtual-machines.</p>
|
|
16641
16804
|
|
|
16805
|
+
|
|
16642
16806
|
</div>
|
|
16643
16807
|
|
|
16644
16808
|
</div>
|
|
@@ -16664,7 +16828,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16664
16828
|
|
|
16665
16829
|
<div class="doc doc-contents ">
|
|
16666
16830
|
<p class="doc doc-class-bases">
|
|
16667
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16831
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16668
16832
|
|
|
16669
16833
|
|
|
16670
16834
|
<p>Edit a single existing instance.</p>
|
|
@@ -16679,6 +16843,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16679
16843
|
|
|
16680
16844
|
|
|
16681
16845
|
|
|
16846
|
+
|
|
16682
16847
|
<div class="doc doc-children">
|
|
16683
16848
|
|
|
16684
16849
|
|
|
@@ -16710,7 +16875,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16710
16875
|
|
|
16711
16876
|
<div class="doc doc-contents ">
|
|
16712
16877
|
<p class="doc doc-class-bases">
|
|
16713
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16878
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16714
16879
|
|
|
16715
16880
|
|
|
16716
16881
|
<p>View the changelog for an instance.</p>
|
|
@@ -16723,6 +16888,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16723
16888
|
|
|
16724
16889
|
|
|
16725
16890
|
|
|
16891
|
+
|
|
16726
16892
|
<div class="doc doc-children">
|
|
16727
16893
|
|
|
16728
16894
|
|
|
@@ -16754,7 +16920,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16754
16920
|
|
|
16755
16921
|
<div class="doc doc-contents ">
|
|
16756
16922
|
<p class="doc doc-class-bases">
|
|
16757
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16923
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16758
16924
|
|
|
16759
16925
|
|
|
16760
16926
|
<p>View the notes for an instance.</p>
|
|
@@ -16767,6 +16933,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16767
16933
|
|
|
16768
16934
|
|
|
16769
16935
|
|
|
16936
|
+
|
|
16770
16937
|
<div class="doc doc-children">
|
|
16771
16938
|
|
|
16772
16939
|
|
|
@@ -16798,7 +16965,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16798
16965
|
|
|
16799
16966
|
<div class="doc doc-contents ">
|
|
16800
16967
|
<p class="doc doc-class-bases">
|
|
16801
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16968
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16802
16969
|
|
|
16803
16970
|
|
|
16804
16971
|
<p>Retrieve a single instance.</p>
|
|
@@ -16811,6 +16978,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16811
16978
|
|
|
16812
16979
|
|
|
16813
16980
|
|
|
16981
|
+
|
|
16814
16982
|
<div class="doc doc-children">
|
|
16815
16983
|
|
|
16816
16984
|
|
|
@@ -16842,7 +17010,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16842
17010
|
|
|
16843
17011
|
<div class="doc doc-contents ">
|
|
16844
17012
|
<p class="doc doc-class-bases">
|
|
16845
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ModelViewTestCase" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
17013
|
+
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.apps.testing.ModelViewTestCase (nautobot.core.testing.views.ModelViewTestCase)" href="#nautobot.apps.testing.ModelViewTestCase">ModelViewTestCase</a></code></p>
|
|
16846
17014
|
|
|
16847
17015
|
|
|
16848
17016
|
<p>Retrieve multiple instances.</p>
|
|
@@ -16855,6 +17023,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16855
17023
|
|
|
16856
17024
|
|
|
16857
17025
|
|
|
17026
|
+
|
|
16858
17027
|
<div class="doc doc-children">
|
|
16859
17028
|
|
|
16860
17029
|
|
|
@@ -16878,6 +17047,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16878
17047
|
|
|
16879
17048
|
<p>Verify that without STRICT_FILTERING, an unknown filter is ignored.</p>
|
|
16880
17049
|
|
|
17050
|
+
|
|
16881
17051
|
</div>
|
|
16882
17052
|
|
|
16883
17053
|
</div>
|
|
@@ -16895,6 +17065,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16895
17065
|
|
|
16896
17066
|
<p>Verify that with STRICT_FILTERING, an unknown filter results in an error message and no matches.</p>
|
|
16897
17067
|
|
|
17068
|
+
|
|
16898
17069
|
</div>
|
|
16899
17070
|
|
|
16900
17071
|
</div>
|
|
@@ -16912,6 +17083,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16912
17083
|
|
|
16913
17084
|
<p>If example app is installed, check if the app banner is rendered correctly in ObjectListView.</p>
|
|
16914
17085
|
|
|
17086
|
+
|
|
16915
17087
|
</div>
|
|
16916
17088
|
|
|
16917
17089
|
</div>
|
|
@@ -16937,7 +17109,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16937
17109
|
|
|
16938
17110
|
<div class="doc doc-contents ">
|
|
16939
17111
|
<p class="doc doc-class-bases">
|
|
16940
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
17112
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16941
17113
|
|
|
16942
17114
|
|
|
16943
17115
|
<p>TestCase suitable for all organizational objects</p>
|
|
@@ -16950,6 +17122,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16950
17122
|
|
|
16951
17123
|
|
|
16952
17124
|
|
|
17125
|
+
|
|
16953
17126
|
<div class="doc doc-children">
|
|
16954
17127
|
|
|
16955
17128
|
|
|
@@ -16981,7 +17154,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16981
17154
|
|
|
16982
17155
|
<div class="doc doc-contents ">
|
|
16983
17156
|
<p class="doc doc-class-bases">
|
|
16984
|
-
Bases: <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
17157
|
+
Bases: <code><a class="autorefs autorefs-internal" title="GetObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectViewTestCase">GetObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectChangelogViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectChangelogViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectChangelogViewTestCase">GetObjectChangelogViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="GetObjectNotesViewTestCase (nautobot.core.testing.views.ViewTestCases.GetObjectNotesViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.GetObjectNotesViewTestCase">GetObjectNotesViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="CreateObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.CreateObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.CreateObjectViewTestCase">CreateObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="EditObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.EditObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.EditObjectViewTestCase">EditObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="DeleteObjectViewTestCase (nautobot.core.testing.views.ViewTestCases.DeleteObjectViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.DeleteObjectViewTestCase">DeleteObjectViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="ListObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.ListObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.ListObjectsViewTestCase">ListObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkEditObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkEditObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkEditObjectsViewTestCase">BulkEditObjectsViewTestCase</a></code>, <code><a class="autorefs autorefs-internal" title="BulkDeleteObjectsViewTestCase (nautobot.core.testing.views.ViewTestCases.BulkDeleteObjectsViewTestCase)" href="#nautobot.apps.testing.ViewTestCases.BulkDeleteObjectsViewTestCase">BulkDeleteObjectsViewTestCase</a></code></p>
|
|
16985
17158
|
|
|
16986
17159
|
|
|
16987
17160
|
<p>TestCase suitable for testing all standard View functions for primary objects</p>
|
|
@@ -16994,6 +17167,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
16994
17167
|
|
|
16995
17168
|
|
|
16996
17169
|
|
|
17170
|
+
|
|
16997
17171
|
<div class="doc doc-children">
|
|
16998
17172
|
|
|
16999
17173
|
|
|
@@ -17035,6 +17209,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17035
17209
|
|
|
17036
17210
|
<p>Test helper function to call get_job_class_and_model() then call run_job_for_testing().</p>
|
|
17037
17211
|
|
|
17212
|
+
|
|
17038
17213
|
</div>
|
|
17039
17214
|
|
|
17040
17215
|
</div>
|
|
@@ -17052,6 +17227,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17052
17227
|
|
|
17053
17228
|
<p>Create a User with the given permissions.</p>
|
|
17054
17229
|
|
|
17230
|
+
|
|
17055
17231
|
</div>
|
|
17056
17232
|
|
|
17057
17233
|
</div>
|
|
@@ -17069,6 +17245,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17069
17245
|
|
|
17070
17246
|
<p>Temporarily suppress expected warning messages to keep the test output clean.</p>
|
|
17071
17247
|
|
|
17248
|
+
|
|
17072
17249
|
</div>
|
|
17073
17250
|
|
|
17074
17251
|
</div>
|
|
@@ -17086,6 +17263,7 @@ statuses present in the database in order to run tests.</p>
|
|
|
17086
17263
|
|
|
17087
17264
|
<p>Given decoded HTML content from an HTTP response, return a list of form errors.</p>
|
|
17088
17265
|
|
|
17266
|
+
|
|
17089
17267
|
</div>
|
|
17090
17268
|
|
|
17091
17269
|
</div>
|
|
@@ -17125,6 +17303,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17125
17303
|
</script></body>
|
|
17126
17304
|
</html>
|
|
17127
17305
|
|
|
17306
|
+
|
|
17128
17307
|
</div>
|
|
17129
17308
|
|
|
17130
17309
|
</div>
|
|
@@ -17142,6 +17321,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17142
17321
|
|
|
17143
17322
|
<p>For testing purposes only; it returns a random string of size 100 consisting of letters and numbers.</p>
|
|
17144
17323
|
|
|
17324
|
+
|
|
17145
17325
|
</div>
|
|
17146
17326
|
|
|
17147
17327
|
</div>
|
|
@@ -17159,6 +17339,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17159
17339
|
|
|
17160
17340
|
<p>Returns a subset of objects in the given queryset that have no protected relationships that would prevent deletion.</p>
|
|
17161
17341
|
|
|
17342
|
+
|
|
17162
17343
|
</div>
|
|
17163
17344
|
|
|
17164
17345
|
</div>
|
|
@@ -17193,7 +17374,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17193
17374
|
<code>module</code>
|
|
17194
17375
|
</td>
|
|
17195
17376
|
<td>
|
|
17196
|
-
<code>str</code>
|
|
17377
|
+
<code><span title="str">str</span></code>
|
|
17197
17378
|
</td>
|
|
17198
17379
|
<td>
|
|
17199
17380
|
<div class="doc-md-description">
|
|
@@ -17209,7 +17390,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17209
17390
|
<code>name</code>
|
|
17210
17391
|
</td>
|
|
17211
17392
|
<td>
|
|
17212
|
-
<code>str</code>
|
|
17393
|
+
<code><span title="str">str</span></code>
|
|
17213
17394
|
</td>
|
|
17214
17395
|
<td>
|
|
17215
17396
|
<div class="doc-md-description">
|
|
@@ -17225,7 +17406,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17225
17406
|
<code>source</code>
|
|
17226
17407
|
</td>
|
|
17227
17408
|
<td>
|
|
17228
|
-
<code>str</code>
|
|
17409
|
+
<code><span title="str">str</span></code>
|
|
17229
17410
|
</td>
|
|
17230
17411
|
<td>
|
|
17231
17412
|
<div class="doc-md-description">
|
|
@@ -17262,6 +17443,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17262
17443
|
</tbody>
|
|
17263
17444
|
</table>
|
|
17264
17445
|
|
|
17446
|
+
|
|
17265
17447
|
</div>
|
|
17266
17448
|
|
|
17267
17449
|
</div>
|
|
@@ -17279,6 +17461,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17279
17461
|
|
|
17280
17462
|
<p>Take a dictionary of test data (suitable for comparison to an instance) and return a dict suitable for POSTing.</p>
|
|
17281
17463
|
|
|
17464
|
+
|
|
17282
17465
|
</div>
|
|
17283
17466
|
|
|
17284
17467
|
</div>
|
|
@@ -17329,7 +17512,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17329
17512
|
<code>username</code>
|
|
17330
17513
|
</td>
|
|
17331
17514
|
<td>
|
|
17332
|
-
<code>str</code>
|
|
17515
|
+
<code><span title="str">str</span></code>
|
|
17333
17516
|
</td>
|
|
17334
17517
|
<td>
|
|
17335
17518
|
<div class="doc-md-description">
|
|
@@ -17345,7 +17528,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17345
17528
|
<code>profile</code>
|
|
17346
17529
|
</td>
|
|
17347
17530
|
<td>
|
|
17348
|
-
<code>bool</code>
|
|
17531
|
+
<code><span title="bool">bool</span></code>
|
|
17349
17532
|
</td>
|
|
17350
17533
|
<td>
|
|
17351
17534
|
<div class="doc-md-description">
|
|
@@ -17373,7 +17556,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17373
17556
|
<tr class="doc-section-item">
|
|
17374
17557
|
<td><code>**kwargs</code></td>
|
|
17375
17558
|
<td>
|
|
17376
|
-
<code>any</code>
|
|
17559
|
+
<code><span title="any">any</span></code>
|
|
17377
17560
|
</td>
|
|
17378
17561
|
<td>
|
|
17379
17562
|
<div class="doc-md-description">
|
|
@@ -17407,6 +17590,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17407
17590
|
</tbody>
|
|
17408
17591
|
</table>
|
|
17409
17592
|
|
|
17593
|
+
|
|
17410
17594
|
</div>
|
|
17411
17595
|
|
|
17412
17596
|
</div>
|
|
@@ -17514,7 +17698,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17514
17698
|
|
|
17515
17699
|
|
|
17516
17700
|
<a href="https://blog.networktocode.com/blog/tags/nautobot" target="_blank" rel="noopener" title="Network to Code Blog" class="md-social__link">
|
|
17517
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
17701
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M0 64c0-17.7 14.3-32 32-32 229.8 0 416 186.2 416 416 0 17.7-14.3 32-32 32s-32-14.3-32-32C384 253.6 226.4 96 32 96 14.3 96 0 81.7 0 64m0 352a64 64 0 1 1 128 0 64 64 0 1 1-128 0m32-256c159.1 0 288 128.9 288 288 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-123.7-100.3-224-224-224-17.7 0-32-14.3-32-32s14.3-32 32-32"/></svg>
|
|
17518
17702
|
</a>
|
|
17519
17703
|
|
|
17520
17704
|
|
|
@@ -17522,7 +17706,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17522
17706
|
|
|
17523
17707
|
|
|
17524
17708
|
<a href="https://www.youtube.com/playlist?list=PLjA0bhxgryJ2Ts4GJMDA-tPzVWEncv4pb" target="_blank" rel="noopener" title="Nautobot Videos" class="md-social__link">
|
|
17525
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Free
|
|
17709
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M549.7 124.1c-6.2-23.7-24.8-42.3-48.3-48.6C458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5c-23.5 6.3-42 24.9-48.3 48.6C15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8C117.3 448 288.1 448 288.1 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6V175.2l142.7 81.2z"/></svg>
|
|
17526
17710
|
</a>
|
|
17527
17711
|
|
|
17528
17712
|
|
|
@@ -17530,7 +17714,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17530
17714
|
|
|
17531
17715
|
|
|
17532
17716
|
<a href="https://www.networktocode.com/community/" target="_blank" rel="noopener" title="Network to Code Community" class="md-social__link">
|
|
17533
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free
|
|
17717
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M94.1 315.1c0 25.9-21.2 47.1-47.1 47.1S0 341 0 315.1 21.2 268 47.1 268h47.1v47.1zm23.7 0c0-25.9 21.2-47.1 47.1-47.1s47.1 21.2 47.1 47.1v117.8c0 25.9-21.2 47.1-47.1 47.1s-47.1-21.2-47.1-47.1zm47.1-189c-25.9 0-47.1-21.2-47.1-47.1s21.2-47 47.1-47S212 53.2 212 79.1v47.1h-47.1zm0 23.7c25.9 0 47.1 21.2 47.1 47.1S190.8 244 164.9 244H47.1C21.2 244 0 222.8 0 196.9s21.2-47.1 47.1-47.1zm189 47.1c0-25.9 21.2-47.1 47.1-47.1s47 21.2 47 47.1-21.2 47.1-47.1 47.1h-47.1v-47.1zm-23.7 0c0 25.9-21.2 47.1-47.1 47.1S236 222.8 236 196.9V79.1c0-25.9 21.2-47.1 47.1-47.1s47.1 21.2 47.1 47.1zm-47.1 189c25.9 0 47.1 21.2 47.1 47.1s-21.2 47-47.1 47-47.1-21.2-47.1-47.1v-47.1h47.1zm0-23.7c-25.9 0-47.1-21.2-47.1-47.1s21.2-47.1 47.1-47.1h117.8c25.9 0 47.1 21.2 47.1 47.1s-21.2 47.1-47.1 47.1z"/></svg>
|
|
17534
17718
|
</a>
|
|
17535
17719
|
|
|
17536
17720
|
|
|
@@ -17538,7 +17722,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17538
17722
|
|
|
17539
17723
|
|
|
17540
17724
|
<a href="https://github.com/nautobot/nautobot" target="_blank" rel="noopener" title="GitHub Repo" class="md-social__link">
|
|
17541
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0
|
|
17725
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M173.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M252.8 8C114.1 8 8 113.3 8 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C436.2 457.8 504 362.9 504 252 504 113.3 391.5 8 252.8 8M105.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
|
|
17542
17726
|
</a>
|
|
17543
17727
|
|
|
17544
17728
|
|
|
@@ -17546,7 +17730,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17546
17730
|
|
|
17547
17731
|
|
|
17548
17732
|
<a href="https://twitter.com/networktocode" target="_blank" rel="noopener" title="Network to Code Twitter" class="md-social__link">
|
|
17549
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free
|
|
17733
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M459.4 151.7c.3 4.5.3 9.1.3 13.6 0 138.7-105.6 298.6-298.6 298.6-59.5 0-114.7-17.2-161.1-47.1 8.4 1 16.6 1.3 25.3 1.3 49.1 0 94.2-16.6 130.3-44.8-46.1-1-84.8-31.2-98.1-72.8 6.5 1 13 1.6 19.8 1.6 9.4 0 18.8-1.3 27.6-3.6-48.1-9.7-84.1-52-84.1-103v-1.3c14 7.8 30.2 12.7 47.4 13.3-28.3-18.8-46.8-51-46.8-87.4 0-19.5 5.2-37.4 14.3-53C87.4 130.8 165 172.4 252.1 176.9c-1.6-7.8-2.6-15.9-2.6-24C249.5 95.1 296.3 48 354.4 48c30.2 0 57.5 12.7 76.7 33.1 23.7-4.5 46.5-13.3 66.6-25.3-7.8 24.4-24.4 44.8-46.1 57.8 21.1-2.3 41.6-8.1 60.4-16.2-14.3 20.8-32.2 39.3-52.6 54.3"/></svg>
|
|
17550
17734
|
</a>
|
|
17551
17735
|
|
|
17552
17736
|
</div>
|
|
@@ -17566,7 +17750,7 @@ document$.subscribe(() => { lightbox.reload() });
|
|
|
17566
17750
|
<script id="__config" type="application/json">{"base": "../../..", "features": ["content.code.annotate", "content.code.copy", "content.tabs.link", "navigation.footer", "navigation.tabs", "navigation.tabs.sticky", "navigation.tracking", "search.highlight", "search.share", "search.suggest"], "search": "../../../assets/javascripts/workers/search.d50fe291.min.js", "tags": null, "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}, "version": null}</script>
|
|
17567
17751
|
|
|
17568
17752
|
|
|
17569
|
-
<script src="../../../assets/javascripts/bundle.
|
|
17753
|
+
<script src="../../../assets/javascripts/bundle.50899def.min.js"></script>
|
|
17570
17754
|
|
|
17571
17755
|
|
|
17572
17756
|
</body>
|