0:01 AM
MarbinDrakon joined the channel
0:01 AM
zeograd has quit
0:01 AM
moneydouble joined the channel
0:03 AM
LysergicDreams has quit
0:04 AM
culturelabs has quit
0:07 AM
valgrind has quit
0:07 AM
Terminus
how do i use {% url ... %} with class based views?
0:08 AM
BunkyFob joined the channel
0:08 AM
ktosiek has quit
0:08 AM
WoLpH joined the channel
0:08 AM
mattmcc
Exactly the same. Your urlpatterns have names, right?
0:08 AM
BunkyFob
not all free wifi are created equal :/
0:09 AM
brandonw has quit
0:10 AM
ktosiek joined the channel
0:11 AM
Terminus
mattmcc: uh... didn't put names. i just relied on full paths to the view function. guess i'll add those now. thanks.
0:11 AM
mattmcc
Names are better for almost all cases, because they let you use the same view twice.
0:12 AM
And of course you should be able to change the view for a given pattern without having to edit your templates.
0:13 AM
BunkyFob has quit
0:14 AM
mgrouchy joined the channel
0:16 AM
jeffisabelle has quit
0:16 AM
Terminus
0:16 AM
BunkyFob joined the channel
0:17 AM
mattmcc
Yeah.
0:17 AM
drodger joined the channel
0:19 AM
Terminus
got it. i've been getting by with just capturing stuff from regex to do the same thing.
0:21 AM
LysergicDreams joined the channel
0:22 AM
keimlink has quit
0:22 AM
mikeliss joined the channel
0:22 AM
oubiga has quit
0:23 AM
mikeliss
Is there an easy way to confirm that a prefetch_related call is actually working?
0:23 AM
kenbolton joined the channel
0:23 AM
BunkyFob has quit
0:23 AM
mattmcc
SQL logs?
0:23 AM
sohail has quit
0:23 AM
0:23 AM
wowi_ joined the channel
0:23 AM
mikeliss
mattmcc: yeah...had a feeling that might be the answer. I don't think I have that enabled.
0:24 AM
mattmcc: Oh, I didn't realize this went to the Django logs. Nice.
0:27 AM
Bosox20051 joined the channel
0:27 AM
LysergicDreams has quit
0:30 AM
djapo joined the channel
0:31 AM
mattmcc: You've made my day, thanks.
0:32 AM
CapnKernel has quit
0:35 AM
bender314 has quit
0:35 AM
MarbinDrakon has quit
0:37 AM
wowi_ has quit
0:38 AM
jdunck
0:39 AM
Leeds joined the channel
0:39 AM
asbjxrn joined the channel
0:39 AM
CapnKernel joined the channel
0:39 AM
0:40 AM
wowi_ joined the channel
0:41 AM
foist has quit
0:45 AM
nicklo joined the channel
0:48 AM
mihasya joined the channel
0:48 AM
mihasya has quit
0:48 AM
mihasya joined the channel
0:49 AM
mihasya has quit
0:49 AM
mihasya joined the channel
0:51 AM
culturelabs joined the channel
0:55 AM
LysergicDreams joined the channel
0:56 AM
minim joined the channel
0:57 AM
famousfilm has quit
0:57 AM
sohail joined the channel
0:58 AM
mihasya has quit
1:04 AM
luyikei_ joined the channel
1:05 AM
xchu joined the channel
1:08 AM
mgrouchy has quit
1:08 AM
adrian_lc has quit
1:13 AM
neataroni joined the channel
1:14 AM
rahulkmr has quit
1:15 AM
mgrouchy joined the channel
1:20 AM
rafaqueque has quit
1:22 AM
mgrouchy has quit
1:23 AM
FunkyBob
so quiet
1:25 AM
mattmcc
Sssh. We're writing unit tests.
1:25 AM
sudobangbang joined the channel
1:26 AM
kenbolton has quit
1:28 AM
kenbolton joined the channel
1:30 AM
m8 has quit
1:30 AM
kenbolton has quit
1:31 AM
rahulkmr joined the channel
1:32 AM
katsh joined the channel
1:32 AM
katsh is now known as traets
1:32 AM
toli joined the channel
1:34 AM
_andyj_ joined the channel
1:35 AM
ArcTanSusan has quit
1:35 AM
MarbinDrakon joined the channel
1:35 AM
traets has quit
1:35 AM
deese has left the channel
1:37 AM
minim has quit
1:38 AM
nxvl has quit
1:38 AM
imom0 joined the channel
1:39 AM
nxvl joined the channel
1:41 AM
dray3 joined the channel
1:42 AM
rahulkmr has quit
1:43 AM
imom0 has quit
1:45 AM
katsh joined the channel
1:47 AM
faldridge joined the channel
1:47 AM
Titanomachy joined the channel
1:49 AM
wowi_ has quit
1:50 AM
lurkerA joined the channel
1:51 AM
jhh_ has quit
1:52 AM
lurkerA has quit
1:54 AM
rahulkmr joined the channel
1:55 AM
rahulkmr has quit
1:56 AM
toli has quit
2:00 AM
PoliticsII has quit
2:01 AM
ArcTanSusan joined the channel
2:02 AM
rahulkmr joined the channel
2:05 AM
loriot has quit
2:06 AM
eka joined the channel
2:08 AM
DeltaHeavy has quit
2:08 AM
RileyII joined the channel
2:09 AM
rahulkmr has quit
2:10 AM
mihasya joined the channel
2:10 AM
mihasya has quit
2:10 AM
mihasya joined the channel
2:10 AM
dray3 has quit
2:14 AM
foist joined the channel
2:15 AM
katsh has quit
2:19 AM
munichlinux joined the channel
2:20 AM
jasondot_ joined the channel
2:21 AM
neataroni has quit
2:22 AM
faldridge has quit
2:23 AM
blorenz_ joined the channel
2:24 AM
fvdjango has quit
2:25 AM
mihasya has quit
2:25 AM
nicklo has quit
2:26 AM
TDJACR has quit
2:27 AM
mihasya joined the channel
2:29 AM
nicklo joined the channel
2:30 AM
faldridge joined the channel
2:30 AM
mihasya has quit
2:30 AM
TDJACR joined the channel
2:33 AM
Titanomachy has quit
2:36 AM
foist has quit
2:37 AM
munichlinux has quit
2:38 AM
toli joined the channel
2:38 AM
faldridge has quit
2:40 AM
jimfmunro joined the channel
2:40 AM
mribeirodantas joined the channel
2:42 AM
Siecje has quit
2:44 AM
powellc joined the channel
2:46 AM
santiissopasse joined the channel
2:50 AM
jimfmunro
I have a DetailView class that implements a basic get_object method . I would like to refer to an attribute of my object in the get_context_data method, what is the easiest way to do this?
2:51 AM
FunkyBob
self.object.foo
2:51 AM
mgrouchy joined the channel
2:52 AM
chrisjones has quit
2:52 AM
jimfmunro
awesome. that's what I was looking for! Thanks FunkyBob!!