per page, with , order by , clip by
Results of 1 - 10 of about 11 for localize (0.008 sec.)
表示形式のローカライズ 14385
表示形式のローカライズ 概要 Django の表示形式システムは、カレント ロケール に合った表示形式を使って日付、時刻、数値をテンプレート内で表示することができます。また、フォームでのローカライズされた入力も処理します。 同じコンテンツにアクセスする ... (省略された月名)、 %B (月名)、 %p (AM/PM) を使うことができません。 フォームフィールドの入出力データをローカライズするには localize 引数を使います: class CashRegisterForm ( forms . Form ): product = forms . CharField () revenue = forms . DecimalField ( m ... ax_digits = 4 , decimal_places = 2 , localize = True ) Locale specific helpers For country specific form fields, validation, and data formats that are not included in D ... jango itself, consider using the django-localflavor package, which provides localized form fields and utilities for many countries and regions ( documentation ). テンプレート内でローカライズをコントロールする ...
https://man.mtool.work/django/6.1/topics/i18n/formatting.html
フォーム フィールド 9157
フォーム フィールド class Field [ソース] Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの検証ロジックがあり、他にいくつかのフックもあります。 Field. clean ( value ) [ソース] Field クラス ... 引数は、フィールドに対するバリデーション関数のリストを指定します。 詳しくは バリデータのドキュメント を参照してください。 localize Field. localize localize 引数は、form データの入力とレンダリングした出力のローカライズを有効にします。 詳細については、 フ ... 式のローカライズ も参照してください。 DecimalField class DecimalField ( ** kwargs ) [ソース] デフォルトのウィジェット: Field.localize が False のとき NumberInput 、 True のとき TextInput . 空の値: None 正規化後の値: Python の decimal になります。 指定された ... . fields [ "my_file" ] . set_choices () FloatField class FloatField ( ** kwargs ) [ソース] デフォルトのウィジェット: Field.localize が False のとき NumberInput 、 True のとき TextInput . 空の値: None 正規化後の値: Python の float になります。 指定された値 ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
Django 4.0 リリースノート 9033
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... e datetimes in UTC are unaffected. However, if you are working with non-UTC time zones, and using the pytz normalize() and localize() APIs, possibly with the TIME_ZONE setting, you will need to audit your code, since pytz and zoneinfo are not entirely eq ... ate template from Django 3.2. The floatformat template filter no longer depends on the USE_L10N setting and always returns localized output. Use the u suffix to disable localization. The default value of the USE_L10N setting is changed to True . See the ... 10N is deprecated as of this release. Starting with Django 5.0, by default, any date or number displayed by Django will be localized. The {% localize %} tag and the localize / unlocalize filters will still be honored by Django. その他 SERIALIZE test sett ...
https://man.mtool.work/django/6.1/releases/4.0.html
モデルフィールドリファレンス 8357
モデルフィールドリファレンス このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field のすべての API リファレンスが記載されています。 注釈 フィールドは django.db.models.fields に定義 ... models . DecimalField ( ... , max_digits = 19 , decimal_places = 10 ) このフィールドのデフォルトのフォームウィジェットは、 localize が False のとき NumberInput で、そうでなければ TextInput となります。 注釈 FloatField クラスと DecimalField クラスの違いに ... ソース] float インスタンスによって表される Python の浮動小数点数です。 このフィールドのデフォルトのフォームウィジェットは、 localize が False のとき NumberInput で、そうでなければ TextInput となります。 FloatField と DecimalField の比較 FloatField クラスは ... 、デフォルトのデータベースがサポートする値に基づいて入力を検証します。 このフィールドのデフォルトのフォームウィジェットは、 localize が False のとき NumberInput で、そうでなければ TextInput となります。 JSONField class JSONField ( encoder = None , decoder ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 3.1 リリースノート 8232
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... moved to django.forms.fields . The undocumented django.contrib.postgres.fields.jsonb.JsonAdapter class is removed. The {% localize off %} tag and unlocalize filter no longer respect DECIMAL_SEPARATOR setting. The minimum supported version of asgiref is ...
https://man.mtool.work/django/6.1/releases/3.1.html
索引 8126
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... ) localdate() (django.utils.timezone モジュール) LOCALE_PATHS setting LocaleMiddleware (django.middleware.locale のクラス) localize template filter template tag localize (Field の属性) localized_fields (ModelFormOptions の属性) localtime template filter ...
https://man.mtool.work/django/6.1/genindex.html
ウィジェット 8126
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... ブラウザが number input タイプへローカライズされた数値を入力することをサポートしていない点に注意してください。Django 自身、 localize プロパティが True にセットされたフィールドでは、これらを使用しません。 EmailInput class EmailInput [ソース] input_type : ' ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
Django 1.11 リリースノート 8126
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... (たとえば <select> オプション) が、 settings.USE_L10N=True の場合にローカル化されるようになりました。ローカル化を無効にする localize テンプレートタグを使ったカスタムウィジェットテンプレートを使用すれば、旧来の動作に戻すことができます。 django.template.bac ...
https://man.mtool.work/django/6.1/releases/1.11.html
Django 1.6 リリースノート 8126
Django 1.6 リリースノート 注釈 Dedicated to Malcolm Tredinnick On March 17, 2013, the Django project and the free software community lost a very dear friend and developer. Malcolm was a long-time contributor to Django, a model community mem ... ble in HTML5 ( type='email' , type='url' , type='number' ). Note that due to erratic support of the number input type with localized numbers in current browsers, Django only uses it when numeric fields are not localized. The number argument for lazy plur ... ルして、 その後 Pillow をインストールする必要があります。 ModelForm accepts several new Meta options. Fields included in the localized_fields list will be localized (by setting localize on the form field). The labels , help_texts and error_messages options ...
https://man.mtool.work/django/6.1/releases/1.6.html
設定 8019
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... た、与えられた文字列に対して、ユーザの好む言語に対応する翻訳が存在しない場合にも、この設定が利用されます。 ローカライズが unlocalize フィルターや {% localize off %} タグで明示的に無効にされた場合、代わりにフォールバックのローカライズ形式が適用されます。詳 ...
https://man.mtool.work/django/6.1/ref/settings.html
PREV 1 2 NEXT