Skip to content

Commit f6eaa26

Browse files
committed
Fix #493 -- Fix Python 3.5 compatibility
Ref 1954bf5
1 parent 73d4be8 commit f6eaa26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

django_select2/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Select2Conf(AppConf):
5656
It has set `select2_` as a default value, which you can change if needed.
5757
"""
5858

59-
JS = f'//cdnjs.cloudflare.com/ajax/libs/select2/{LIB_VERSION}/js/select2.min.js'
59+
JS = '//cdnjs.cloudflare.com/ajax/libs/select2/{version}/js/select2.min.js'.format(version=LIB_VERSION)
6060
"""
6161
The URI for the Select2 JS file. By default this points to the Cloudflare CDN.
6262
@@ -74,7 +74,7 @@ class Select2Conf(AppConf):
7474
develop without an Internet connection.
7575
"""
7676

77-
CSS = f'//cdnjs.cloudflare.com/ajax/libs/select2/{LIB_VERSION}/css/select2.min.css'
77+
CSS = '//cdnjs.cloudflare.com/ajax/libs/select2/{version}/css/select2.min.css'.format(version=LIB_VERSION)
7878
"""
7979
The URI for the Select2 CSS file. By default this points to the Cloudflare CDN.
8080
@@ -92,7 +92,7 @@ class Select2Conf(AppConf):
9292
develop without an Internet connection.
9393
"""
9494

95-
I18N_PATH = f'//cdnjs.cloudflare.com/ajax/libs/select2/{LIB_VERSION}/js/i18n'
95+
I18N_PATH = '//cdnjs.cloudflare.com/ajax/libs/select2/{version}/js/i18n'.format(version=LIB_VERSION)
9696
"""
9797
The base URI for the Select2 i18n files. By default this points to the Cloudflare CDN.
9898

0 commit comments

Comments
 (0)