Amsterdam / django-gisserver

Django speaking WFS 2.0 to expose geo data
Mozilla Public License 2.0
42 stars 10 forks source link

replace utc import with datetime one #23

Closed tomdtp closed 7 months ago

tomdtp commented 7 months ago

In Django 5 the The django.utils.timezone.utc alias to datetime.timezone.utc is removed. see: https://docs.djangoproject.com/en/5.0/releases/5.0/#features-removed-in-5-0

This replaces all uses of django.utils.timezone.utc with datetime.timezone.utc in this repo, to keep it compatible with Django 5.

Yrob commented 7 months ago

Hi @tomdtp,

Looks good. Thanks so much for your contribution!

Ill do a version bump shortly.