From the two comments, model mommy and factory boy can both be used to generate data for testing.
pkulas joined the channel
danifus has quit
FancyCamel has quit
Inopia
duoi: I've been using factory_boy
but it's such an important thing
that there should be a default way
MalConsejo joined the channel
like migrations got included in django 1.7
lorddaedra joined the channel
anthonydb joined the channel
shangxiao
i think because there are multiple implementations which prevent inclusion into django
anyonebutme joined the channel
LeoAtWork joined the channel
lumidee has quit
npardington has quit
jezdez has quit
basecase has quit
lordkryss has quit
MLM has quit
Quitta joined the channel
lumidee joined the channel
thalin joined the channel
lorddaedra has quit
Kronuz joined the channel
anyonebutme
Hi, I have a model for a gallery now (ish). I have a Photo model with two ImageFields, one image, one thumbnail, there is also a boolean generate_thumb, i would like to use pillow (or whatever else) to generate the thumb image field in the save(), how do i go about doing this?
realnot has quit
kinetic joined the channel
duoi
Hi, so I'm trying to get a list_display to work from a 1to1 model (i.e my model trolling is 1to1 with user, and appears as user.trolling, and this is admin.py for user). With the way I'm currently doing it it comes back as static https://dpaste.de/cRnv but I want it to be sortable like Majestic Unicorn http://imgur.com/XvW5r9v. Any ideas?
jessamynsmith joined the channel
jaddison joined the channel
Leeds joined the channel
astarrh joined the channel
jerbot joined the channel
csotelo has quit
kinetic has quit
ToApolytoXaos has quit
Dslegends joined the channel
astarrh has quit
jezdez joined the channel
karl164 joined the channel
karl164
hi can someone help me with the deployment of static files? I don't get it...
jaddison
karl164, it's quite well explained int he docs, no?
karl164
jaddison: i read it but it didn't helped me
pembo13 has quit
piquadrat joined the channel
jaddison
Where did you get confused?
schinckel
duoi: You need to set admin_order_field on the callable.