Well, you can apply it to only the columns you care about, or you can give each column an appropriate min-width.
jaddison joined the channel
holler joined the channel
holler
how do I handle the case where I removed an old model but there is still a reference to it in an older migration
CrowX- has quit
jaddison has quit
scott_w has quit
scott_w joined the channel
k3va joined the channel
freundVonUns joined the channel
DLSteve joined the channel
freundVonUns has quit
kalail joined the channel
knbk has quit
scott_w has quit
freundVonUns joined the channel
scott_w joined the channel
fnstudio has quit
Ariel_Calzada joined the channel
scott_w has quit
freundVonUns
why do we need to save per-model permissions via content type for that model when only thing later to be checke for an user is the codename of the permission
checked*
kinda beginner question, just started learning django, so trying to understand how stuff works
knbk joined the channel
mattmcc
It's not really the only thing, you also use the app name.
freundVonUns
ok, maybe i dont understand well how is the certain permission later to be used. as to my knoweldge we check if user has a permission app_label:codename, say, somewhere in view. but why we had to make a contenttype for that model
k3va has quit
noobstrap has quit
noobstrap joined the channel
PaulN has quit
noobstrap has quit
Nightwalkerkg has quit
noobstrap joined the channel
noobstrap has quit
FunkyBob
sheldo: they use the same template lookup machinery as everything else
freundVonUns
oh
holler has quit
Linkandzelda has quit
noobstrap joined the channel
nimomo joined the channel
ekonstantinidis has quit
Linkandzelda joined the channel
nimomo has quit
shangxiao has quit
DLSteve has quit
doza joined the channel
doza has quit
fission6 joined the channel
nunchuck has quit
noobstrap has quit
robvdl has quit
bcSquared
Jesus I'm going in circles here between no cleaned_data errors and is_valid() missing 1 required positional argument: 'self' errors. here is my views.py https://dpaste.de/fcRq
would this be an instance of using save_m2m() since this is a inline_formset? According to the official docs, just says .save()
but to be fair, the official example looks to be updating the children of the parent. not trying to create both at the same time. :|
robvdl joined the channel
would it just be easier to break this up over two forms (two pages)? create the parent, then get redirected to creating the children? :\ not optimal by any means, but I may not have any choice.
blag has quit
mattmcc
bcSquared: The formset factory returns a class, not an instance.
knbk, I get a save() prohibited to prevent data loss due to unsaved related object 'rfq'.error. I also changed lines.save() to lines_formset.save()
and crap. hah
CAPITANOOO joined the channel
karanlyons joined the channel
tezro joined the channel
slick666_work joined the channel
karanlyons
Are celery tasks (the instances of the class themselves) reinitialized on each new task, or are they persisted for the lifetime of the worker?
slick666_work has quit
FunkyBob
karanlyons: I had always assumed lifetime of the worker
Lobstaman3 has quit
pupil joined the channel
karanlyons
It used to be the case, and then people were debating changing it, and I don't know what the eventual decision was.
k3va joined the channel
And celery's source is...not the easiest thing to grok.
k3va
Has anyone seen any good repos for a Django comparison shopping engine?
or any blogs to read up on CSE's?
FunkyBob
k3va: you mean like staticice? where it doesn't host the cart itself, just compares other sites?
Quitta joined the channel
k3va
I haven't heard of that before, but I'll check it out. Similiar to PcPartPicker
jessamynsmith joined the channel
cewing has quit
cewing joined the channel
SecondForm_Glenn joined the channel
jessamynsmith has quit
fnstudio joined the channel
halto joined the channel
nimomo joined the channel
CAPITANOOO has quit
Wanting to build something similar, yet I'm trying to wrap my head around schema design and some other nuances. Any direction would be gratefully accepted.