per page, with , order by , clip by
Results of 1 - 10 of about 118 for input (0.020 sec.)
ウィジェット 14044
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... でください。フォームフィールドは入力値の検証ロジックを扱い、テンプレート内で直接使用されます。ウィジェットはウェブページ上で input 要素から HTML の form をレンダリングし、submit された生データを取り出します。ウィジェットはフォームフィールドにアサイン ( ... URLField () comment = forms . CharField ( widget = forms . Textarea ) これは、comment のフォームに対して、デフォルトの TextInput ウィジェットではなく、より大きなサイズの Textarea ウィジェットを指定しています。 ウィジェットの引数を設定する 多くのウィジ ... プのみをレンダリングします。Django はクラス名やその他のウィジェット固有の属性を追加しません。したがって、例えばすべての TextInput ウィジェットはウェブページ上で同じように見えます。 ウィジェットをカスタマイズする方法には 2 つあります: ウィジェットごとの ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
フォーム API 13021
フォーム API このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームについての概要 を読むことをおすすめします。 バインドされた (bound) フォームとバインドされていない ... s . CharField () ... >>> f = CommentForm ( initial = { "name" : "instance" }, auto_id = False ) >>> print ( f ) <div>Name:<input type="text" name="name" value="instance" required></div> <div>Url:<input type="url" name="url" required></div> <div>Commen ... t:<input type="text" name="comment" required></div> Form. get_initial_for_field ( field , field_name ) フォームフィールドの初期デー ... ールドの表示方法を変更できます。 >>> f . as_div () . split ( "</div>" )[ 0 ] '<div><label for="id_subject">Subject:</label><input type="text" name="subject" maxlength="100" required id="id_subject">' >>> f [ "subject" ] . label = "Topic" >>> f . as_div ...
https://man.mtool.work/django/6.1/ref/forms/api.html
フォーム フィールド 10103
フォーム フィールド class Field [ソース] Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの検証ロジックがあり、他にいくつかのフックもあります。 Field. clean ( value ) [ソース] Field クラス ... d = False ) ... comment = forms . CharField () ... >>> f = CommentForm ( auto_id = False ) >>> print ( f ) <div>Your name:<input type="text" name="name" required></div> <div>Your website:<input type="url" name="url"></div> <div>Comment:<input type="te ... label_suffix = " =" ) ... >>> f = ContactForm ( label_suffix = "?" ) >>> print ( f ) <div><label for="id_age">Age?</label><input type="number" name="age" required id="id_age"></div> <div><label for="id_nationality">Nationality?</label><input type="tex ... t" name="nationality" required id="id_nationality"></div> <div><label for="id_captcha_answer">2 + 2 =</label><input type="number" name="captcha_answer" required id="id_captcha_answer"></div> initial Field. initial initial 属性は、 Field が ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
フォームセット (Formset) 9978
フォームセット (Formset) class BaseFormSet [ソース] フォームセットは、同じページで複数のフォームを扱うための抽象レイヤーです。データグリッドに例えるとわかりやすいでしょう。次のようなフォームがあるとしましょう: >>> from django import forms > ... mset = ArticleFormSet () >>> for form in formset : ... print ( form ) ... <div><label for="id_form-0-title">Title:</label><input type="text" name="form-0-title" id="id_form-0-title"></div> <div><label for="id_form-0-pub_date">Pub date:</label><input t ... ay (), ... } ... ] ... ) >>> for form in formset : ... print ( form ) ... <div><label for="id_form-0-title">Title:</label><input type="text" name="form-0-title" value="Django is now open source" id="id_form-0-title"></div> <div><label for="id_form-0-p ... ub_date">Pub date:</label><input type="text" name="form-0-pub_date" value="2023-02-11" id="id_form-0-pub_date"></div> <div><label for="id_form-1-title">Tit ...
https://man.mtool.work/django/6.1/topics/forms/formsets.html
GDAL API 8519
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... s of any additional fields ( Field ) of data that may be associated with each feature in that layer. class DataSource ( ds_input , encoding = 'utf-8' ) [ソース] データソース DataSource のコンストラクタに必要なパラメータは1つだけです。しかし、OGRはデー ... ON geometries using the legacy crs member to specify a URL-based coordinate reference system. Do not use it with untrusted inputs. layer_count [ソース] データソース内のレイヤーの数を返します。 name [ソース] データソースの名前を返します。 Layer class L ... as_datetime () (c_long(1999), c_long(5), c_long(23), c_long(0), c_long(0), c_long(0), c_long(0)) Driver class Driver ( dr_input ) [ソース] Driver クラスは、OGR DataSource ドライバをラップするために内部で使用されます。 driver_count [ソース] 現在登録さ ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 5.2.19 release notes 7945
Django 5.2.19 release notes November 3, 2026 Django 5.2.19 fixes four security issues with severity "low" and one security issue with severity "moderate" in 5.2.18. CVE-2026-108147: Potential memory exhaustion in MultiPartParser via base64- ... URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an attacker to submit a malicious CRS that would make a network request as the Django process user, or read a file ... y "low" according to the Django security policy . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not docume ... al file contents by observing outbound requests. SpatialReference now disables network and file access when parsing string input on GDAL 3.9 and later. As a consequence, file paths and URLs are no longer accepted as SpatialReference inputs. Dictionary ...
https://man.mtool.work/django/6.1/releases/5.2.19.html
Django 6.0.10 release notes 7820
Django 6.0.10 release notes November 3, 2026 Django 6.0.10 fixes five security issues with severity "low" and one security issue with severity "moderate" in 6.0.9. CVE-2026-108147: Potential memory exhaustion in MultiPartParser via base64-e ... URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an attacker to submit a malicious CRS that would make a network request as the Django process user, or read a file ... y "low" according to the Django security policy . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not docume ... al file contents by observing outbound requests. SpatialReference now disables network and file access when parsing string input on GDAL 3.9 and later. As a consequence, file paths and URLs are no longer accepted as SpatialReference inputs. Dictionary ...
https://man.mtool.work/django/6.1/releases/6.0.10.html
フォームを使う 7683
フォームを使う このドキュメントについて このドキュメントでは、Web フォームの基本と、それらを Django で扱う方法を紹介しています。より詳しく知りたいときは、フォーム API の特定の領域、 フォーム API 、 フォーム フィールド または フォームとフィー ... ールを操作するようなインターフェイスは、一般的に HTML フォームの 1 要素だけではなく JavaScriptと CSS を使って実現されます。 <input> 要素に加えて、フォームには次の 2 つのことを指定しなければなりません。 どこで : ユーザーのインプットに対応するデータの宛先 ... となるべきURL どのように : データが返される方法として使われる HTTP メソッド 例として、Django admin にあるいくつかの <input> 要素のログインフォームを見てみましょう。ユーザー名のための type="text" 、パスワードのための type="password" 、そしてログイ ... きこと、そして method 属性によって指定されたHTTP メカニズム - post - を使って送信されるべきこともブラウザーに伝えています。 <input type="submit" value="Log in"> 要素がトリガーされると、データは /admin/ に返されます。 GET と POST フォームを扱うときに使用 ...
https://man.mtool.work/django/6.1/topics/forms/
Django 6.1.3 release notes 7496
Django 6.1.3 release notes November 3, 2026 Django 6.1.3 fixes five security issues with severity "low", one security issue with severity "moderate", and several bugs in 6.1.2. It also adds compatibility with Python 3.15. CVE-2026-108147: P ... URL. Since GDAL still resolves these URLs, any validation, save, or query path where a geometry is instantiated from user input allowed an attacker to submit a malicious CRS that would make a network request as the Django process user, or read a file ... y "low" according to the Django security policy . CVE-2026-114582: Server-side request forgery via SpatialReference string input SpatialReference passed string input to GDAL, which by default resolves URLs and reads files. This behavior was not docume ... al file contents by observing outbound requests. SpatialReference now disables network and file access when parsing string input on GDAL 3.9 and later. As a consequence, file paths and URLs are no longer accepted as SpatialReference inputs. Dictionary ...
https://man.mtool.work/django/6.1/releases/6.1.3.html
Django 1.6.11 リリースノート 7309
Django 1.6.11 リリースノート March 18, 2015 Django 1.6.11 fixes two security issues in 1.6.10. Denial-of-service possibility with strip_tags() Last year strip_tags() was changed to work iteratively. The problem is that the size of the input ... or the Python bug into their packages of earlier versions. To remedy this issue, strip_tags() will now return the original input if it detects the length of the string it's processing increases. Remember that absolutely NO guarantee is provided about ... it first, for example with escape() . Mitigated possible XSS attack via user-supplied redirect URLs Django relies on user input in some cases (e.g. django.contrib.auth.views.login() and i18n ) to redirect the user to an "on success" URL. The security ...
https://man.mtool.work/django/6.1/releases/1.6.11.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT