diff --git a/netbox/templates/generic/bulk_delete.html b/netbox/templates/generic/bulk_delete.html index 8590dd165..594efff63 100644 --- a/netbox/templates/generic/bulk_delete.html +++ b/netbox/templates/generic/bulk_delete.html @@ -1,8 +1,8 @@ {% extends 'generic/_base.html' %} {% load form_helpers %} {% load helpers %} -{% load render_table from django_tables2 %} {% load i18n %} +{% load render_table from django_tables2 %} {% comment %} Blocks: diff --git a/netbox/templates/generic/bulk_edit.html b/netbox/templates/generic/bulk_edit.html index 7af36eea0..6aace8786 100644 --- a/netbox/templates/generic/bulk_edit.html +++ b/netbox/templates/generic/bulk_edit.html @@ -1,8 +1,8 @@ {% extends 'generic/_base.html' %} -{% load helpers %} {% load form_helpers %} -{% load render_table from django_tables2 %} +{% load helpers %} {% load i18n %} +{% load render_table from django_tables2 %} {% comment %} Blocks: diff --git a/netbox/templates/generic/bulk_import.html b/netbox/templates/generic/bulk_import.html index ef2c10413..f4a67cc1f 100644 --- a/netbox/templates/generic/bulk_import.html +++ b/netbox/templates/generic/bulk_import.html @@ -1,6 +1,6 @@ {% extends 'generic/_base.html' %} -{% load helpers %} {% load form_helpers %} +{% load helpers %} {% load i18n %} {% comment %} diff --git a/netbox/utilities/forms/mixins.py b/netbox/utilities/forms/mixins.py index e998b6adc..99e31649c 100644 --- a/netbox/utilities/forms/mixins.py +++ b/netbox/utilities/forms/mixins.py @@ -12,7 +12,7 @@ __all__ = ( ) -class BackgroundJobMixin(forms.Form): +class BackgroundJobMixin: background_job = forms.BooleanField( label=_('Background job'), help_text=_("Execute this task via a background job"),