when I download file the filename include with directory path.
like this movie%2F316029%2Fko%2FHacksaw_Ridge_2016.E00.170222.BRRip.x264.720p.EVO
joshuajonah joined the channel
atula joined the channel
Hotpot33 joined the channel
CrowX- has quit
rpkilby has quit
junkpiano joined the channel
luisehk has quit
jxv joined the channel
Troy1 joined the channel
junkpiano has quit
polaris has quit
junkpiano joined the channel
junkpiano has quit
joshuajonah has quit
Bryson has quit
joshuajonah joined the channel
backnforth joined the channel
djapo joined the channel
re1 has quit
skywlkr joined the channel
yinzhaoqian has left the channel
aussiejames joined the channel
skywlkr has quit
aussiejames
Howdy, I've got a model that references its self (many-to-many) and I'm trying to work out a way of getting all the id's for a filtered list of objects, and its sub (related) objects in one go.
duoi
hypertiger we need more code
aussiejames
Currently, I'm using an .all() on the primary/parent list of objects, but can't work out how to get the primary AND the sub-objects too.
Don't know why that's not mentioned on the "making queries" documentation page...
ironfroggy joined the channel
junkpiano joined the channel
backnforth has quit
junkpiano has quit
FunkyBob, is there a way to use prefetch_related and consolidate/flatten the results into a single list of objects? Can't see anything that looks like it will do that in the doco.
doismellburning: interesting... a question for the DSF, surely?
theology: Celery
theology
FunkyBob, yes i am using celery
FunkyBob
theology: then yes, you can concurrently run background tasks
microdex
What are possible causes of decimal.InvalidOperation upon .save() ?
all my values look like valid floats
FunkyBob
microdex: Decimal != Float
microdex: also, dpaste.de the FULL TRACEBACK
microdex
ok
theology
FunkyBob, i mean, would the process be automatic? user 1 logs in and does func x, user 2 logs in and does func x, func x runs as a background task. Will i have 2 background tasks running?
bkxd has quit
FunkyBob
theology: if you have 2 background workers... sure
saedelaere has quit
theology
FunkyBob, so only one worker is allowed per background task?
doismellburning
FunkyBob: perhaps, but I figure there might be people out there the DSF doesn't know about