<NME> requirements.txt
<BEF> django<4.0
django-ckeditor==6.3.0
django-phonenumber-field[phonenumbers]==7.0.0
django-reversion==5.0.3
django-xforwardedfor-middleware==2.0
django-otp==1.1.3

dj-database-url

coreapi==2.3.3
coreapi-cli==1.0.9
djangorestframework>=3.9,<3.10

passlib==1.7.2
bcrypt  # Requires libffi-dev and python-dev

passlib~=1.7.4
bcrypt  # Requires libffi-dev and python-dev

asgiref
dnspython==2.2.1
feedparser==6.0.10
greenlet==1.1.3.post0
gevent==22.10.1
jsonfield==3.1.0
Pillow  # Optional dependency for django-ckeditor
progressbar33==2.4
py-dateutil==2.2
cryptography
pytz
requests
lxml
chardet
ovh
oath
redis
rrdtool>=0.1.10
qrcode

aiosmtplib
aioredis==2.0.1

<MSG> Bump djangorestframework to 3.11 and move to OpenAPI

See: https://www.django-rest-framework.org/community/3.10-announcement/

CoreAPI is being deprecated and since 3.10, settings must be modified to
keep using CoreAPI schemas. This is especially required for the
documentation generation.

To prevent settings modification while upgrading Modoboa and to follow
the standard for modeling Web APIs, CoreAPI is removed. Instead, OpenAPI
is used to generate the schema and Swagger UI is used to render the
documentation as described here:

  https://www.django-rest-framework.org/topics/documenting-your-api/

<DFF> @@ -7,9 +7,8 @@ django-xforwardedfor-middleware==2.0
 
 dj-database-url
 
-coreapi==2.3.3
-coreapi-cli==1.0.9
-djangorestframework>=3.9,<3.10
+djangorestframework>=3.11,<3.12
+uritemplate
 
 passlib==1.7.2
 bcrypt  # Requires libffi-dev and python-dev

Bump djangorestframework to 3.11 and move to OpenAPI