Re: Tutorial part 4 - get_queryset

2017-10-17 Thread Tony King
Thanks James, that is a big help and I'm sure the link will provide some worthwhile extra reading, although I've clearly got a lot to learn anyway. Regards, Tony -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Tutorial part 4 - get_queryset

2017-10-17 Thread James Schneider
On Oct 17, 2017 4:44 AM, "tking" wrote: Hi, I've decided to teach myself Django and I'm enjoying the tutorial which I've so far found exceptionally detailed but I'm a bit confused by the get_queryset function in the IndexView class. Essentially my question is what calls this function? I alwa

Tutorial part 4 - get_queryset()

2017-10-17 Thread tking
Hi, I'm new and going through the tutorial and I'm having trouble understanding how the get_queryset() function in the IndexView is called, is this just an automatic part of using generic views? I had a look elsewhere in the documentation, primarily at generic views, and other examples seem t

Tutorial part 4 - get_queryset

2017-10-17 Thread tking
Hi, I've decided to teach myself Django and I'm enjoying the tutorial which I've so far found exceptionally detailed but I'm a bit confused by the get_queryset function in the IndexView class. Essentially my question is what calls this function? Is it automatically called when the class is us