These are chat archives for django/django

25th
Jan 2018
Karl
@karldoenitz
Jan 25 2018 03:59
Hi, everyone. I love python and django.
Thanks django developers.
Karl
@karldoenitz
Jan 25 2018 04:57
https://gitter.im/karlooper/Lobby wellcome join my chat room.
Mukul Agrawal
@mukul09
Jan 25 2018 11:39
hi. I want to know that how get_queryset method in django find which template to use, if I do not specify the template_name in the class
Kyle Mulka
@mulka
Jan 25 2018 12:06
get_queryset doesn’t determine the template at all. Take a look at get_template_names
Mukul Agrawal
@mukul09
Jan 25 2018 12:34
http://oi67.tinypic.com/s42jpu.jpg
@mulka could u please take a look at the image and help me through the question
Verda Vulpo
@verdavulpo_twitter
Jan 25 2018 15:42
Hello
Alex Daigle
@deepio
Jan 25 2018 15:50
Hi
Verda Vulpo
@verdavulpo_twitter
Jan 25 2018 16:00
@deepio Do you know JS and node.js maybe?
Alex Daigle
@deepio
Jan 25 2018 16:02
A little, sup?
Luke-VideoLibre
@LukeVideo
Jan 25 2018 16:37
@mukul09 Your obviously using generic views . You are using Listview in your class constructor so you inherit of ClassView that has ( i guess) it's own template
mohammadreza
@ultra2mh
Jan 25 2018 17:37
when should we use DRF or RestApi for project ? should i use rest api for my angular-django project ? im currently using angular static files without using rest api
Luke-VideoLibre
@LukeVideo
Jan 25 2018 22:05
Don't know much about angular, but with react i used API calls to get data from django using DRF. You separate your backend and frontend that way. And thanks to DRF you don't have to reload your page everytime you get new data.