jmons / ramlwrap

Wrapping Raml around Django rest-api's
MIT License
8 stars 2 forks source link

Minor modifications to enable Django 4 support #60

Closed timharveyuk closed 2 years ago

jmons commented 2 years ago

It looks like this drops support for Django 1.11 (and somewhere we also lost ramlwraps autotest runs, will look into that).

  File "/Users/jt/Desktop/cpi/ramlwrap/.tox/py38-django1.11/lib/python3.8/site-packages/ramlwrap/utils/raml.py", line 4, in <module>
    from django.urls import re_path
ImportError: cannot import name 're_path' from 'django.urls' (/Users/jt/Desktop/cpi/ramlwrap/.tox/py38-django1.11/lib/python3.8/site-packages/django/urls/__init__.py)

The argument for dropping support of 1.11:

Screenshot 2021-12-27 at 09 35 30