Results of 11 - 20 of about 135 for returns (0.049 sec.)
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 7666
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
d afterward). distinct() ¶ distinct ( * fields ) ¶ Returns a new QuerySet that uses SELECT DISTINCT in its SQ ...
values() ¶ values ( * fields , ** expressions ) ¶ Returns a QuerySet that returns dictionaries, rather than ...
except that instead of returning dictionaries, it returns tuples when iterated over. Each tuple contains the ...
dates() ¶ dates ( field , kind , order = 'ASC' ) ¶ Returns a QuerySet that evaluates to a list of datetime.da ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Geolocation with GeoIP2 — Django 4.0.6 ドキュメント 7485
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e valid query parameters. GeoIP2. city ( query ) ¶ Returns a dictionary of city information for the given que ...
be undefined ( None ). GeoIP2. country ( query ) ¶ Returns a dictionary with the country code and country for ...
the given query. GeoIP2. country_code ( query ) ¶ Returns the country code corresponding to the query. GeoIP ...
2. country_name ( query ) ¶ Returns the country name corresponding to the query. Coord ...
-
https://man.plustar.jp/django/ref/contrib/gis/geoip2.html
- [similar]
- リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 7269
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ymous users. メソッド ¶ HttpRequest. get_host () ¶ Returns the originating host of the request using informat ...
equest . META [ field ] = parts [ - 1 ] . strip () return self . get_response ( request ) This middleware sho ...
or CsrfViewMiddleware . HttpRequest. get_port () ¶ Returns the originating port of the request using informat ...
es, in that order. HttpRequest. get_full_path () ¶ Returns the path , plus an appended query string, if appli ...
-
https://man.plustar.jp/django/ref/request-response.html
- [similar]
- Multiple object mixins — Django 4.0.6 ドキュメント 7052
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
義する、文字列(または文字列のイテラブル)を返します。 Returns ordering by default. paginate_queryset ( queryset ...
, page_size ) ¶ Returns a 4-tuple containing ( paginator , page , object_l ...
cts from that page. get_paginate_by ( queryset ) ¶ Returns the number of items to paginate by, or None for no ...
pagination. By default this returns the value of paginate_by . get_paginator ( queryse ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-multiple-object.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 7016
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using def ...
ngth = 200 ), blank = True ) def __str__ ( self ): return self . name contains ¶ The contains lookup is overr ...
Post: Second post>, <Post: Third post>]> overlap ¶ Returns objects where the data shares any results with the ...
>, <Post: Second post>, <Post: Third post>]> len ¶ Returns the length of the array. The lookups available aft ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- django.urls functions for use in URLconfs — Django 4.0.6 ドキュメント 6763
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h ( route , view , kwargs = None , name = None ) ¶ Returns an element for inclusion in urlpatterns . For exam ...
h ( route , view , kwargs = None , name = None ) ¶ Returns an element for inclusion in urlpatterns . For exam ...
lso accepts as an argument either an iterable that returns URL patterns or a 2-tuple containing such iterable ...
ure it accepts request and exception arguments and returns an HttpResponseBadRequest . handler403 ¶ handler40 ...
-
https://man.plustar.jp/django/ref/urls.html
- [similar]
- GIS QuerySet API リファレンス — Django 4.0.6 ドキュメント 6655
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ly ¶ Availability : PostGIS , PGRaster (Bilateral) Returns true if the lookup geometry intersects the interio ...
ometries for spheroid based lookups. distance_gt ¶ Returns models where the distance to the geometry field fr ...
SpatiaLite Distance(poly, geom) > 5 distance_gte ¶ Returns models where the distance to the geometry field fr ...
SpatiaLite Distance(poly, geom) >= 5 distance_lt ¶ Returns models where the distance to the geometry field fr ...
-
https://man.plustar.jp/django/ref/contrib/gis/geoquerysets.html
- [similar]
- mixinを編集する — Django 4.0.6 ドキュメント 6583
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ Retrieve initial data for the form. By default, returns a copy of initial . get_form_class () ¶ Retrieve t ...
() ¶ Determine the prefix for the generated form. Returns prefix by default. get_success_url () ¶ Determine ...
direct to when the form is successfully validated. Returns success_url by default. form_valid ( form ) ¶ Redi ...
direct to when the form is successfully validated. Returns django.views.generic.edit.ModelFormMixin.success_u ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html
- [similar]
- Measurement Objects — Django 4.0.6 ドキュメント 6475
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
h uses squared units of measure: >>> a = d1 * d2 # Returns an Area object. >>> print ( a ) 40.2336 sq_km To d ...
t = Distance ( mi = 5 ) __getattr__ ( unit_att ) ¶ Returns the distance value in units corresponding to the g ...
) 8.04672 classmethod unit_attname ( unit_name ) ¶ Returns the distance unit attribute name for the given ful ...
a = Area ( sq_mi = 5 ) __getattr__ ( unit_att ) ¶ Returns the area value in units corresponding to the given ...
-
https://man.plustar.jp/django/ref/contrib/gis/measure.html
- [similar]
- The Django template language: for Python programmers — Django 4.0.6 ドキュメン... 6402
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
he {% load %} tag. static Engine. get_default () ¶ Returns the underlying Engine from the first configured Dj ...
late_code ) ¶ Compiles the given template code and returns a Template object. Engine. get_template ( template ...
ds a template with the given name, compiles it and returns a Template object. Engine. select_template ( templ ...
t_template() , except it takes a list of names and returns the first template that was found. Loading a templ ...
-
https://man.plustar.jp/django/ref/templates/api.html
- [similar]