Skip to content

Commit

Permalink
Fix error 400 on tile endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Chatewgne committed Nov 2, 2022
1 parent b120650 commit ed3989c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ RUN apt-get update -qq && apt-get install -y -qq \
libpango1.0-0 \
libpangocairo-1.0-0 \
libgdk-pixbuf2.0-dev \
libffi-dev && \
libffi-dev \
libvips && \
apt-get install -y --no-install-recommends postgis && \
apt-get clean all && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/*

Expand Down
10 changes: 10 additions & 0 deletions geotrek/common/templates/common/hdviewpoint_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ <h3>{% trans "Attributes" %}</h3>
{% else %}<span class="none">{% trans "None" %}</span>{% endif %}
</td>
</tr>
<tr>
<th>{{ object|verbose:"date_insert" }}</th>
<td>{{ object.date_insert|date }}
</td>
</tr>
<tr>
<th>{{ object|verbose:"date_update" }}</th>
<td>{{ object.date_update|date }}
</td>
</tr>
</table>

<h3>{% trans "Image" %}</h3>
Expand Down
14 changes: 10 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ cffi==1.15.0
# via
# cairocffi
# persistent
# pyvips
# weasyprint
charset-normalizer==2.0.12
# via requests
Expand Down Expand Up @@ -207,11 +208,11 @@ kombu==5.1.0
# via celery
landez==2.5.0
# via geotrek (setup.py)
large-image==1.17.1
large-image==1.17.2
# via
# django-large-image
# large-image-source-pil
large-image-source-pil==1.17.1
# large-image-source-vips
large-image-source-vips==1.17.2
# via geotrek (setup.py)
lxml==4.8.0
# via mapentity
Expand All @@ -226,10 +227,13 @@ munch==2.5.0
netifaces==0.11.0
# via mapentity
numpy==1.23.4
# via large-image
# via
# large-image
# large-image-source-vips
packaging==21.3
# via
# drf-yasg
# large-image-source-vips
# redis
palettable==3.3.0
# via large-image
Expand Down Expand Up @@ -284,6 +288,8 @@ pytz==2022.1
# django-modelcluster
# djangorestframework
# djangorestframework-datatables
pyvips==2.2.1
# via large-image-source-vips
rcssmin==1.1.0
# via django-compressor
redis==4.2.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run(self):
'drf-yasg',
'xlrd',
'landez',
'large-image-source-pil',
'large-image-source-vips',
'django-large-image',
'celery[redis]',
'django-celery-results==2.2.*', # Latest version supporting python3.6
Expand Down

0 comments on commit ed3989c

Please sign in to comment.