These are chat archives for django/django

15th
Jan 2018
Christoph Müller
@cmllr
Jan 15 2018 10:21
Hey guys, is there a common pitfall that Model.objects.all() returns a string instead of an object?
wilfred
@fred4impact
Jan 15 2018 12:18
thank you for this link @badcoder28
FrankGwada
@skafis
Jan 15 2018 13:08
hello every one, is it possible to set the verbose_name in the meta class of the model at will? that is the user can be able to change the name to what he wants
FrankGwada
@skafis
Jan 15 2018 13:22
@cmllr i don't think so unless you explicitly convert the object to string
Christoph Müller
@cmllr
Jan 15 2018 13:26
okay, thank you, I also just realized that I used a wrong JSON serializer isntead of django.http.JsonResponse.. Is there any possibility to include relations in the json, too?
Roel
@roelzkie15
Jan 15 2018 13:54
@fred4impact :thumbsup:
djangoReactGuy
@SanskarSans
Jan 15 2018 14:58
Has anyone used django oscar?
I am trying to understand the code and flow but I did not find where the form is for adding to the basket
image.png
here variant option, i could not find from the code
Can anyone help me, please?