File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
openwisp_controller/config/migrations
tests/openwisp2/sample_config/migrations Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,7 @@ class Migration(migrations.Migration):
46
46
(
47
47
'backend' ,
48
48
models .CharField (
49
- choices = [
50
- ('netjsonconfig.OpenWrt' , 'OpenWRT' ),
51
- ('netjsonconfig.OpenWisp' , 'OpenWISP Firmware 1.x' ),
52
- ],
49
+ choices = app_settings .BACKENDS ,
53
50
help_text = (
54
51
'Select <a href="http://netjsonconfig.openwisp.org'
55
52
'/en/stable/" target="_blank">netjsonconfig</a> '
@@ -242,10 +239,7 @@ class Migration(migrations.Migration):
242
239
(
243
240
'backend' ,
244
241
models .CharField (
245
- choices = [
246
- ('netjsonconfig.OpenWrt' , 'OpenWRT' ),
247
- ('netjsonconfig.OpenWisp' , 'OpenWISP Firmware 1.x' ),
248
- ],
242
+ choices = app_settings .BACKENDS ,
249
243
help_text = (
250
244
'Select <a href="http://netjsonconfig.openwisp.org'
251
245
'/en/stable/" target="_blank">netjsonconfig</a> backend'
Original file line number Diff line number Diff line change @@ -64,10 +64,7 @@ class Migration(migrations.Migration):
64
64
(
65
65
'backend' ,
66
66
models .CharField (
67
- choices = [
68
- ('netjsonconfig.OpenWrt' , 'OpenWRT' ),
69
- ('netjsonconfig.OpenWisp' , 'OpenWISP Firmware 1.x' ),
70
- ],
67
+ choices = app_settings .BACKENDS ,
71
68
help_text = (
72
69
'Select <a href="http://netjsonconfig.openwisp.org/en/'
73
70
'stable/" target="_blank">netjsonconfig</a> backend'
@@ -491,10 +488,7 @@ class Migration(migrations.Migration):
491
488
(
492
489
'backend' ,
493
490
models .CharField (
494
- choices = [
495
- ('netjsonconfig.OpenWrt' , 'OpenWRT' ),
496
- ('netjsonconfig.OpenWisp' , 'OpenWISP Firmware 1.x' ),
497
- ],
491
+ choices = app_settings .BACKENDS ,
498
492
help_text = (
499
493
'Select <a href="http://netjsonconfig.openwisp.org/en/'
500
494
'stable/" target="_blank">netjsonconfig</a> backend'
You can’t perform that action at this time.
0 commit comments