Links

   Quran Explorer - Interactive Audio Recitations & Translations

Thursday, May 8, 2014

Django QuerySet Operators

Supports the following
 
exact
iexact
contains
icontains
in
gt
gte
lt
lte
startswith
istartswith
endswith
iendswith
range
year
month
day
week_day
isnull
search
regex
iregex
 
 
Example: 
queryset = Tender.objects.filter(deadline__gt = datetime.datetime.now())
 

No comments:

Post a Comment

Feel free to leave a comment