mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 00:58:16 -06:00
Restore NotificationGroupBulkEditView
This commit is contained in:
parent
fa722feaf8
commit
0d553ca5d0
@ -18,6 +18,7 @@ __all__ = (
|
|||||||
'EventRuleBulkEditForm',
|
'EventRuleBulkEditForm',
|
||||||
'ExportTemplateBulkEditForm',
|
'ExportTemplateBulkEditForm',
|
||||||
'JournalEntryBulkEditForm',
|
'JournalEntryBulkEditForm',
|
||||||
|
'NotificationGroupBulkEditForm',
|
||||||
'SavedFilterBulkEditForm',
|
'SavedFilterBulkEditForm',
|
||||||
'TagBulkEditForm',
|
'TagBulkEditForm',
|
||||||
'WebhookBulkEditForm',
|
'WebhookBulkEditForm',
|
||||||
|
@ -57,7 +57,7 @@ urlpatterns = [
|
|||||||
path('notification-groups/', views.NotificationGroupListView.as_view(), name='notificationgroup_list'),
|
path('notification-groups/', views.NotificationGroupListView.as_view(), name='notificationgroup_list'),
|
||||||
path('notification-groups/add/', views.NotificationGroupEditView.as_view(), name='notificationgroup_add'),
|
path('notification-groups/add/', views.NotificationGroupEditView.as_view(), name='notificationgroup_add'),
|
||||||
path('notification-groups/import/', views.NotificationGroupBulkImportView.as_view(), name='notificationgroup_import'),
|
path('notification-groups/import/', views.NotificationGroupBulkImportView.as_view(), name='notificationgroup_import'),
|
||||||
# path('notification-groups/edit/', views.NotificationGroupBulkEditView.as_view(), name='notificationgroup_bulk_edit'),
|
path('notification-groups/edit/', views.NotificationGroupBulkEditView.as_view(), name='notificationgroup_bulk_edit'),
|
||||||
path('notification-groups/delete/', views.NotificationGroupBulkDeleteView.as_view(), name='notificationgroup_bulk_delete'),
|
path('notification-groups/delete/', views.NotificationGroupBulkDeleteView.as_view(), name='notificationgroup_bulk_delete'),
|
||||||
path('notification-groups/<int:pk>/', include(get_model_urls('extras', 'notificationgroup'))),
|
path('notification-groups/<int:pk>/', include(get_model_urls('extras', 'notificationgroup'))),
|
||||||
|
|
||||||
|
@ -389,11 +389,11 @@ class NotificationGroupBulkImportView(generic.BulkImportView):
|
|||||||
model_form = forms.NotificationGroupImportForm
|
model_form = forms.NotificationGroupImportForm
|
||||||
|
|
||||||
|
|
||||||
# class NotificationGroupBulkEditView(generic.BulkEditView):
|
class NotificationGroupBulkEditView(generic.BulkEditView):
|
||||||
# queryset = NotificationGroup.objects.all()
|
queryset = NotificationGroup.objects.all()
|
||||||
# filterset = filtersets.NotificationGroupFilterSet
|
filterset = filtersets.NotificationGroupFilterSet
|
||||||
# table = tables.NotificationGroupTable
|
table = tables.NotificationGroupTable
|
||||||
# form = forms.NotificationGroupBulkEditForm
|
form = forms.NotificationGroupBulkEditForm
|
||||||
|
|
||||||
|
|
||||||
class NotificationGroupBulkDeleteView(generic.BulkDeleteView):
|
class NotificationGroupBulkDeleteView(generic.BulkDeleteView):
|
||||||
|
Loading…
Reference in New Issue
Block a user