netbox-plugin-dns 1.1.7__py3-none-any.whl → 1.2b1__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 netbox-plugin-dns might be problematic. Click here for more details.

Files changed (37) hide show
  1. netbox_dns/__init__.py +9 -5
  2. netbox_dns/migrations/0012_natural_ordering.py +88 -0
  3. netbox_dns/models/nameserver.py +1 -0
  4. netbox_dns/models/record.py +2 -0
  5. netbox_dns/models/record_template.py +2 -0
  6. netbox_dns/models/registrar.py +1 -0
  7. netbox_dns/models/registration_contact.py +2 -0
  8. netbox_dns/models/view.py +1 -0
  9. netbox_dns/models/zone.py +1 -0
  10. netbox_dns/models/zone_template.py +1 -0
  11. netbox_dns/navigation.py +9 -9
  12. netbox_dns/signals/ipam_dnssync.py +1 -19
  13. netbox_dns/template_content.py +4 -4
  14. netbox_dns/templates/netbox_dns/record.html +1 -1
  15. netbox_dns/urls.py +72 -0
  16. netbox_dns/views/nameserver.py +8 -0
  17. netbox_dns/views/record.py +9 -0
  18. netbox_dns/views/record_template.py +9 -0
  19. netbox_dns/views/registrar.py +12 -4
  20. netbox_dns/views/registration_contact.py +12 -4
  21. netbox_dns/views/view.py +13 -4
  22. netbox_dns/views/zone.py +8 -0
  23. netbox_dns/views/zone_template.py +9 -0
  24. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2b1.dist-info}/METADATA +2 -2
  25. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2b1.dist-info}/RECORD +28 -35
  26. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2b1.dist-info}/WHEEL +1 -1
  27. netbox_dns/urls/__init__.py +0 -21
  28. netbox_dns/urls/nameserver.py +0 -45
  29. netbox_dns/urls/record.py +0 -29
  30. netbox_dns/urls/record_template.py +0 -56
  31. netbox_dns/urls/registrar.py +0 -39
  32. netbox_dns/urls/registration_contact.py +0 -60
  33. netbox_dns/urls/view.py +0 -31
  34. netbox_dns/urls/zone.py +0 -25
  35. netbox_dns/urls/zone_template.py +0 -47
  36. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2b1.dist-info}/LICENSE +0 -0
  37. {netbox_plugin_dns-1.1.7.dist-info → netbox_plugin_dns-1.2b1.dist-info}/top_level.txt +0 -0
netbox_dns/urls/view.py DELETED
@@ -1,31 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- ViewView,
7
- ViewListView,
8
- ViewEditView,
9
- ViewDeleteView,
10
- ViewBulkImportView,
11
- ViewBulkEditView,
12
- ViewBulkDeleteView,
13
- ViewPrefixEditView,
14
- )
15
-
16
- view_urlpatterns = [
17
- path("views/<int:pk>/", ViewView.as_view(), name="view"),
18
- path("views/", ViewListView.as_view(), name="view_list"),
19
- path("views/add/", ViewEditView.as_view(), name="view_add"),
20
- path("views/<int:pk>/edit/", ViewEditView.as_view(), name="view_edit"),
21
- path("views/<int:pk>/delete/", ViewDeleteView.as_view(), name="view_delete"),
22
- path("views/import/", ViewBulkImportView.as_view(), name="view_import"),
23
- path("views/edit/", ViewBulkEditView.as_view(), name="view_bulk_edit"),
24
- path("views/delete/", ViewBulkDeleteView.as_view(), name="view_bulk_delete"),
25
- path("views/<int:pk>/", include(get_model_urls("netbox_dns", "view"))),
26
- path(
27
- "prefixes/<int:pk>/assign-views/",
28
- ViewPrefixEditView.as_view(),
29
- name="prefix_views",
30
- ),
31
- ]
netbox_dns/urls/zone.py DELETED
@@ -1,25 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- ZoneView,
7
- ZoneListView,
8
- ZoneEditView,
9
- ZoneDeleteView,
10
- ZoneBulkImportView,
11
- ZoneBulkEditView,
12
- ZoneBulkDeleteView,
13
- )
14
-
15
- zone_urlpatterns = [
16
- path("zones/<int:pk>/", ZoneView.as_view(), name="zone"),
17
- path("zones/", ZoneListView.as_view(), name="zone_list"),
18
- path("zones/add/", ZoneEditView.as_view(), name="zone_add"),
19
- path("zones/<int:pk>/edit/", ZoneEditView.as_view(), name="zone_edit"),
20
- path("zones/<int:pk>/delete/", ZoneDeleteView.as_view(), name="zone_delete"),
21
- path("zones/import/", ZoneBulkImportView.as_view(), name="zone_import"),
22
- path("zones/edit/", ZoneBulkEditView.as_view(), name="zone_bulk_edit"),
23
- path("zones/delete/", ZoneBulkDeleteView.as_view(), name="zone_bulk_delete"),
24
- path("zones/<int:pk>/", include(get_model_urls("netbox_dns", "zone"))),
25
- ]
@@ -1,47 +0,0 @@
1
- from django.urls import include, path
2
-
3
- from utilities.urls import get_model_urls
4
-
5
- from netbox_dns.views import (
6
- ZoneTemplateView,
7
- ZoneTemplateListView,
8
- ZoneTemplateEditView,
9
- ZoneTemplateDeleteView,
10
- ZoneTemplateBulkImportView,
11
- ZoneTemplateBulkEditView,
12
- ZoneTemplateBulkDeleteView,
13
- )
14
-
15
- zonetemplate_urlpatterns = [
16
- path("zonetemplates/<int:pk>/", ZoneTemplateView.as_view(), name="zonetemplate"),
17
- path("zonetemplates/", ZoneTemplateListView.as_view(), name="zonetemplate_list"),
18
- path("zonetemplates/add/", ZoneTemplateEditView.as_view(), name="zonetemplate_add"),
19
- path(
20
- "zonetemplates/<int:pk>/edit/",
21
- ZoneTemplateEditView.as_view(),
22
- name="zonetemplate_edit",
23
- ),
24
- path(
25
- "zonetemplates/<int:pk>/delete/",
26
- ZoneTemplateDeleteView.as_view(),
27
- name="zonetemplate_delete",
28
- ),
29
- path(
30
- "zonetemplates/import/",
31
- ZoneTemplateBulkImportView.as_view(),
32
- name="zonetemplate_import",
33
- ),
34
- path(
35
- "zonetemplates/edit/",
36
- ZoneTemplateBulkEditView.as_view(),
37
- name="zonetemplate_bulk_edit",
38
- ),
39
- path(
40
- "zonetemplates/delete/",
41
- ZoneTemplateBulkDeleteView.as_view(),
42
- name="zonetemplate_bulk_delete",
43
- ),
44
- path(
45
- "zonetemplates/<int:pk>/", include(get_model_urls("netbox_dns", "zonetemplate"))
46
- ),
47
- ]