Lina_peter: yikes - do it in your model rather than javascript
rpkilby joined the channel
mattmcc
stack: Eh, I think if you just read through Haystack's docs, you'll see what it can & can't do.
steve_seagulls joined the channel
stack
mattmcc: sure
johnraz has quit
Lina_peter
SmileyChris: but it varies for different row in a table , so can i implement all the condition in models
yuciyuar joined the channel
stack
mattmcc: I was hoping of some sort of revelation :)
Ariel_Calzada joined the channel
*in
Ariel_Calzada has quit
SmileyChris
Lina_peter: how does it vary?
erve has quit
Lina_peter
SmileyChris: I depend on a field money, if money = 1 , then increment time by 1 hour, money = 2 then increment time by 2 hour
SmileyChris
stack: easy-images is in a workable alpha state btw
stack
SmileyChris: oh you remembered!
Lina_peter
SmileyChris: there is a fixed set of money
jMyles has quit
SmileyChris
Lina_peter: so it's still a calculation based on the model instance's data
stack
SmileyChris: if you have some way to download I will try that
PaulN has quit
Guddu has quit
Guddu joined the channel
elyezer joined the channel
SmileyChris: ok nevermind I found the repo :)
SmileyChris
stack: only 95% test coverage, you can help with the 5% :P
SuperLag joined the channel
jessamynsmith joined the channel
rahulrrixe has quit
Guddu_ joined the channel
Guddu has quit
okwodepi joined the channel
okwodepi
what is celery daemon?
sedeki has quit
jsaq007 has quit
malgorath
SmileyChris: so I try to log in with django-oscar and it does this No module named auth_backcends <-- I have issues with packages when a basic type-o is first thing I see
TingPing joined the channel
sacarasc joined the channel
djm- joined the channel
umm nevermind, was my type o
TingPing has left the channel
sacarasc has left the channel
TheNumb joined the channel
agemaniac has quit
stack has quit
agemaniac joined the channel
sedeki joined the channel
schneider has quit
robvdl joined the channel
rmwdeveloper joined the channel
nownot has quit
schneider joined the channel
djm- joined the channel
OnkelTem has quit
grafa has quit
djm- has quit
natea joined the channel
djm- joined the channel
Ariel_Calzada joined the channel
rmwdeveloper
whats the best flow for uploading and transcoding a vid? Should I even save the pretranscoded vid to the database?
Ariel_Calzada has quit
jinzo has quit
natea has quit
tbaxter
youtube or vimeo :-)
apollo13
rmwdeveloper: you'd never save a video in the database
SuperLag has quit
mekhami has quit
rmwdeveloper
+apollo13: i mean, save it to the media directory
apollo13
well sure, what else would you do with it, keep it in memory?
rmwdeveloper
im not sure lol
natea joined the channel
apollo13
but anyways, I wouldn't use a django process for video uploads
rmwdeveloper
its not bad to save if even though you're just going to delete it a few seconds later?
what would you use?
sanjayb has quit
apollo13
transcoding in seconds? how small are those videos
rmwdeveloper
less than 50mb
kenbolton joined the channel
natea has quit
right now im using celery and ffmpeg
apollo13
well either way, tools like ffmpeg will probably be happier if it is on the fs
rmwdeveloper
alright cool thank you
+apollo13: thankyou
tbaxter
I’ve done it, and the overhead is just too high to be worth it.
underthehill has quit
natea joined the channel
stickperson has quit
matthiaswahl has quit
jsaq007 joined the channel
caleb_smith joined the channel
Hasimir has quit
mlavin has quit
donspaulding has quit
radez is now known as radez_g0n3
zykotick9 joined the channel
zykotick9 has left the channel
donspaulding joined the channel
kiwipoo joined the channel
donspaulding has quit
ajay2611 joined the channel
emperorcezar joined the channel
emperorcezar has quit
graingert joined the channel
emperorcezar joined the channel
okwodepi has quit
upmauro has quit
ajay2611
Hi, I'm using intermediary models. So i need to override my modelform from foreignkey to manytomany field. Can somebody please guide me
TheAdversary joined the channel
Earlo has quit
Hasimir joined the channel
acangiani has quit
limbera
if i have a form called ModelCreateForm()
and i want to allow users to edit the model
shall i just reuse that form
and rename it from Create to just ModelForm()
(Model should be replaced with the actual model name obviously)
Ariel_Calzada joined the channel
ajay2611 has quit
Ariel_Calzada has quit
jarshwah has quit
malgorath has quit
adrian2 has quit
pax-
limbera: yes, its generally a good idea to reuse the same form for both creating and updating.
whats the best way to put a flag on a model, for example whether a video needs to be transcoded, just a BooleanField on the model itself?
ambar joined the channel
pythago has quit
ambar has quit
limbera
rmwdeveloper: sounds reasonable
foxhound6 has quit
it_dude has quit
rmwdeveloper
limbera: thanks
tbaxter has quit
caleb_smith
Diegao: Interesting question. This has always been one of the big questions around the canvas stuff that I just don't understand. How failures are supposed to be handled in general