diff --git a/openwisp_controller/config/migrations/0001_squashed_0002_config_settings_uuid.py b/openwisp_controller/config/migrations/0001_squashed_0002_config_settings_uuid.py
index 03910cecd..36cf72a36 100644
--- a/openwisp_controller/config/migrations/0001_squashed_0002_config_settings_uuid.py
+++ b/openwisp_controller/config/migrations/0001_squashed_0002_config_settings_uuid.py
@@ -46,10 +46,7 @@ class Migration(migrations.Migration):
(
'backend',
models.CharField(
- choices=[
- ('netjsonconfig.OpenWrt', 'OpenWRT'),
- ('netjsonconfig.OpenWisp', 'OpenWISP Firmware 1.x'),
- ],
+ choices=app_settings.BACKENDS,
help_text=(
'Select netjsonconfig '
@@ -242,10 +239,7 @@ class Migration(migrations.Migration):
(
'backend',
models.CharField(
- choices=[
- ('netjsonconfig.OpenWrt', 'OpenWRT'),
- ('netjsonconfig.OpenWisp', 'OpenWISP Firmware 1.x'),
- ],
+ choices=app_settings.BACKENDS,
help_text=(
'Select netjsonconfig backend'
diff --git a/tests/openwisp2/sample_config/migrations/0001_initial.py b/tests/openwisp2/sample_config/migrations/0001_initial.py
index e4c1d60ba..58039cf97 100644
--- a/tests/openwisp2/sample_config/migrations/0001_initial.py
+++ b/tests/openwisp2/sample_config/migrations/0001_initial.py
@@ -64,10 +64,7 @@ class Migration(migrations.Migration):
(
'backend',
models.CharField(
- choices=[
- ('netjsonconfig.OpenWrt', 'OpenWRT'),
- ('netjsonconfig.OpenWisp', 'OpenWISP Firmware 1.x'),
- ],
+ choices=app_settings.BACKENDS,
help_text=(
'Select netjsonconfig backend'
@@ -491,10 +488,7 @@ class Migration(migrations.Migration):
(
'backend',
models.CharField(
- choices=[
- ('netjsonconfig.OpenWrt', 'OpenWRT'),
- ('netjsonconfig.OpenWisp', 'OpenWISP Firmware 1.x'),
- ],
+ choices=app_settings.BACKENDS,
help_text=(
'Select netjsonconfig backend'