Giter Site home page Giter Site logo

Comments (5)

xenatisch avatar xenatisch commented on July 18, 2024 3

Use the beta version (v4.0.0b1) which available on PyPI.

Add this to your requirements file:

django-markdownx>=4.0.0b1

We will release v4 once we are sure there are no potential issues. It's been up for a couple of weeks now, and we haven't had any reports, so we might release it soon.

from django-markdownx.

cchacholiades avatar cchacholiades commented on July 18, 2024 1

Any updates on releasing v4? @xenatisch thanks! 🙏

from django-markdownx.

 avatar commented on July 18, 2024

I got same error as below using django 4.0 + django-markdownx 4.0.0b1:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/views/generic/base.py", line 101, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/django/views/generic/edit.py", line 146, in post
    return self.form_invalid(form)
  File "/usr/local/lib/python3.9/site-packages/markdownx/views.py", line 48, in form_invalid
    if self.request.is_ajax():
AttributeError: 'WSGIRequest' object has no attribute 'is_ajax'

I think this line in form_invalid() should be updated like form_valid().

from django-markdownx.

intiocean avatar intiocean commented on July 18, 2024

+1 for a release - I've experimented with the beta version and it appears to be working fine!

from django-markdownx.

hengage avatar hengage commented on July 18, 2024

Has this been released? I have the url import problem and badly need it sorted out

from django-markdownx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.