Yeah you are right
depending on my DB you may or may not be allowed to do a LIKE
comparison on that, try doing an exact match
Dates don't really 'contain' or 'start with'.
that doesn't really make sense, I can do lookups against the year
month or day by doing, __year, __month, or __day
On Fri, Jan 2, 2009 at 7:48 AM, Praveen wrote:
>
>
>
>By product name :
>
>By date approval :
>
>
>
>
> views.py
> import Q
>
> def proreport(request):
>query = request.GET.get('q', '')
>query1 = request.GET.get('p', '')
>print
By product name :
By date approval :
views.py
import Q
def proreport(request):
query = request.GET.get('q', '')
query1 = request.GET.get('p', '')
print query
print query1
if query and query1 :
qset = (
3 matches
Mail list logo