Skip to content

Django Compatibility? #354

Answered by rmorshea
Archmonger asked this question in Question
Apr 25, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Yup, IDOM allows you to make SPAs.

And I haven't tried making this work with Django yet. Does Django have any async support? If so that would make it pretty easy to integrate. Otherwise it'll be a bit trickier, though I was able to get Flask working so it shouldn't be impossible.

If you have any interest in making a contribution to this effect I'd be happy to to help guide you through it. The other server implementations can be found in src/idom/server/*.py. If Django has async WebSockets you can probably copy most of the boilerplate from the fastapi, sanic, or tornado implementations.

I've set up some weekly office hours if you'd like to chat about this in more detail.

NOTE: you can actu…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Archmonger
Comment options

Archmonger Apr 26, 2021
Maintainer Author

@rmorshea
Comment options

@Archmonger
Comment options

Archmonger Apr 26, 2021
Maintainer Author

Answer selected by rmorshea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants