Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
serving 206 Byte-Range during development
52 views
Skip to first unread message
vjwork
unread,
Sep 5, 2022, 5:22:01 AM
9/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I'm embedding
jbrowse2
in a django site, but during development I get the following error
Error: HTTP 200 (OK) when fetching /static/jbrowse/assembly/genome.fasta bytes 0-15871 (should be 206 for range requests)
Turns out the default django dev server cannot handle streaming requests. What would be a good solution to serve the steams during development?
Jason
unread,
Sep 5, 2022, 6:44:26 AM
9/5/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
use gunicorn or uwsgi with autoreload
https://docs.gunicorn.org/en/latest/settings.html?highlight=reload#reload
https://uwsgi-docs.readthedocs.io/en/latest/Snippets.html?highlight=autoreload#python-auto-reloading-development-only
Reply all
Reply to author
Forward
0 new messages