microdex2: If you don't know how deep, then you'll probably need to write a recursive (or iterative) function that will extract it.
limbera has left the channel
microdex2
Yeah just like that
So there is no standard library to do that? I have to write custom ?
papna
microdex2: There's a third party thing called JSONpath, but generally you just want to do the search yourself
tlab joined the channel
Ariel_Calzada joined the channel
sprix has quit
microdex2
ok
thanx
jeyraof joined the channel
sprix joined the channel
reentec joined the channel
reentec has quit
michalmo has quit
mingrammer__ joined the channel
reentec joined the channel
ubuntu_aze has quit
discopatrick has quit
microdex joined the channel
reentec has quit
microdex2 has quit
rpkilby joined the channel
ardu has quit
zxq9 has quit
tizz98 joined the channel
CtrlC has quit
efco joined the channel
rpkilby has quit
_zxq9_ joined the channel
badon has left the channel
dvl- joined the channel
dvl` has quit
ticketbot has quit
ticketbot joined the channel
mekhami
doismellburning ▸ any chancce you're around?
drkfdr has quit
sprix has quit
uestra joined the channel
sprix joined the channel
reentec joined the channel
PoliticsII joined the channel
AntiSpamMeta has quit
domino14 has quit
uestra has quit
RileyII has quit
reentec has quit
amcorreia joined the channel
AntiSpamMeta joined the channel
Ash_Crow has quit
Ritchie_ joined the channel
Ritchie_
hello all
keimlink has quit
grex joined the channel
I have a question regarding urls.py, maybe someone from you know how I can solve this
grex has quit
_zxq9_ joined the channel
In my database, I have agents (or people), each with different properties... so if I want to see all the properties from agent1 I have a simple pattern in urls, just as in the tutorial
badon joined the channel
and I would see it at... website.com/app/1 (as it is the agent's id)
djensen__ joined the channel
whaack joined the channel
Ritchie__ joined the channel
Ritchie__
I apologize, my connection got throttled
ak47 has quit
so... if I want to see the specifics of any property, I would check it as... website.com/app/1/1 (where the first # is the agent's id, and the second # is the property's id)
so within this scope, what's valid is the agent itself... and using .id would show/propagate its id... agent_id is a local variable I'm giving as argument to the linked url=
?
and I was using an empty variable instead of the value from database?
FunkyBob
agent_id= is something you're passing to the url tag... but the agent_id you specified... doesn't exist
right
Ritchie__
oh ok, thank you! I'll try this one
I appreciate it a lot
reentec joined the channel
CtrlC joined the channel
whaack has quit
sqwishy has quit
rpkilby joined the channel
notdaniel joined the channel
rpkilby has quit
btw, is it bad for it to be an EAV?
reentec has quit
FunkyBob
EAV is almost always a mistake
Ariel_Calzada has quit
Ritchie__
well... I don't know if it falls into an EAV model, but each 'property' would have a next level of data, and each of these, would have the final data for a 'user'