diff --git a/InvenTree/common/api.py b/InvenTree/common/api.py index fe28cdbe57..6dd51bdff1 100644 --- a/InvenTree/common/api.py +++ b/InvenTree/common/api.py @@ -85,7 +85,7 @@ class UserSettingsList(SettingsList): def filter_queryset(self, queryset): """ - Only list settings which apply to the current user + Only list settings which apply to the current user """ try: diff --git a/InvenTree/common/models.py b/InvenTree/common/models.py index c3add3b95a..01d38920d0 100644 --- a/InvenTree/common/models.py +++ b/InvenTree/common/models.py @@ -436,7 +436,6 @@ class BaseInvenTreeSetting(models.Model): return [opt[0] for opt in choices] - def is_bool(self): """ Check if this setting is required to be a boolean value diff --git a/InvenTree/common/views.py b/InvenTree/common/views.py index c97047f9a8..4b8310ddd2 100644 --- a/InvenTree/common/views.py +++ b/InvenTree/common/views.py @@ -15,7 +15,6 @@ from formtools.wizard.views import SessionWizardView from crispy_forms.helper import FormHelper from InvenTree.views import AjaxView -from InvenTree.helpers import str2bool from . import forms from .files import FileManager