per page, with , order by , clip by
Results of 1 - 10 of about 12 for cities (0.009 sec.)
組み込みテンプレートタグとフィルタ — Django 6.1 ドキュメント 11921
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みテンプレートタグとフィルタ ¶ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーショ ... ジェクトのリストから、同じ属性値を持つオブジェクトのグループを作ります。 この複雑なタグは例を通して説明するのがいいでしょう: cities は "name" , "population" , and "country" をキーとして含むディクショナリによって表された都市のリストとします: cities = [ { ... で {% regroup %} タグを使って都市のリストを国別にグループ化できます。以下は、そのためのテンプレートコード例です: {% regroup cities by country as country_list %} < ul > {% for country in country_list %} < li > {{ country.grouper }} < ul > {% for city in ... の引数を取ります。グループ分けを行うリスト、グループ分けに使う属性の名前、そして結果とするリストの名前の 3 つです。ここでは cities リストを country 属性でグループ化し、その結果を country_list と呼んでいます。 {% regroup %} produces a list (in this case, ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
組み込みテンプレートタグとフィルタ — Django 6.1 ドキュメント 11921
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 組み込みテンプレートタグとフィルタ ¶ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーショ ... ジェクトのリストから、同じ属性値を持つオブジェクトのグループを作ります。 この複雑なタグは例を通して説明するのがいいでしょう: cities は "name" , "population" , and "country" をキーとして含むディクショナリによって表された都市のリストとします: cities = [ { ... で {% regroup %} タグを使って都市のリストを国別にグループ化できます。以下は、そのためのテンプレートコード例です: {% regroup cities by country as country_list %} < ul > {% for country in country_list %} < li > {{ country.grouper }} < ul > {% for city in ... の引数を取ります。グループ分けを行うリスト、グループ分けに使う属性の名前、そして結果とするリストの名前の 3 つです。ここでは cities リストを country 属性でグループ化し、その結果を country_list と呼んでいます。 {% regroup %} produces a list (in this case, ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
GDAL API — Django 6.1 ドキュメント 10524
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GDAL API ¶ 概要 ¶ GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of ... for testing. You can download them here: $ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/cities/cities. { shp,prj,shx,dbf } $ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/rasters/raste ... 、次のセクションを参照してください: >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "/path/to/your/cities.shp" ) >>> ds . name '/path/to/your/cities.shp' >>> ds . layer_count # This file only contains one layer 1 layer_count [ソ ... layer in ds : ... print ( 'Layer " %s ": %i %s s' % ( layer . name , len ( layer ), layer . geom_type . name )) ... Layer "cities": 3 Points 上記で読み込まれた都市データソースからの例の出力は、明らかに1つのレイヤーである "cities" を含み、その中に3つのポ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
GDAL API — Django 6.1 ドキュメント 10524
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GDAL API ¶ 概要 ¶ GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of ... for testing. You can download them here: $ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/cities/cities. { shp,prj,shx,dbf } $ wget https://raw.githubusercontent.com/django/django/main/tests/gis_tests/data/rasters/raste ... 、次のセクションを参照してください: >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( "/path/to/your/cities.shp" ) >>> ds . name '/path/to/your/cities.shp' >>> ds . layer_count # This file only contains one layer 1 layer_count [ソ ... layer in ds : ... print ( 'Layer " %s ": %i %s s' % ( layer . name , len ( layer ), layer . geom_type . name )) ... Layer "cities": 3 Points 上記で読み込まれた都市データソースからの例の出力は、明らかに1つのレイヤーである "cities" を含み、その中に3つのポ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 3.1 リリースノート — Django 6.1 ドキュメント 8224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1 リリースノート ¶ August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレ ... ContactInfo ( models . Model ): data = models . JSONField () ContactInfo . objects . create ( data = { "name" : "John" , "cities" : [ "London" , "Cambridge" ], "pets" : { "dogs" : [ "Rufus" , "Meg" ]}, } ) ContactInfo . objects . filter ( data__name = ... "John" , data__pets__has_key = "dogs" , data__cities__contains = "London" , ) . delete () If your project uses django.contrib.postgres.fields.JSONField , plus the related form ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 3.1 リリースノート — Django 6.1 ドキュメント 8224
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.1 リリースノート ¶ August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレ ... ContactInfo ( models . Model ): data = models . JSONField () ContactInfo . objects . create ( data = { "name" : "John" , "cities" : [ "London" , "Cambridge" ], "pets" : { "dogs" : [ "Rufus" , "Meg" ]}, } ) ContactInfo . objects . filter ( data__name = ... "John" , data__pets__has_key = "dogs" , data__cities__contains = "London" , ) . delete () If your project uses django.contrib.postgres.fields.JSONField , plus the related form ...
https://man.mtool.work/django/6.1/releases/3.1.html
django.urls ユーティリティ関数 — Django 6.1 ドキュメント 7764
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.urls ユーティリティ関数 ¶ reverse() ¶ reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使 ... /#no encoding is done' 注釈 reverse() によって返される文字列は、すでに URL エンコードされています 。例えば: >>> reverse ( "cities" , args = [ "Orléans" ]) '.../Orl%C3%A9ans/' reverse() の出力に対してさらにエンコーディング(例えば urllib.parse.quote() な ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
django.urls ユーティリティ関数 — Django 6.1 ドキュメント 7764
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » django.urls ユーティリティ関数 ¶ reverse() ¶ reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使 ... /#no encoding is done' 注釈 reverse() によって返される文字列は、すでに URL エンコードされています 。例えば: >>> reverse ( "cities" , args = [ "Orléans" ]) '.../Orl%C3%A9ans/' reverse() の出力に対してさらにエンコーディング(例えば urllib.parse.quote() な ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
GeoDjango データベース API — Django 6.1 ドキュメント 7517
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango データベース API ¶ 空間バックエンド (Spatial Backend) ¶ GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib ... s in this case) are assumed. >>> qs = SouthTexasCity . objects . filter ( point__distance_lte = ( pnt , 7000 )) # Find all Cities within 7 km, > 20 miles away, and > 100 chains away (an obscure unit) >>> qs = SouthTexasCity . objects . filter ( point__ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
GeoDjango データベース API — Django 6.1 ドキュメント 7517
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » GeoDjango データベース API ¶ 空間バックエンド (Spatial Backend) ¶ GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib ... s in this case) are assumed. >>> qs = SouthTexasCity . objects . filter ( point__distance_lte = ( pnt , 7000 )) # Find all Cities within 7 km, > 20 miles away, and > 100 chains away (an obscure unit) >>> qs = SouthTexasCity . objects . filter ( point__ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
PREV 1 2 NEXT