nautobot 2.3.12__py3-none-any.whl → 2.3.14__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/circuits/tables.py +2 -1
- nautobot/core/api/serializers.py +1 -0
- nautobot/core/celery/log.py +4 -4
- nautobot/core/filters.py +2 -0
- nautobot/core/jobs/cleanup.py +47 -11
- nautobot/core/models/tree_queries.py +5 -2
- nautobot/core/settings.py +1 -1
- nautobot/core/tables.py +60 -10
- nautobot/core/templates/search.html +7 -0
- nautobot/core/templatetags/helpers.py +7 -1
- nautobot/core/testing/api.py +5 -1
- nautobot/core/testing/filters.py +20 -5
- nautobot/core/tests/test_api.py +20 -0
- nautobot/core/tests/test_csv.py +25 -3
- nautobot/core/tests/test_utils.py +8 -0
- nautobot/core/utils/lookup.py +11 -8
- nautobot/dcim/api/views.py +3 -0
- nautobot/dcim/filters/__init__.py +26 -1
- nautobot/dcim/forms.py +10 -5
- nautobot/dcim/models/devices.py +1 -0
- nautobot/dcim/tests/test_filters.py +33 -0
- nautobot/dcim/tests/test_forms.py +51 -2
- nautobot/dcim/tests/test_views.py +6 -0
- nautobot/extras/api/serializers.py +1 -0
- nautobot/extras/api/views.py +2 -0
- nautobot/extras/forms/forms.py +2 -0
- nautobot/extras/forms/mixins.py +10 -2
- nautobot/extras/group_sync.py +3 -3
- nautobot/extras/jobs.py +6 -4
- nautobot/extras/plugins/__init__.py +13 -2
- nautobot/extras/tests/test_views.py +2 -0
- nautobot/ipam/lookups.py +101 -62
- nautobot/ipam/models.py +62 -11
- nautobot/ipam/tables.py +20 -6
- nautobot/ipam/tests/test_api.py +68 -1
- nautobot/ipam/tests/test_models.py +41 -0
- nautobot/ipam/tests/test_querysets.py +49 -1
- nautobot/ipam/utils/__init__.py +24 -0
- nautobot/ipam/views.py +61 -68
- nautobot/project-static/docs/404.html +1 -1
- nautobot/project-static/docs/apps/index.html +1 -1
- nautobot/project-static/docs/apps/nautobot-apps.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/__init__.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/admin.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/api.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/change_logging.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/choices.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/config.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/constants.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/datasources.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/exceptions.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/factory.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/filters.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/forms.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/graphql.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/jobs.html +7 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/models.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/querysets.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/secrets.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/tables.html +197 -5
- nautobot/project-static/docs/code-reference/nautobot/apps/testing.html +2 -2
- nautobot/project-static/docs/code-reference/nautobot/apps/ui.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/urls.html +1 -1
- nautobot/project-static/docs/code-reference/nautobot/apps/utils.html +16 -2
- nautobot/project-static/docs/code-reference/nautobot/apps/views.html +1 -1
- nautobot/project-static/docs/development/apps/api/configuration-view.html +1 -1
- nautobot/project-static/docs/development/apps/api/database-backend-config.html +1 -1
- nautobot/project-static/docs/development/apps/api/models/django-admin.html +1 -1
- nautobot/project-static/docs/development/apps/api/models/global-search.html +1 -1
- nautobot/project-static/docs/development/apps/api/models/graphql.html +1 -1
- nautobot/project-static/docs/development/apps/api/models/index.html +1 -1
- nautobot/project-static/docs/development/apps/api/nautobot-app-config.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/custom-validators.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/filter-extensions.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/git-repository-content.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/index.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/jinja2-filters.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/jobs.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/populating-extensibility-features.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/secrets-providers.html +1 -1
- nautobot/project-static/docs/development/apps/api/platform-features/table-extensions.html +23 -4
- nautobot/project-static/docs/development/apps/api/platform-features/uniquely-identify-objects.html +1 -1
- nautobot/project-static/docs/development/apps/api/prometheus.html +1 -1
- nautobot/project-static/docs/development/apps/api/setup.html +1 -1
- nautobot/project-static/docs/development/apps/api/testing.html +1 -1
- nautobot/project-static/docs/development/apps/api/ui-extensions/banners.html +1 -1
- nautobot/project-static/docs/development/apps/api/ui-extensions/home-page.html +1 -1
- nautobot/project-static/docs/development/apps/api/ui-extensions/index.html +1 -1
- nautobot/project-static/docs/development/apps/api/ui-extensions/navigation.html +1 -1
- nautobot/project-static/docs/development/apps/api/ui-extensions/object-views.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/base-template.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/core-view-overrides.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/django-generic-views.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/help-documentation.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/index.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/nautobot-generic-views.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewset.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/nautobotuiviewsetrouter.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/notes.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/rest-api.html +1 -1
- nautobot/project-static/docs/development/apps/api/views/urls.html +1 -1
- nautobot/project-static/docs/development/apps/index.html +1 -1
- nautobot/project-static/docs/development/apps/migration/code-updates.html +1 -1
- nautobot/project-static/docs/development/apps/migration/dependency-updates.html +1 -1
- nautobot/project-static/docs/development/apps/migration/from-v1.html +1 -1
- nautobot/project-static/docs/development/apps/migration/model-updates/dcim.html +1 -1
- nautobot/project-static/docs/development/apps/migration/model-updates/extras.html +1 -1
- nautobot/project-static/docs/development/apps/migration/model-updates/global.html +1 -1
- nautobot/project-static/docs/development/apps/migration/model-updates/ipam.html +1 -1
- nautobot/project-static/docs/development/apps/porting-from-netbox.html +1 -1
- nautobot/project-static/docs/development/core/application-registry.html +1 -1
- nautobot/project-static/docs/development/core/best-practices.html +1 -1
- nautobot/project-static/docs/development/core/bootstrap-ui.html +1 -1
- nautobot/project-static/docs/development/core/caching.html +1 -1
- nautobot/project-static/docs/development/core/controllers.html +1 -1
- nautobot/project-static/docs/development/core/docker-compose-advanced-use-cases.html +1 -1
- nautobot/project-static/docs/development/core/generic-views.html +1 -1
- nautobot/project-static/docs/development/core/getting-started.html +154 -140
- nautobot/project-static/docs/development/core/homepage.html +1 -1
- nautobot/project-static/docs/development/core/index.html +1 -1
- nautobot/project-static/docs/development/core/model-checklist.html +1 -1
- nautobot/project-static/docs/development/core/model-features.html +1 -1
- nautobot/project-static/docs/development/core/natural-keys.html +1 -1
- nautobot/project-static/docs/development/core/navigation-menu.html +1 -1
- nautobot/project-static/docs/development/core/release-checklist.html +1 -1
- nautobot/project-static/docs/development/core/role-internals.html +1 -1
- nautobot/project-static/docs/development/core/settings.html +1 -1
- nautobot/project-static/docs/development/core/style-guide.html +1 -1
- nautobot/project-static/docs/development/core/templates.html +1 -1
- nautobot/project-static/docs/development/core/testing.html +1 -1
- nautobot/project-static/docs/development/core/user-preferences.html +1 -1
- nautobot/project-static/docs/development/index.html +1 -1
- nautobot/project-static/docs/development/jobs/index.html +142 -118
- nautobot/project-static/docs/development/jobs/migration/from-v1.html +1 -1
- nautobot/project-static/docs/index.html +1 -1
- nautobot/project-static/docs/objects.inv +0 -0
- nautobot/project-static/docs/overview/application_stack.html +1 -1
- nautobot/project-static/docs/overview/design_philosophy.html +1 -1
- nautobot/project-static/docs/release-notes/index.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.0.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.1.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.2.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.3.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.4.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.5.html +1 -1
- nautobot/project-static/docs/release-notes/version-1.6.html +614 -179
- nautobot/project-static/docs/release-notes/version-2.0.html +1 -1
- nautobot/project-static/docs/release-notes/version-2.1.html +1 -1
- nautobot/project-static/docs/release-notes/version-2.2.html +1 -1
- nautobot/project-static/docs/release-notes/version-2.3.html +553 -200
- nautobot/project-static/docs/requirements.txt +1 -1
- nautobot/project-static/docs/search/search_index.json +1 -1
- nautobot/project-static/docs/sitemap.xml +270 -270
- nautobot/project-static/docs/sitemap.xml.gz +0 -0
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/ldap.html +1 -1
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/remote.html +1 -1
- nautobot/project-static/docs/user-guide/administration/configuration/authentication/sso.html +3 -3
- nautobot/project-static/docs/user-guide/administration/configuration/index.html +1 -1
- nautobot/project-static/docs/user-guide/administration/configuration/redis.html +1 -1
- nautobot/project-static/docs/user-guide/administration/configuration/settings.html +1 -1
- nautobot/project-static/docs/user-guide/administration/configuration/time-zones.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/celery-queues.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/docker.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/health-checks.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/permissions.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/prometheus-metrics.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/replicating-nautobot.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/request-profiling.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/s3-django-storage.html +1 -1
- nautobot/project-static/docs/user-guide/administration/guides/selinux-troubleshooting.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/app-install.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/external-authentication.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/http-server.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/index.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/install_system.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/nautobot.html +1 -1
- nautobot/project-static/docs/user-guide/administration/installation/services.html +1 -1
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-netbox.html +1 -1
- nautobot/project-static/docs/user-guide/administration/migration/migrating-from-postgresql.html +1 -1
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-server.html +1 -1
- nautobot/project-static/docs/user-guide/administration/tools/nautobot-shell.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/database-backup.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/after-you-upgrade.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/before-you-upgrade.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/for-developers.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/index.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/ipam/whats-changed.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/region-and-site-data-migration-guide.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/from-v1/upgrading-from-nautobot-v1.html +1 -1
- nautobot/project-static/docs/user-guide/administration/upgrading/upgrading.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuit.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittermination.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/circuits/circuittype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/circuits/provider.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/circuits/providernetwork.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloud.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudaccount.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetwork.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudnetworkprefixassignment.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudresourcetype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservice.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/cloud/cloudservicenetworkassignment.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/cable.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleport.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverport.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/consoleserverporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controller.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/controllermanageddevicegroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/device.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebay.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicebaytemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicefamily.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/deviceredundancygroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/devicetype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontport.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/frontporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interface.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfaceredundancygroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/interfacetemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/inventoryitem.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/location.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/locationtype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/manufacturer.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/module.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebay.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/modulebaytemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/moduletype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/platform.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerfeed.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlet.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/poweroutlettemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerpanel.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerport.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/powerporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rack.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackgroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rackreservation.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearport.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/rearporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareimagefile.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/softwareversion.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/dcim/virtualchassis.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontext.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/extras/configcontextschema.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/extras/contact.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/extras/team.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/ipaddress.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/namespace.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/prefix.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/rir.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/routetarget.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/service.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlan.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vlangroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/ipam/vrf.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/overview/introduction.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenant.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/tenancy/tenantgroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/cluster.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustergroup.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/clustertype.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/virtualmachine.html +1 -1
- nautobot/project-static/docs/user-guide/core-data-model/virtualization/vminterface.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/contacts-and-teams.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/custom-fields.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-devices.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/creating-location-types-and-locations.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/index.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/interfaces.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/ipam.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/platforms.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/search-bar.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/tenants.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/getting-started/vlans-and-vlan-groups.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/git-data-source.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/graphql.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/ip-address-merge-tool.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/relationships.html +1 -1
- nautobot/project-static/docs/user-guide/feature-guides/software-image-files-and-versions.html +1 -1
- nautobot/project-static/docs/user-guide/index.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/change-logging.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/computedfield.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/customfield.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/customlink.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/dynamicgroup.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/exporttemplate.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/externalintegration.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/gitrepository.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/graphql.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/graphqlquery.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/imageattachment.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/index.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/job-scheduling-and-approvals.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobbutton.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/jobhook.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/jobs/models.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/napalm.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/note.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/objectmetadata.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/relationship.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/authentication.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/filtering.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/overview.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/rest-api/ui-related-endpoints.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/role.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/savedview.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/secret.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/staticgroupassociation.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/status.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/tag.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/template-filters.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/users/objectpermission.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/users/token.html +1 -1
- nautobot/project-static/docs/user-guide/platform-functionality/webhook.html +1 -1
- nautobot/users/api/serializers.py +1 -0
- nautobot/virtualization/filters.py +19 -2
- nautobot/virtualization/tests/test_filters.py +9 -0
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/METADATA +3 -3
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/RECORD +324 -324
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/LICENSE.txt +0 -0
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/NOTICE +0 -0
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/WHEEL +0 -0
- {nautobot-2.3.12.dist-info → nautobot-2.3.14.dist-info}/entry_points.txt +0 -0
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.48">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -7073,6 +7073,21 @@
|
|
|
7073
7073
|
</span>
|
|
7074
7074
|
</a>
|
|
7075
7075
|
|
|
7076
|
+
<nav class="md-nav" aria-label="BaseTable">
|
|
7077
|
+
<ul class="md-nav__list">
|
|
7078
|
+
|
|
7079
|
+
<li class="md-nav__item">
|
|
7080
|
+
<a href="#nautobot.apps.tables.BaseTable.__init__" class="md-nav__link">
|
|
7081
|
+
<span class="md-ellipsis">
|
|
7082
|
+
__init__
|
|
7083
|
+
</span>
|
|
7084
|
+
</a>
|
|
7085
|
+
|
|
7086
|
+
</li>
|
|
7087
|
+
|
|
7088
|
+
</ul>
|
|
7089
|
+
</nav>
|
|
7090
|
+
|
|
7076
7091
|
</li>
|
|
7077
7092
|
|
|
7078
7093
|
<li class="md-nav__item">
|
|
@@ -8812,6 +8827,21 @@
|
|
|
8812
8827
|
</span>
|
|
8813
8828
|
</a>
|
|
8814
8829
|
|
|
8830
|
+
<nav class="md-nav" aria-label="BaseTable">
|
|
8831
|
+
<ul class="md-nav__list">
|
|
8832
|
+
|
|
8833
|
+
<li class="md-nav__item">
|
|
8834
|
+
<a href="#nautobot.apps.tables.BaseTable.__init__" class="md-nav__link">
|
|
8835
|
+
<span class="md-ellipsis">
|
|
8836
|
+
__init__
|
|
8837
|
+
</span>
|
|
8838
|
+
</a>
|
|
8839
|
+
|
|
8840
|
+
</li>
|
|
8841
|
+
|
|
8842
|
+
</ul>
|
|
8843
|
+
</nav>
|
|
8844
|
+
|
|
8815
8845
|
</li>
|
|
8816
8846
|
|
|
8817
8847
|
<li class="md-nav__item">
|
|
@@ -9063,6 +9093,152 @@
|
|
|
9063
9093
|
|
|
9064
9094
|
|
|
9065
9095
|
|
|
9096
|
+
<div class="doc doc-object doc-function">
|
|
9097
|
+
|
|
9098
|
+
|
|
9099
|
+
<h3 id="nautobot.apps.tables.BaseTable.__init__" class="doc doc-heading">
|
|
9100
|
+
<code class="highlight language-python"><span class="fm">__init__</span><span class="p">(</span><span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="n">table_changes_pending</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">saved_view</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">user</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">hide_hierarchy_ui</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">order_by</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="n">data_transform_callback</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">)</span></code>
|
|
9101
|
+
|
|
9102
|
+
<a href="#nautobot.apps.tables.BaseTable.__init__" class="headerlink" title="Permanent link">¶</a></h3>
|
|
9103
|
+
|
|
9104
|
+
|
|
9105
|
+
<div class="doc doc-contents ">
|
|
9106
|
+
|
|
9107
|
+
<p>Instantiate a BaseTable.</p>
|
|
9108
|
+
|
|
9109
|
+
|
|
9110
|
+
<p><span class="doc-section-title">Parameters:</span></p>
|
|
9111
|
+
<table>
|
|
9112
|
+
<thead>
|
|
9113
|
+
<tr>
|
|
9114
|
+
<th>Name</th>
|
|
9115
|
+
<th>Type</th>
|
|
9116
|
+
<th>Description</th>
|
|
9117
|
+
<th>Default</th>
|
|
9118
|
+
</tr>
|
|
9119
|
+
</thead>
|
|
9120
|
+
<tbody>
|
|
9121
|
+
<tr class="doc-section-item">
|
|
9122
|
+
<td><code>*args</code></td>
|
|
9123
|
+
<td>
|
|
9124
|
+
<code><autoref identifier="list" optional>list</autoref></code>
|
|
9125
|
+
</td>
|
|
9126
|
+
<td>
|
|
9127
|
+
<div class="doc-md-description">
|
|
9128
|
+
<p>Passed through to django_tables2.Table</p>
|
|
9129
|
+
</div>
|
|
9130
|
+
</td>
|
|
9131
|
+
<td>
|
|
9132
|
+
<code>()</code>
|
|
9133
|
+
</td>
|
|
9134
|
+
</tr>
|
|
9135
|
+
<tr class="doc-section-item">
|
|
9136
|
+
<td><code>table_changes_pending</code></td>
|
|
9137
|
+
<td>
|
|
9138
|
+
<code><autoref identifier="bool" optional>bool</autoref></code>
|
|
9139
|
+
</td>
|
|
9140
|
+
<td>
|
|
9141
|
+
<div class="doc-md-description">
|
|
9142
|
+
<p>TODO</p>
|
|
9143
|
+
</div>
|
|
9144
|
+
</td>
|
|
9145
|
+
<td>
|
|
9146
|
+
<code>False</code>
|
|
9147
|
+
</td>
|
|
9148
|
+
</tr>
|
|
9149
|
+
<tr class="doc-section-item">
|
|
9150
|
+
<td><code>saved_view</code></td>
|
|
9151
|
+
<td>
|
|
9152
|
+
<code><autoref identifier="SavedView" optional>SavedView</autoref></code>
|
|
9153
|
+
</td>
|
|
9154
|
+
<td>
|
|
9155
|
+
<div class="doc-md-description">
|
|
9156
|
+
<p>TODO</p>
|
|
9157
|
+
</div>
|
|
9158
|
+
</td>
|
|
9159
|
+
<td>
|
|
9160
|
+
<code>None</code>
|
|
9161
|
+
</td>
|
|
9162
|
+
</tr>
|
|
9163
|
+
<tr class="doc-section-item">
|
|
9164
|
+
<td><code>user</code></td>
|
|
9165
|
+
<td>
|
|
9166
|
+
<code><autoref identifier="User" optional>User</autoref></code>
|
|
9167
|
+
</td>
|
|
9168
|
+
<td>
|
|
9169
|
+
<div class="doc-md-description">
|
|
9170
|
+
<p>TODO</p>
|
|
9171
|
+
</div>
|
|
9172
|
+
</td>
|
|
9173
|
+
<td>
|
|
9174
|
+
<code>None</code>
|
|
9175
|
+
</td>
|
|
9176
|
+
</tr>
|
|
9177
|
+
<tr class="doc-section-item">
|
|
9178
|
+
<td><code>hide_hierarchy_ui</code></td>
|
|
9179
|
+
<td>
|
|
9180
|
+
<code><autoref identifier="bool" optional>bool</autoref></code>
|
|
9181
|
+
</td>
|
|
9182
|
+
<td>
|
|
9183
|
+
<div class="doc-md-description">
|
|
9184
|
+
<p>Whether to display or hide hierarchy indentation of nested objects.</p>
|
|
9185
|
+
</div>
|
|
9186
|
+
</td>
|
|
9187
|
+
<td>
|
|
9188
|
+
<code>False</code>
|
|
9189
|
+
</td>
|
|
9190
|
+
</tr>
|
|
9191
|
+
<tr class="doc-section-item">
|
|
9192
|
+
<td><code>order_by</code></td>
|
|
9193
|
+
<td>
|
|
9194
|
+
<code><autoref identifier="list" optional>list</autoref></code>
|
|
9195
|
+
</td>
|
|
9196
|
+
<td>
|
|
9197
|
+
<div class="doc-md-description">
|
|
9198
|
+
<p>Field(s) to sort by</p>
|
|
9199
|
+
</div>
|
|
9200
|
+
</td>
|
|
9201
|
+
<td>
|
|
9202
|
+
<code>None</code>
|
|
9203
|
+
</td>
|
|
9204
|
+
</tr>
|
|
9205
|
+
<tr class="doc-section-item">
|
|
9206
|
+
<td><code>data_transform_callback</code></td>
|
|
9207
|
+
<td>
|
|
9208
|
+
<code><autoref identifier="function" optional>function</autoref></code>
|
|
9209
|
+
</td>
|
|
9210
|
+
<td>
|
|
9211
|
+
<div class="doc-md-description">
|
|
9212
|
+
<p>A function that takes the given <code>data</code> as an input and
|
|
9213
|
+
returns new data. Runs after all of the queryset auto-optimization performed by this class.
|
|
9214
|
+
Used for example in IPAM views to inject "fake" records for "available" Prefixes, IPAddresses, or VLANs.</p>
|
|
9215
|
+
</div>
|
|
9216
|
+
</td>
|
|
9217
|
+
<td>
|
|
9218
|
+
<code>None</code>
|
|
9219
|
+
</td>
|
|
9220
|
+
</tr>
|
|
9221
|
+
<tr class="doc-section-item">
|
|
9222
|
+
<td><code>**kwargs</code></td>
|
|
9223
|
+
<td>
|
|
9224
|
+
<code><autoref identifier="dict" optional>dict</autoref></code>
|
|
9225
|
+
</td>
|
|
9226
|
+
<td>
|
|
9227
|
+
<div class="doc-md-description">
|
|
9228
|
+
<p>Passed through to django_tables2.Table</p>
|
|
9229
|
+
</div>
|
|
9230
|
+
</td>
|
|
9231
|
+
<td>
|
|
9232
|
+
<code>{}</code>
|
|
9233
|
+
</td>
|
|
9234
|
+
</tr>
|
|
9235
|
+
</tbody>
|
|
9236
|
+
</table>
|
|
9237
|
+
|
|
9238
|
+
</div>
|
|
9239
|
+
|
|
9240
|
+
</div>
|
|
9241
|
+
|
|
9066
9242
|
|
|
9067
9243
|
|
|
9068
9244
|
</div>
|
|
@@ -9533,6 +9709,20 @@ If not specified, the first key in <code>url_params</code> will be implicitly us
|
|
|
9533
9709
|
<code>None</code>
|
|
9534
9710
|
</td>
|
|
9535
9711
|
</tr>
|
|
9712
|
+
<tr class="doc-section-item">
|
|
9713
|
+
<td><code>distinct</code></td>
|
|
9714
|
+
<td>
|
|
9715
|
+
<code><autoref identifier="bool" optional>bool</autoref></code>
|
|
9716
|
+
</td>
|
|
9717
|
+
<td>
|
|
9718
|
+
<div class="doc-md-description">
|
|
9719
|
+
<p>Parameter passed through to <code>count_related()</code>.</p>
|
|
9720
|
+
</div>
|
|
9721
|
+
</td>
|
|
9722
|
+
<td>
|
|
9723
|
+
<code>False</code>
|
|
9724
|
+
</td>
|
|
9725
|
+
</tr>
|
|
9536
9726
|
<tr class="doc-section-item">
|
|
9537
9727
|
<td><code>**kwargs</code></td>
|
|
9538
9728
|
<td>
|
|
@@ -9570,10 +9760,12 @@ If not specified, the first key in <code>url_params</code> will be implicitly us
|
|
|
9570
9760
|
<a id="__codelineno-1-7" name="__codelineno-1-7" href="#__codelineno-1-7"></a> <span class="c1"># We'd like to do the below but this module isn't currently smart enough to build the right Prefetch()</span>
|
|
9571
9761
|
<a id="__codelineno-1-8" name="__codelineno-1-8" href="#__codelineno-1-8"></a> <span class="c1"># for a nested lookup:</span>
|
|
9572
9762
|
<a id="__codelineno-1-9" name="__codelineno-1-9" href="#__codelineno-1-9"></a> <span class="c1"># lookup="circuit_terminations__circuit",</span>
|
|
9573
|
-
<a id="__codelineno-1-10" name="__codelineno-1-10" href="#__codelineno-1-10"></a> <span class="c1"># For the count
|
|
9574
|
-
<a id="__codelineno-1-11" name="__codelineno-1-11" href="#__codelineno-1-11"></a> <span class="
|
|
9575
|
-
<a id="__codelineno-1-12" name="__codelineno-1-12" href="#__codelineno-1-12"></a> <span class="n">
|
|
9576
|
-
<a id="__codelineno-1-13" name="__codelineno-1-13" href="#__codelineno-1-13"></a>
|
|
9763
|
+
<a id="__codelineno-1-10" name="__codelineno-1-10" href="#__codelineno-1-10"></a> <span class="c1"># For the count,</span>
|
|
9764
|
+
<a id="__codelineno-1-11" name="__codelineno-1-11" href="#__codelineno-1-11"></a> <span class="c1"># .annotate(circuit_count=count_related(Circuit, "circuit_terminations__cloud_network", distinct=True))</span>
|
|
9765
|
+
<a id="__codelineno-1-12" name="__codelineno-1-12" href="#__codelineno-1-12"></a> <span class="n">reverse_lookup</span><span class="o">=</span><span class="s2">"circuit_terminations__cloud_network"</span><span class="p">,</span>
|
|
9766
|
+
<a id="__codelineno-1-13" name="__codelineno-1-13" href="#__codelineno-1-13"></a> <span class="n">distinct</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
|
|
9767
|
+
<a id="__codelineno-1-14" name="__codelineno-1-14" href="#__codelineno-1-14"></a> <span class="n">verbose_name</span><span class="o">=</span><span class="s2">"Circuits"</span><span class="p">,</span>
|
|
9768
|
+
<a id="__codelineno-1-15" name="__codelineno-1-15" href="#__codelineno-1-15"></a> <span class="p">)</span>
|
|
9577
9769
|
</code></pre></div>
|
|
9578
9770
|
|
|
9579
9771
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.48">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -12961,7 +12961,7 @@ This expects a field named <code>devices</code> on the model and a filter named
|
|
|
12961
12961
|
|
|
12962
12962
|
<div class="doc doc-contents ">
|
|
12963
12963
|
|
|
12964
|
-
<p>Verify that the filterset supports filtering by id
|
|
12964
|
+
<p>Verify that the filterset supports filtering by id with only lookup <code>__n</code>.</p>
|
|
12965
12965
|
|
|
12966
12966
|
</div>
|
|
12967
12967
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.48">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -11961,7 +11961,7 @@ Supports both core and App routes.</p>
|
|
|
11961
11961
|
|
|
11962
11962
|
|
|
11963
11963
|
<h2 id="nautobot.apps.utils.get_table_for_model" class="doc doc-heading">
|
|
11964
|
-
<code class="highlight language-python"><span class="n">nautobot</span><span class="o">.</span><span class="n">apps</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">get_table_for_model</span><span class="p">(</span><span class="n">model</span><span class="p">)</span></code>
|
|
11964
|
+
<code class="highlight language-python"><span class="n">nautobot</span><span class="o">.</span><span class="n">apps</span><span class="o">.</span><span class="n">utils</span><span class="o">.</span><span class="n">get_table_for_model</span><span class="p">(</span><span class="n">model</span><span class="p">,</span> <span class="n">suffix</span><span class="o">=</span><span class="kc">None</span><span class="p">)</span></code>
|
|
11965
11965
|
|
|
11966
11966
|
<a href="#nautobot.apps.utils.get_table_for_model" class="headerlink" title="Permanent link">¶</a></h2>
|
|
11967
11967
|
|
|
@@ -11999,6 +11999,20 @@ associated with the model and its name is expected to be <code>{ModelName}Table<
|
|
|
11999
11999
|
<em>required</em>
|
|
12000
12000
|
</td>
|
|
12001
12001
|
</tr>
|
|
12002
|
+
<tr class="doc-section-item">
|
|
12003
|
+
<td><code>suffix</code></td>
|
|
12004
|
+
<td>
|
|
12005
|
+
<code><autoref identifier="str" optional>str</autoref></code>
|
|
12006
|
+
</td>
|
|
12007
|
+
<td>
|
|
12008
|
+
<div class="doc-md-description">
|
|
12009
|
+
<p>A replacement suffix for the table name (e.g. <code>DetailTable</code>, such as to retrieve <code>FooDetailTable</code>)</p>
|
|
12010
|
+
</div>
|
|
12011
|
+
</td>
|
|
12012
|
+
<td>
|
|
12013
|
+
<code>None</code>
|
|
12014
|
+
</td>
|
|
12015
|
+
</tr>
|
|
12002
12016
|
</tbody>
|
|
12003
12017
|
</table>
|
|
12004
12018
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
<link rel="icon" href="../../../../assets/favicon.ico">
|
|
21
|
-
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.
|
|
21
|
+
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.48">
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -8613,6 +8613,10 @@
|
|
|
8613
8613
|
<li>The variable <code>table_extensions</code> must be declared in that file, and contain a list of <code>TableExtension</code> subclasses</li>
|
|
8614
8614
|
<li>The <code>model</code> attribute of each <code>TableExtension</code> subclass must be set to a valid model name in the dotted pair format (<code>{app_label}.{model}</code>, e.g. <code>tenant.tenant</code> or <code>dcim.device</code>)</li>
|
|
8615
8615
|
</ul>
|
|
8616
|
+
<details class="version-added">
|
|
8617
|
+
<summary>Added in version 2.3.13</summary>
|
|
8618
|
+
<p>Optionally, you can provide the additional <code>suffix</code> to be added when looking up the Table. This is useful for models that use a different table for the list view than <code>{model}Table</code>.</p>
|
|
8619
|
+
</details>
|
|
8616
8620
|
<p>There are four ways that <code>TableExtension</code> can be used to modify a table.</p>
|
|
8617
8621
|
<ul>
|
|
8618
8622
|
<li>Custom columns can be added to a table by defining the <code>table_columns</code> dictionary.</li>
|
|
@@ -8662,9 +8666,24 @@
|
|
|
8662
8666
|
<a id="__codelineno-0-36" name="__codelineno-0-36" href="#__codelineno-0-36"></a> <span class="k">return</span> <span class="n">queryset</span><span class="o">.</span><span class="n">select_related</span><span class="p">(</span><span class="s2">"device_type__manufacturer"</span><span class="p">)</span>
|
|
8663
8667
|
<a id="__codelineno-0-37" name="__codelineno-0-37" href="#__codelineno-0-37"></a>
|
|
8664
8668
|
<a id="__codelineno-0-38" name="__codelineno-0-38" href="#__codelineno-0-38"></a>
|
|
8665
|
-
<a id="__codelineno-0-39" name="__codelineno-0-39" href="#__codelineno-0-39"></a><span class="
|
|
8666
|
-
<a id="__codelineno-0-40" name="__codelineno-0-40" href="#__codelineno-0-40"></a
|
|
8667
|
-
<a id="__codelineno-0-41" name="__codelineno-0-41" href="#__codelineno-0-41"></a
|
|
8669
|
+
<a id="__codelineno-0-39" name="__codelineno-0-39" href="#__codelineno-0-39"></a><span class="k">class</span> <span class="nc">IPAddressTableExtension</span><span class="p">(</span><span class="n">TableExtension</span><span class="p">):</span>
|
|
8670
|
+
<a id="__codelineno-0-40" name="__codelineno-0-40" href="#__codelineno-0-40"></a><span class="w"> </span><span class="sd">"""Table Extension for ipam.ipaddress model, which the List view uses IPAddressDetailTable."""</span>
|
|
8671
|
+
<a id="__codelineno-0-41" name="__codelineno-0-41" href="#__codelineno-0-41"></a>
|
|
8672
|
+
<a id="__codelineno-0-42" name="__codelineno-0-42" href="#__codelineno-0-42"></a> <span class="n">model</span> <span class="o">=</span> <span class="s2">"ipam.ipaddress"</span>
|
|
8673
|
+
<a id="__codelineno-0-43" name="__codelineno-0-43" href="#__codelineno-0-43"></a> <span class="n">suffix</span> <span class="o">=</span> <span class="s2">"DetailTable"</span> <span class="c1"># Available in 2.3.13</span>
|
|
8674
|
+
<a id="__codelineno-0-44" name="__codelineno-0-44" href="#__codelineno-0-44"></a>
|
|
8675
|
+
<a id="__codelineno-0-45" name="__codelineno-0-45" href="#__codelineno-0-45"></a> <span class="n">table_columns</span> <span class="o">=</span> <span class="p">{</span>
|
|
8676
|
+
<a id="__codelineno-0-46" name="__codelineno-0-46" href="#__codelineno-0-46"></a> <span class="s2">"my_app_mask_length"</span><span class="p">:</span> <span class="n">tables</span><span class="o">.</span><span class="n">Column</span><span class="p">(</span>
|
|
8677
|
+
<a id="__codelineno-0-47" name="__codelineno-0-47" href="#__codelineno-0-47"></a> <span class="n">verbose_name</span><span class="o">=</span><span class="s2">"Mask Length"</span><span class="p">,</span>
|
|
8678
|
+
<a id="__codelineno-0-48" name="__codelineno-0-48" href="#__codelineno-0-48"></a> <span class="n">accessor</span><span class="o">=</span><span class="s2">"mask_length"</span><span class="p">,</span>
|
|
8679
|
+
<a id="__codelineno-0-49" name="__codelineno-0-49" href="#__codelineno-0-49"></a> <span class="p">),</span>
|
|
8680
|
+
<a id="__codelineno-0-50" name="__codelineno-0-50" href="#__codelineno-0-50"></a> <span class="p">}</span>
|
|
8681
|
+
<a id="__codelineno-0-51" name="__codelineno-0-51" href="#__codelineno-0-51"></a>
|
|
8682
|
+
<a id="__codelineno-0-52" name="__codelineno-0-52" href="#__codelineno-0-52"></a>
|
|
8683
|
+
<a id="__codelineno-0-53" name="__codelineno-0-53" href="#__codelineno-0-53"></a><span class="n">table_extensions</span> <span class="o">=</span> <span class="p">[</span>
|
|
8684
|
+
<a id="__codelineno-0-54" name="__codelineno-0-54" href="#__codelineno-0-54"></a> <span class="n">DeviceTableExtension</span><span class="p">,</span>
|
|
8685
|
+
<a id="__codelineno-0-55" name="__codelineno-0-55" href="#__codelineno-0-55"></a> <span class="n">IPAddressTableExtension</span><span class="p">,</span>
|
|
8686
|
+
<a id="__codelineno-0-56" name="__codelineno-0-56" href="#__codelineno-0-56"></a><span class="p">]</span>
|
|
8668
8687
|
</code></pre></div>
|
|
8669
8688
|
|
|
8670
8689
|
|