Okay, let's try again, and now try to include little details like this – such as, what message you are talking about.
holler joined the channel
sp1rs_ joined the channel
Where does that message come from? What validation?
workbean has quit
It might help a little bit if you posted the entire message, not just the model names.
holler has quit
holler joined the channel
neredenvy
Ok so super simple you can see https://dpaste.de/jice I have verbose_name defined in Meta and in field. I'm using DRF I submit a new record of this model with already existing name entry
sp1rs has quit
which will return a 400 response and message Car with this name already exists
garygraham has quit
meh nevermind
johnmilton has quit
koniiiik
*facepalm* So this entire time you're talking about something in the REST framework, is that correct?
I don't see *that* detail in anything you wrote before.
holler has quit
sprix has quit
benbacardi joined the channel
TakinOver joined the channel
jas02 joined the channel
ubuntu_aze has quit
TakinOver has quit
jas02 has quit
jas02_ joined the channel
FancyCamel joined the channel
johnmilton joined the channel
FancyCamel
Hey all, had a question earlier about urls and reversing to see if there's a way to do this besides creating a new url conf: https://dpaste.de/qvgE
Juzzika joined the channel
sp1rs joined the channel
staticshock_ joined the channel
sashav has quit
sp1rs_ has quit
sandcurves has quit
sashav joined the channel
ragsagar
FancyCamel, add another url?
FancyCamel
ragsagar: Yeah, I was just trying to avoid having patients/id/tags/ as the url and just passing it in in a hidden fashion.
But, I figured it wasn't possible. Oh well.
surfnturf_ joined the channel
darenthis has quit
neredenvy has quit
ragsagar
FancyCamel, you can put the `editable` as GET argument and modify the view based on it to use the same url.
amcorreia joined the channel
ragsagar has quit
FancyCamel
Oh, I just saw in a SO post that you can go like href="{%url 'myurl my.vars %}?get_vars='stuff'"
I don't know why I'd never thought of being able to append stuff at the end like that.
LysergicDreams joined the channel
keimlink joined the channel
hylje
it's just a template
Fuyou
FancyCamel, like anything else in templates
hylje
there's even mini template libraries that let you fuck around with get variables
subho joined the channel
or you can pass in a QueryDict to the template and just call its urlencode method to get the same effect
Fuyou using super complex regex url patternt to avoid get arguments
FancyCamel
Totally read that as "F U using super complex..." like you were getting mad at me for something, heh.
holler joined the channel
hylje
that's a good rule of thumb on the internet, always assume jimmies being rustled
staticshock_ has quit
Fuyou
FancyCamel, sorry, just for information my nick is not English at all. ) But I guess I should change it
stack has quit
stack_ joined the channel
FancyCamel
I obviously didn't take it that way, just made me giggle.
ozette joined the channel
CodeRobyn has quit
TakinOver joined the channel
Fuyou
Someone may see it offensive, I just never give a though about it.
holler has quit
hutch34_ joined the channel
holler joined the channel
holler has quit
alexanderh has quit
TakinOver has quit
FancyCamel
That lil ? tack on the end there just made me super pleased because I needed it for a different purpose.
:)
READ10 joined the channel
READ10 has quit
TakinOver joined the channel
mdzn
when can we expect django 1.10?
hylje
when it's done
hutch34_ has quit
poz3idon joined the channel
mdzn
oh, really?
hylje
there's some release candidates in the oven i think