that link talks a little about the issue, but not directly.
WalterJr has left the channel
stephanb has quit
yeah, I'm trying to figure out how to make the modelform's required be True. I can't figure out the syntax of doing that.
Itkovian joined the channel
ij
I've made a clean method for ModelForm and it's buggy. Upon callign full_clean, it doesn't seem to call my clean(), since no exceptions(that aren't ValidationErrors) appear.
i'm trying to run some test on the last_modified(auto_now=True) attribute of my model. does anyone know how its value could be editted?
kezabelle
either edit it in memory rather than persist to the DB, or use a queryset update query with a where filter for just the pk in question
kate_r
kezabelle: thanks
unvs_ has quit
dmclain has quit
Methodical joined the channel
haobug has quit
AndyRez joined the channel
diraol has quit
quansai has quit
silverfix has quit
MLM joined the channel
drag0nius has quit
ohrstrom has quit
quetzakubica has quit
aylo joined the channel
aylo
mmmmorning
enkrypt has quit
ojii has quit
MickeySoFine has quit
ohrstrom joined the channel
sayan has quit
AndyRez has quit
dmclain joined the channel
TodPunk has quit
mordonez joined the channel
enkrypt joined the channel
jheyrlla has quit
dheerajchand joined the channel
greg_f has quit
greg_f joined the channel
elyezer joined the channel
jeffisabelle has quit
kate_r has quit
kenbolton joined the channel
elyezer has quit
kenbolton has quit
jvalleroy joined the channel
dmclain has quit
nimomo joined the channel
acangiani joined the channel
ekke85 joined the channel
exaroth joined the channel
ekke85
can someone please help me, i've done a tutorial to create a blog and on my mac it work like it should, but on my ubuntu box it does not…this is the model https://dpaste.de/yCjV and on my mac if i do Post.live.all() it return only the posts that is marked as LIVE_STATUS but on the ubuntu box it returns everything
jlmitch5dev joined the channel
neutralizer joined the channel
doismellburning
ekke85: well, that looks like it should work
Nizumzen joined the channel
ekke85
it is driving me nuts
:|
kate_r joined the channel
exaroth has quit
kracekumar has quit
ohrstrom has quit
softinio joined the channel
kracekumar joined the channel
doismellburning
ekke85: debug harder; more tests etc.
kezabelle
show usage, etc
I'd guess that somewhere you're calling objects, not live.
ekke85
it is just really strange that it works on my mac but not on my ubuntu box
doismellburning
ekke85: I mean you're saying that `Post.live.all().filter(status=self.model.LIVE_STATUS)` is non-empty? have you verified this?