Giter Site home page Giter Site logo

Comments (7)

adi- avatar adi- commented on June 4, 2024

Hmmm, strange. What Django version u have?

This could be a problem of not using .get() on cleaned_data. I will try to investigate.

from django-markdownx.

MHellmund avatar MHellmund commented on June 4, 2024

django 1.9.9

btw, I also get the warning:
/opt/env/lib/python3.5/site-packages/markdownx/widgets.py:34: RemovedInDjango110Warning: render() must be called with a dict, not a Context.
return t.render(c)

from django-markdownx.

adi- avatar adi- commented on June 4, 2024

I have checked the app with Django 1.10 and python 3.5.2. Everything works as it should be.

from django-markdownx.

adi- avatar adi- commented on June 4, 2024

/opt/env/lib/python3.5/site-packages/markdownx/widgets.py:34: RemovedInDjango110Warning: render() must be called with a dict, not a Context.
return t.render(c

This one was fixed.

from django-markdownx.

adi- avatar adi- commented on June 4, 2024

I have just spotted an error, when uploaded image is somehow corrupted. I also get this error:

upload = self.cleaned_data['image']
KeyError: 'image'

Maybe you had the same problem?

from django-markdownx.

MHellmund avatar MHellmund commented on June 4, 2024

It now seems to me that Linux has a problem with drag&drop to remote X applications.
I did something like

ssh -x django-server
manage.py runserver &
chromium localhost:8000 &

and got this error when dragging images from the local file manager to the remote chromium window.

But when using "manage.py runserver 0.0.0.0:8000" and a local chromium, drag&drop works fine.
So I no longer think that my original problem was due to your package.

from django-markdownx.

adi- avatar adi- commented on June 4, 2024

Ok, closing.

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.