neutronX / django-markdownx

Comprehensive Markdown plugin built for Django
https://neutronx.github.io/django-markdownx/
Other
839 stars 152 forks source link

Release for Django 4.0 #239

Closed joelburton closed 1 year ago

joelburton commented 2 years ago

The last release on PyPI can't work with Django 4.0 because of the API shift in Django.

The current code does work, and we're putting it in production.

It's mildly inconvenient to have to pin our requirements to a Git commit ID, though. Would it be possible to get a PyPI-uploaded version for Django 4.0?

lancegoyke commented 1 year ago

For others experiencing the same problem, I've never pinned to a Git commit ID before.

Here's how I did it with the most current commit. I can confirm my Django site is working again.

With pip:

python -m pip install git+https://github.com/neutronX/django-markdownx.git@adcaa9e375a4691bbd16c4e27f8cdfb985366088

In requirements.txt:

django-markdownx @ git+https://github.com/neutronX/django-markdownx.git@adcaa9e375a4691bbd16c4e27f8cdfb985366088
adi- commented 1 year ago

Done