diff options
-rw-r--r-- | ishtar_common/models_common.py | 2 | ||||
-rw-r--r-- | requirements.txt | 56 |
2 files changed, 29 insertions, 29 deletions
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 196e8a7d7..3d1ae7bbd 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -2918,7 +2918,7 @@ class GeoItem(models.Model): list_coords.append([]) for linear_ring in range(len(polygon)): list_coords[-1].append([]) - for coords in polygon[linear_ring]: + for coords in polygon[linear_ring].coords: point_2d = Point( coords[0], coords[1], srid=self.multi_polygon.srid ) diff --git a/requirements.txt b/requirements.txt index c8d30ffcb..0d18b197f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,49 +3,49 @@ # gdal==2.4.0 # 3.2 -psycopg2-binary==2.7.7 -# 2.8.6 +psycopg2-binary==2.8.6 +# old 2.7.7 django-registration==3.2 django==2.2.24 -Pillow==5.4.1 -# 8.1.2 +Pillow==8.1.2 +# old 5.4.1 WeasyPrint==0.42.3 -html5lib==1.0.1 -# 1.1 +html5lib==1.1 +# old 1.0.1 pyqrcode==1.2.1 -pypng==0.0.19 -# 0.0.20 +pypng==0.0.20 +# old 0.0.19 -xmltodict==0.11 -# 0.12 +xmltodict==0.12 +# old 0.11 -requests==2.21 -# 2.25 +requests==2.25 +# old 2.21 # python-memcached==1.59 ## production # celery==4.2.1 ## not mandatory # 5.0.0 -djangorestframework==3.9 -# 3.12 +djangorestframework==3.12 +# old 3.9 pytidylib==0.3.2 -lxml==4.3.2 -# 4.6.3 -Jinja2==2.10 -# 2.11 -django-extra-views==0.12.0 -# 0.13 -beautifulsoup4==4.7.1 -# 4.9.3 -markdown==3.0.1 -# 3.3.4 -django-compressor==2.2 -# 2.4 +lxml==4.6.3 +# old 4.3.2 +Jinja2==2.11 +# old 2.10 +django-extra-views==0.13.0 +# old 0.12 +beautifulsoup4==4.9.3 +# old 4.7.1 +markdown==3.3.4 +# old 3.0.1 +django-compressor==2.4 +# old 2.2 django-formtools==2.2 @@ -55,5 +55,5 @@ unidecode -e git+https://github.com/treyhunner/django-simple-history.git@2.7.0#egg=django-simple-history -django-extensions==2.1.4 -# 3.0.3 +django-extensions==3.0.3 +# old 2.1.4 |