Miguel Grinberg

Results 534 comments of Miguel Grinberg

Let me think about this. It may be possible to use the same field to render the text area and the preview separately. Something like this: ``` {{ form.hidden_tag() }}...

Did you install the requirements with pip install -r requirements.txt? This is an old repository, for things to work you need to use the dependencies as they were recorded at...

If you are asking if grid.js can do this for you, I don't think it can, but this is possible if you implement the dropdown and the search yourself.

It looks like eventlet's socket implementation doesn't behave exactly like Python's original socket class. I would not recommend removing the monkey patching. Instead you can add a ping_interval, which also...

I'm not really sure if this is possible. This library uses the PageDown JavaScript library for rendering Markdown on the fly in the browser. It is now a very old...

My recommendation is that you learn how this extension works from the source code, and then fork it and replace PageDown with another more modern renderer that supports the extensions...

Flask-HTTPAuth does not parse authentication, Flask does (or actually, Werkzeug). If your token isn't recognized, it is because Werkzeug decided the Authorization header that your client is sending is invalid....

@lordslair The `==` are not weird, they are actually pretty common in Basic authentication (but not for tokens). They are padding for the base64 encoding of the username and password....

@mitsuhiko I looked at your Click integration layer. It seems the code that addresses the two Flask-Script design limitations you mention above is not Click specific at all. In fact,...

> but the initial version of what I had I could not get to work with Flask-Script at all In terms of the reloader fix that first version looks pretty...