Results of 1 - 10 of about 47 for lower (0.024 sec.)
- django.contrib.gis.measure — Django 4.0.6 ドキュメント 13680
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
self . UNITS [ u ] * value default_unit = u else : lower = unit . lower () if lower in self . UNITS : val + ...
= self . UNITS [ lower ] * value default_unit = lower elif lower in self ...
. LALIAS : u = self . LALIAS [ lower ] val += self . UNITS [ u ] * value default_unit = ...
an exception if an attribute cannot be found. """ lower = unit_str . lower () if unit_str in cls . UNITS : ...
-
https://man.plustar.jp/django/_modules/django/contrib/gis/measure.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 13559
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
no bounds information is necessary. The default is lower bound included, upper bound excluded, that is [) ( ...
urns a range in a canonical form that includes the lower bound and excludes the upper bound, that is [) . B ...
urns a range in a canonical form that includes the lower bound and excludes the upper bound, that is [) . D ...
urns a range in a canonical form that includes the lower bound and excludes the upper bound, that is [) . Q ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 9713
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tiveをどのように扱うかに従って結果を並び替えます。 Lower によって小文字に変換したフィールドで並び替えること ...
並び替えを実現できます: Entry . objects . order_by ( Lower ( 'headline' ) . desc ()) クエリに対し、デフォルト ...
ate() : >>> from django.db.models.functions import Lower >>> Blog . objects . values ( lower_name = Lower ( ...
'name' )) <QuerySet [{'lower_name': 'beatles blog'}]> You can use built-in and ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 9272
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
that involve database functions like COALESCE and LOWER , or aggregates like SUM . They can be used direct ...
models import F , Func queryset . annotate ( field_lower = Func ( F ( 'field' ), function = 'LOWER' )) or t ...
ed to build a library of database functions: class Lower ( Func ): function = 'LOWER' queryset . annotate ( ...
field_lower = Lower ( 'field' )) But both cases will result in ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- django.utils.translation — Django 4.0.6 ドキュメント 9059
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
. find ( "_" ) if p >= 0 : return locale [: p ] . lower () + "-" + locale [ p + 1 :] . lower () else : ret ...
urn locale . lower () [ドキュメント] def to_locale ( language ): """T ...
e name (en_US).""" lang , _ , country = language . lower () . partition ( "-" ) if not country : return lan ...
guage [: 3 ] . lower () + language [ 3 :] # A language with > 2 charact ...
-
https://man.plustar.jp/django/_modules/django/utils/translation.html
- [similar]
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 9059
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
場合、次のように関数の第2引数を省略してください: def lower ( value ): # Only one argument. """Converts a stri ...
ng into all lowercase""" return value . lower () 独自のフィルタを登録 ...
ster . filter ( 'cut' , cut ) register . filter ( 'lower' , lower ) Library.filter() メソッドは 2 つの引数を ...
alue . replace ( arg , '' ) @register . filter def lower ( value ): return value . lower () name 引数を省略 ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]
- Database Functions — Django 4.0.6 ドキュメント 8725
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
rom django.db.models.functions import JSONObject , Lower >>> Author . objects . create ( name = 'Margaret S ...
. annotate ( json_object = JSONObject ( ... name = Lower ( 'name' ), ... alias = 'alias' , ... age = F ( 'a ...
Author . objects . filter ( name__length__gt = 7 ) Lower ¶ class Lower ( expression , ** extra ) ¶ Accepts ...
a single text field or expression and returns the lowercase representation. It can also be registered as a ...
-
https://man.plustar.jp/django/ref/models/database-functions.html
- [similar]
- PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 8512
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
name of the operator class . 例: Index ( OpClass ( Lower ( 'username' ), name = 'varchar_pattern_ops' ), na ...
me = 'lower_username_idx' , ) creates an index on Lower('usern ...
-
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html
- [similar]
- django.core.validators — Django 4.0.6 ドキュメント 8178
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
is valid. scheme = value . split ( "://" )[ 0 ] . lower () if scheme not in self . schemes : raise Validat ...
try : return ip_address_validator_map [ protocol . lower ()] except KeyError : raise ValueError ( "The prot ...
None : allowed_extensions = [ allowed_extension . lower () for allowed_extension in allowed_extensions ] s ...
xtension = Path ( value . name ) . suffix [ 1 :] . lower () if ( self . allowed_extensions is not None and ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- django.contrib.postgres.validators — Django 4.0.6 ドキュメント 8071
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
idator ): def compare ( self , a , b ): return a . lower is None or a . lower < b message = _ ( "Ensure tha ...
-
https://man.plustar.jp/django/_modules/django/contrib/postgres/validators.html
- [similar]