File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2525 - django_version : ' 3.1'
2626 python_version : ' 3.5'
2727
28- - django_version : ' 3.1 '
28+ - django_version : ' 3.2 '
2929 python_version : ' 3.5'
3030 include :
3131 - django_version : ' 2.2'
6666 sudo apt-get install -y libproj-dev libgeos-dev gdal-bin libgdal-dev
6767 python -m pip install --upgrade pip
6868 pip install -U flake8 coveralls psycopg2-binary argparse
69- pip install -U Django~=${{ matrix.django_version }}
69+ pip install -U Django~=${{ matrix.django_version }}.0
7070 - name : Lint with flake8
7171 run : |
7272 flake8 --ignore=E501,W504 leaflet
Original file line number Diff line number Diff line change 11from collections import OrderedDict
22from urllib .parse import urlparse
33
4+ import django
45from django .conf import settings
56from django .core .exceptions import ImproperlyConfigured
67from django .templatetags .static import static
@@ -182,4 +183,5 @@ def _normalize_plugins_config():
182183 PLUGINS ['__is_normalized__' ] = True
183184
184185
185- default_app_config = 'leaflet.apps.LeafletConfig'
186+ if django .VERSION <= (3 , 1 ):
187+ default_app_config = 'leaflet.apps.LeafletConfig'
You can’t perform that action at this time.
0 commit comments