with django channels, if I want to send data to a client every second , do I need to create a thread to do that, so I don't tie up the main app for listening for rquests from the client (with a websocket?)
rpkilby has quit
xliiv joined the channel
fikka has quit
kingarmadillo joined the channel
jas02 has quit
jas02 joined the channel
jas02 has quit
Lenz joined the channel
jas02 joined the channel
xcm is now known as Guest50844
Guest50844 has quit
xcm joined the channel
dissonant
I'm using django channels 1.1.8 and often I get a 502 error when connecting. I'm running daphne with `--verbose 2` and getting an opening handshake timeout, is there any way to increase this timeout?
h4k1m joined the channel
I've noticed that the issue is intermittent. On the first connection it will work fine, but on subsequent refreshes I will get the timeout. If I wait some time before refreshing again (longer than a few minutes) it will work just fine
um87 has quit
sol1x has quit
la_croix has quit
tchalla joined the channel
rpkilby joined the channel
h4k1m
Hi everyone, I'm trying to implement a form.Form with an input and an output FileField (https://dpaste.de/XcP3). Is it possible to have a filefield without uploading the file because in my case these files are too large?
FilePathField doesn't look like what I'm trying to get.
Vapez joined the channel
chasonchaffin joined the channel
v4ult joined the channel
Because it doesn't open a window to choose from
drodger joined the channel
Guest75004 has quit
v4ult has quit
knbk
h4k1m: ehm, what? What are you gonna do with that file if it's not uploaded?
chasonchaffin has quit
DigitalDarwin has quit
h4k1m
knbk: Actually I'm working on satellite data which are quite large especially if stacked (multi bands). For the time being I'm using FilePathField which gives me a `select` inside a given folder
I'm wondering if there's a way to make it more flexible?
knbk
so the file already exists on the server?
h4k1m
knbk: Now that I'm think of it, yeah it doesn't really make sense since in the future I'll have to upload the image to the server somewhere
For the time being I'm working locally.
ironfroggy has quit
knbk: Are the files normally (by convention) stored in the 'static' folder like css/js assets?