just curious….has anyone heard of Cookicuter-django?
nichi[m] joined the channel
FunkyBob
yes
mfcovington has quit
EyePulp joined the channel
Info-Screen has quit
szicari joined the channel
szicari has quit
Info-Screen joined the channel
samuelpiecz joined the channel
tdy has quit
scunion has quit
scunion joined the channel
samuelpiecz has quit
kgoetz joined the channel
john2x joined the channel
ubernostrum joined the channel
vlt joined the channel
BuffaloSoldier joined the channel
babykosh has quit
kloudi has quit
Ryanar joined the channel
NomadJim has quit
NomadJim joined the channel
Dunedan_ joined the channel
samuelpiecz joined the channel
NomadJim has quit
Dunedan has quit
NomadJim joined the channel
listenmore has quit
kloudi joined the channel
listenmore joined the channel
samuelpiecz has quit
mfcovington joined the channel
ldl joined the channel
lavalamp joined the channel
bradfordli123 has quit
jalalsfs joined the channel
mfcovington has quit
samuelpiecz joined the channel
tdy joined the channel
jalalsfs_ has quit
Ryanar
mcspud hey just got back home so went to try that out, the one issue I am seeing is that `serializer.RelatedField` is used to redefine how a field on the model is actually represented
but in this case I do not have a `current_answer` field on the Question model
Hmm, is there a good way to return objects to the template in groups?
nkuttler
what's a group?
FunkyBob raise the XY-problem flag
helical joined the channel
sms
I have the ability for users to show interest in posts, the interests are just a model with a fkey to the post and the user who showed interest
Now in the template I want to show on the posts the users who showed interest
I'm probably missing a piece here, because currently I'm just organizing it with an Interested model that's just a fkey to the post and the interested user
helical has quit
nkuttler
sms: iterate the_post.interest_set.all ?
sms
But let's say I have a view with a bunch of different posts by the same user, each post has different interested users, how do I go about organizing that
Hmm
nkuttler
well, start by deciding how to organize it, then build the query
samuelpiecz joined the channel
slalf joined the channel
samuelpiecz has quit
mfcovington joined the channel
sms
Ah, I didn't realize you could queury backwards like that actually nkuttler
mfcovington has quit
BreakerZero joined the channel
Wait, IS that possible? Getting the interested users through the Post instead?
mfcovington joined the channel
I saw interests come up as a object attribute, but when i try to p.interests I get an AttributeError