Дjango Lookup Snippets
Snippets for Django ORM Query Lookup
Details
Installs
- Total 7K
- Win 3K
- Mac 1K
- Linux 2K
Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | Jul 13 | Jul 12 | Jul 11 | Jul 10 | Jul 9 | Jul 8 | Jul 7 | Jul 6 | Jul 5 | Jul 4 | Jul 3 | Jul 2 | Jul 1 | Jun 30 | Jun 29 | Jun 28 | Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 |
Mac | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
sublime-django-lookup
Trigger Table
These snippet's scope is meta.function-call.arguments.python
, so they will only trigger in function call's parenthesis ()
, instead of mess up with other python meta method snippets like __init__
.
Trigger | Lookup |
---|---|
__in | field __isnull=True , |
__g | field __gt=0 , |
__ge | field __gte=0 , |
__l | field __lt=0 , |
__le | field __lte=0 , |
__i | field __in=[] , |
__r | field __range=(start_value , end_value ), |
__e | field __exact=None , |
__ie | field __iexact=None , |
__s | field __search='string' , |
__c | field __contains='string' , |
__ic | field __icontains='string' , |
__iew | field __iendswith='string' , |
__ew | field __endswith='string' , |
__ss | field __startswith='string' , |
__iss | field __istartswith='string' , |
__re | field __regex=r'^reg-exp' , |
__ir | field __iregex=r'^reg-exp' , |
__y | field __year=2020 , |
__mon | field __month=1-12 , |
__d | field __day=1-31 , |
__h | field __hour=0-23 , |
__min | field __minute=0-59 , |
__sec | field __second=0-59 , |
__w | field __week_day=Sun_as_1_Sat_as_7 , |
__dt | field __date=datetime.today() |