Results of 1 - 10 of about 12 for country (0.022 sec.)
- Geolocation with GeoIP2 — Django 4.0.6 ドキュメント 13920
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t requires the geoip2 Python library and the GeoIP Country and/or City datasets in binary format (the CSV fil ...
es will not work!). Grab the GeoLite2-Country.mmdb.gz and GeoLite2-City.mmdb.gz files and unzip ...
gis.geoip2 import GeoIP2 >>> g = GeoIP2 () >>> g . country ( 'google.com' ) {'country_code': 'US', 'country_n ...
t_code': 'NA', 'continent_name': 'North America', 'country_code': 'US', 'country_name': 'United States', 'dma ...
-
https://man.plustar.jp/django/ref/contrib/gis/geoip2.html
- [similar]
- 組み込みタグとフィルタ — Django 4.0.6 ドキュメント 10365
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
いいでしょう: cities は "name" , "population" , and "country" をキーとして含むディクショナリによって表された都市 ...
'name' : 'Mumbai' , 'population' : '19,000,000' , 'country' : 'India' }, { 'name' : 'Calcutta' , 'population' ...
: '15,000,000' , 'country' : 'India' }, { 'name' : 'New York' , 'population' ...
: '20,000,000' , 'country' : 'USA' }, { 'name' : 'Chicago' , 'population' : ...
-
https://man.plustar.jp/django/ref/templates/builtins.html
- [similar]
- django.utils.translation — Django 4.0.6 ドキュメント 9922
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
(en-us) into a locale name (en_US).""" lang , _ , country = language . lower () . partition ( "-" ) if not c ...
haracters # capitalized; e.g. en-us becomes en_US. country , _ , tail = country . partition ( "-" ) country = ...
country . title () if len ( country ) > 2 else country . u ...
pper () if tail : country += "-" + tail return lang + "_" + country [ドキュメ ...
-
https://man.plustar.jp/django/_modules/django/utils/translation.html
- [similar]
- マイグレーション操作 — Django 4.0.6 ドキュメント 9109
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
sing RunPython to create some initial objects on a Country model: from django.db import migrations def forwar ...
we directly import it, it'll be the wrong version Country = apps . get_model ( "myapp" , "Country" ) db_alia ...
s = schema_editor . connection . alias Country . objects . using ( db_alias ) . bulk_create ([ Co ...
untry ( name = "USA" , code = "us" ), Country ( name = "France" , code = "fr" ), ]) def reverse_ ...
-
https://man.plustar.jp/django/ref/migration-operations.html
- [similar]
- 国際化とローカル化 — Django 4.0.6 ドキュメント 8207
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
fication of the form ll or a combined language and country specification of the form ll_CC . Examples: it , d ...
tn . The language part is always in lowercase. The country part is in titlecase if it has more than 2 charact ...
-
https://man.plustar.jp/django/topics/i18n/index.html
- [similar]
- フォーム API — Django 4.0.6 ドキュメント 7977
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
oordinatesBoundField ( BoundField ): @property def country ( self ): """ Return the country the coordinates l ...
""" value = self . value () if value : return get_country_from_coordinates ( value ) else : return None clas ...
form , self , field_name ) Now you can access the country in a template with {{ form.coordinates.country }} ...
-
https://man.plustar.jp/django/ref/forms/api.html
- [similar]
- Form fields — Django 4.0.6 ドキュメント 7888
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
fields. error_messages = { 'incomplete' : 'Enter a country calling code and a phone number.' , } # Or define ...
Field ( error_messages = { 'incomplete' : 'Enter a country calling code.' }, validators = [ RegexValidator ( ...
r '^[0-9]+$' , 'Enter a valid country calling code.' ), ], ), CharField ( error_messages ...
-
https://man.plustar.jp/django/ref/forms/fields.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 7853
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
unt() (django.db.models.query.QuerySet モジュール) country() (GeoIP2 のメソッド) country_code() (GeoIP2 のメソ ...
ッド) country_name() (GeoIP2 のメソッド) coupling loose CovarPop ...
のクラス) GeoIP2Exception GEOIP_CITY setting GEOIP_COUNTRY setting GEOIP_PATH setting geojson (GEOSGeometry の ...
MAT_MODULE_PATH GDAL_LIBRARY_PATH GEOIP_CITY GEOIP_COUNTRY GEOIP_PATH GEOS_LIBRARY_PATH HOST IGNORABLE_404_UR ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- GeoDjango Tutorial — Django 4.0.6 ドキュメント 7711
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s to the Django ORM. For example, you can find the country in the WorldBorder table that contains a particula ...
-
https://man.plustar.jp/django/ref/contrib/gis/tutorial.html
- [similar]
- ビルトインのクラスベースのジェネリックビュー — Django 4.0.6 ドキュメント 7711
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_province = models . CharField ( max_length = 30 ) country = models . CharField ( max_length = 50 ) website = ...
-
https://man.plustar.jp/django/topics/class-based-views/generic-display.html
- [similar]