Comments (5)
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.
Any updates on releasing v4? @xenatisch thanks! 🙏
from django-markdownx.
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.
+1 for a release - I've experimented with the beta version and it appears to be working fine!
from django-markdownx.
Has this been released? I have the url import problem and badly need it sorted out
from django-markdownx.
Related Issues (20)
- Found a possible security concern HOT 2
- No cookie with key "csrftoken". Wrong name?
- Can't type `[` or `]` using a french keyboard on Windows
- MARKDOWNX_EDITOR_RESIZABLE does not appear to work in v4
- Can't add multiline code block HOT 1
- Release for Django 4.0 HOT 2
- getCookie() bug? HOT 1
- Simple optimization inside views.py HOT 1
- AttributeError on markdownify HOT 1
- A recent Upload and markdownify path errors
- How to customize the textarea cols HOT 2
- Cross-Site Scripting (XSS) Vulnerability in Markdown Library HOT 1
- AttributeError when using pillow >=10.0
- Css for dark theme in admin page
- Contact email to report a vulnerability does not exists HOT 1
- Allow overriding the default storage class for images and such
- Load HTML in iframe?
- Editor height grows on inputs HOT 17
- Ability to set a media path per MarkdownxField
- just now fix! severity found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-markdownx.