Re: Error: NoReverseMatch at / Reverse for 'submit' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried:[u'$submit'/]

2016-01-04 Thread Víctor Suárez
I don't see a namespace on url.py https://docs.djangoproject.com/en/1.9/intro/tutorial03/#namespacing-url-names On Monday, January 4, 2016 at 7:16:32 AM UTC-5, Robbie Sharma wrote: > > I have python and django loaded on my RaspberryPi that is wired to an LED > array. The web app 'iofcontrol' in

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 develo

hello. get_queryset question

2016-01-03 Thread Víctor Suárez
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 needing help with one part of the Views. I'm using a generic.ListView, nothing fancy, but then, as the