Re: hello. get_queryset question

2016-01-04 Thread Víctor Suárez
Thank you very much man I can like this framework like a lot I end up with: class MyModel(ListView): ... q = self.request.GET.get('q',default='') country = self.request.GET.get('country',default='') owner = self.request.GET.get('owner',default='') self.queryset

Re: hello. get_queryset question

2016-01-04 Thread Víctor Suárez
Thanks! On Sunday, January 3, 2016 at 9:28:47 PM UTC-5, Vijay Khemlani wrote: > > Try with > > self.request.GET['name'] > > On Sun, Jan 3, 2016 at 11:22 PM, Víctor Suárez > wrote: > >> Hello all, >> as it's my first post, if any django developer around, nice work! I >> appreciate the package, I'

Re: hello. get_queryset question

2016-01-03 Thread James Schneider
On Sun, Jan 3, 2016 at 6:28 PM, Vijay Khemlani wrote: > Try with > > self.request.GET['name'] > Yes, this is is what you want. Normally, though, I've seen it written as self.request.GET.get('name'). This calls the .get() dict method on the GET attribute of the request, which will return None in

Re: hello. get_queryset question

2016-01-03 Thread Jai Goyal
Hello All, Greetings of New Year !! I wanted to ask that i have just started web development and i wanted to learn django in deep by making a full dynamic website. What Should Be the path which i should follow i.e. what are the prerequisites which i have to fulfill to become a full stack Django

Re: hello. get_queryset question

2016-01-03 Thread Vijay Khemlani
Try with self.request.GET['name'] On Sun, Jan 3, 2016 at 11:22 PM, Víctor Suárez wrote: > Hello all, > as it's my first post, if any django developer around, nice work! I > appreciate the package, I've been able to pull a small project I had in > mind for long, very easily with this. > > I am n