per page, with , order by , clip by
Results of 1 - 10 of about 13 for localized (0.004 sec.)
モデルフォーム 14111
モデルフォーム ModelForm API リファレンス。 ModelForm の使用に関する入門的な資料は、トピックガイドの モデルからフォームを作成する を参照してください。 モデルフォームの Meta API class ModelFormOptions [ソース] The _meta API is used to build ... ttributes 必要な属性は、まず model と、それから fields または exclude のいずれかです。その他の Meta 属性の設定は任意です。 localized_fields と formfield_callback を除く設定任意の属性には、モデルフィールド名をキーとしてそれぞれの値に対応づけた辞書型を指定し ... 。 指定されていないフィールドについては、 Django はモデルフィールドの verbose_name 、ついでフィールドの属性名を適用します。 localized_fields ModelFormOptions. localized_fields ローカライズする model のフィールド名のタプルまたはリスト。値を '__all__' にする ... delform_factory ( model , form = ModelForm , fields = None , exclude = None , formfield_callback = None , widgets = None , localized_fields = None , labels = None , help_texts = None , error_messages = None , field_classes = None ) [ソース] 与えられた mod ...
https://man.mtool.work/django/6.1/ref/forms/models.html
モデルからフォームを作成する 10011
モデルからフォームを作成する ModelForm class ModelForm [ソース] データベース中心のアプリケーションを作成している場合、Django モデルに密接にマップするフォームを使うことになるでしょう。例えば、 BlogComment モデルを持っていて、閲覧者がコメント ... ルトでは、 ModelForm 内のフィールドはデータをローカライズしません。フィールドのデータをローカライズするには、 Meta クラスの localized_fields 属性が使用できます。 >>> from django.forms import ModelForm >>> from myapp.models import Author >>> class AuthorFor ... m ( ModelForm ): ... class Meta : ... model = Author ... localized_fields = [ 'birth_date' ] localized_fields が特殊な値 '__all__' にセットされた場合、全てのフィールドがローカライズされます ... ... 特定のフィールドのローカライズを有効にすることもできます: >>> Form = modelform_factory ( Author , form = AuthorForm , localized_fields = [ "birth_date" ]) モデルのフォームセット class models. BaseModelFormSet 通常のフォームセット のように、 Django は ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
Django 1.10.2 リリースノート 9624
Django 1.10.2 リリースノート October 1, 2016 Django 1.10.2 fixes several bugs in 1.10.1. バグ修正 Fixed a crash in MySQL database validation where SELECT @@sql_mode doesn't return a result ( #27180 ). Allowed combining contrib.postgres.sear ... om_data() . Fixed a crash in runserver logging during a "Broken pipe" error ( #27271 ). Fixed a regression where unchanged localized date/time fields were listed as changed in the admin's model history messages ( #27302 ). ...
https://man.mtool.work/django/6.1/releases/1.10.2.html
Django 1.11.3 リリースノート 8850
Django 1.11.3 リリースノート July 1, 2017 Django 1.11.3 fixes several bugs in 1.11.2. バグ修正 Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts **kwargs ( #28265 ). Fixed a regre ... ge is accessed directly) ( #28229 ). Prevented attribute values in the django/forms/widgets/attrs.html template from being localized so that numeric attributes (e.g. max and min ) of NumberInput work correctly ( #28303 ). Removed casting of the option val ...
https://man.mtool.work/django/6.1/releases/1.11.3.html
Django 1.11.5 リリースノート 8850
Django 1.11.5 リリースノート September 5, 2017 Django 1.11.5 fixes a security issue and several bugs in 1.11.4. CVE-2017-12794: Possible XSS in traceback section of technical 500 debug page In older versions, HTML autoescaping was disabled ... ). Omitted pages_per_range from BrinIndex.deconstruct() if it's None ( #25809 ). Fixed a regression where SelectDateWidget localized the years in the select box ( #28530 ). Fixed a regression in 1.11.4 where runserver crashed with non-Unicode system encod ...
https://man.mtool.work/django/6.1/releases/1.11.5.html
Django 1.6 リリースノート 8850
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 plura ... ルして、 その後 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
Django 1.11.1 リリースノート 8463
Django 1.11.1 リリースノート May 6, 2017 Django 1.11.1 adds a minor feature and fixes several bugs in 1.11. Allowed disabling server-side cursors on PostgreSQL The change in Django 1.11 to make QuerySet.iterator() use server-side cursors on ... #28091 ). Fixed a regression where CheckboxSelectMultiple , NullBooleanSelect , RadioSelect , SelectMultiple , and Select localized option values ( #28075 ). Corrected the stack level of unordered queryset pagination warnings ( #28109 ). Fixed a regressi ...
https://man.mtool.work/django/6.1/releases/1.11.1.html
Django 4.0 リリースノート 8269
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... 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 L ... 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 setti ...
https://man.mtool.work/django/6.1/releases/4.0.html
表示形式のローカライズ 7882
表示形式のローカライズ 概要 Django の表示形式システムは、カレント ロケール に合った表示形式を使って日付、時刻、数値をテンプレート内で表示することができます。また、フォームでのローカライズされた入力も処理します。 同じコンテンツにアクセスする ... on, and data formats that are not included in Django 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
Porting your apps from Django 0.96 to 1.0 7478
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... %} ... unescaped template content here ... {% endautoescape %} Less-common changes The following changes are smaller, more localized changes. They should only affect more advanced users, but it's probably worth reading through the list and checking your c ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
PREV 1 2 NEXT