per page, with , order by , clip by
Results of 1 - 10 of about 15 for identifier (0.007 sec.)
フォーム API 13201
フォーム API このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームについての概要 を読むことをおすすめします。 バインドされた (bound) フォームとバインドされていない ... eturn values can change (e.g. datetime.now or uuid.uuid4 ): >>> import uuid >>> class UUIDCommentForm ( CommentForm ): ... identifier = forms . UUIDField ( initial = uuid . uuid4 ) ... >>> f = UUIDCommentForm () >>> f . get_initial_for_field ( f . fields [ ... "identifier" ], "identifier" ) UUID('972ca9e4-7bfe-4f5b-af7d-07b3aa306334') >>> f . get_initial_for_field ( f . fields [ "identifier" ... ], "identifier" ) UUID('1b411fab-844e-4dec-bd4f-e9b0495f04d0') >>> # Using BoundField.initial, for comparison >>> f [ "identifier" ] . in ...
https://man.mtool.work/django/6.1/ref/forms/api.html
Django 2.2 リリースノート 10832
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... and column_name_converter() are removed. Third party database backends may need to instead implement DatabaseIntrospection.identifier_converter() . In that case, the constraint names that DatabaseIntrospection.get_constraints() returns must be normalized b ... y identifier_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these SchemaEditor methods are added: _cr ...
https://man.mtool.work/django/6.1/releases/2.2.html
シグナル 10832
シグナル Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるのを助けてくれます。簡単に言うと、シグナルは特定の 送り手 が、あるアクションが発生したことを一連 ... When using a bound method as a receiver, multiple registrations can be prevented by supplying a unique dispatch_uid . This identifier will usually be a string, although any hashable object will suffice. The receiver will only be bound to the signal once fo ... lue: from django.core.signals import request_finished request_finished . connect ( my_receiver , dispatch_uid = "my_unique_identifier" ) シグナルの定義と送信 アプリケーションは信号インフラを利用し、独自の信号を提供できます。 カスタムシグナルを使うべきタイミ ...
https://man.mtool.work/django/6.1/topics/signals.html
Django の認証方法のカスタマイズ 9648
Django の認証方法のカスタマイズ Django がデフォルトで提供する認証機能は、ほとんどの一般的なケースでは十分なものですが、デフォルトではニーズにマッチしない場合もあると思います。自分のプロジェクトで認証のカスタマイズを行うためには、Django が提 ... ユニークである (たとえば、 unique=True を定義内で設定する) 必要があります。 以下の例では、フィールドを一意に指定するために、 identifier フィールドが使われています。 class MyUser ( AbstractBaseUser ): identifier = models . CharField ( max_length = 40 , unique ... = True ) ... USERNAME_FIELD = "identifier" EMAIL_FIELD ユーザーモデルにあるメールのフィールド名を文字列で記述します。この値は get_email_field_name() で返されます。 ...
https://man.mtool.work/django/6.1/topics/auth/customizing.html
GeoDjango モデル API 9056
GeoDjango モデル API This document explores the details of the GeoDjango Model API. Throughout this section, we'll be using the following geographic model of a ZIP code and of a Digital Elevation Model as our examples: from django.contrib.g ... s and Spatial Reference Systems). [ 3 ] Typically, SRID integer corresponds to an EPSG ( European Petroleum Survey Group ) identifier. However, it may also be associated with custom projections defined in spatial database's spatial reference systems table. ...
https://man.mtool.work/django/6.1/ref/contrib/gis/model-api.html
Tasks 9056
Tasks New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API defines how work is described, queued, and tracked, but leaves actual execution to external infra ... execution of a Task . Attributes of TaskResult cannot be modified. task The Task the result was enqueued for. id A unique identifier for the result, which can be passed to Task.get_result() . The format of the id will depend on the backend being used. Tas ...
https://man.mtool.work/django/6.1/ref/tasks.html
Django 1.8 リリースノート 8464
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... the features is available in the documentation . New data types Django now has a UUIDField for storing universally unique identifiers. It is stored as the native uuid data type on PostgreSQL and as a fixed length character field on other backends. There i ... o_iri() . The HttpRequest.get_full_path() method now escapes unsafe characters from the path portion of a Uniform Resource Identifier (URI) properly. HttpResponse now implements a few additional methods like getvalue() so that instances can be used as stre ... vided object_id . The ModelAdmin.response_delete() method now takes a second argument named obj_id which is the serialized identifier used to retrieve the object before deletion. Default autoescaping of functions in django.template.defaultfilters In order ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django's Tasks framework 8464
Django's Tasks framework New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's often more than just turning HTTP requests into HTTP responses. For some functionality, it may be ... a Task , which is stored in the Queue Store. This Task contains all the metadata needed to execute it, as well as a unique identifier for Django to retrieve the result later. A Worker will look at the Queue Store for new Tasks to run. When a new Task is ad ...
https://man.mtool.work/django/6.1/topics/tasks.html
組み込みテンプレートタグとフィルタ 7872
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... ial_name %} {# Reusable content. #} {% endpartialdef %} The partial_name argument is required and must be a valid template identifier. In the following example, a new fragment named card is defined: {% partialdef card %} < div class = "card" > < h3 > {{ ti ... et_digit :"2" }} value が 123456789 のとき、出力は 8 です。 iriencode IRI (国際化リソース識別子 Internationalized Resource Identifier) を URL に適した文字列に変換します。これは非 ASCII 文字列を URL に埋め込む場合に必要なフィルタです。 urlencode フィルタを通 ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
ドキュメントを書く 7279
ドキュメントを書く 私たちはドキュメントの一貫性と読みやすさを重要視しています。結局のところ、Django はジャーナリズムの環境で作られました!ですから、私たちはコードを扱うようにドキュメントを扱います。できるだけ頻繁に改善することを目指しています ... ドキュメントへの参照を定義する必要があるかもしれません。 Use :cve: to reference a Common Vulnerabilities and Exposures (CVE) identifier. For example, use :cve:`2019-14232` . When documenting Python objects (classes, methods, attributes, etc.) using Sphinx di ...
https://man.mtool.work/django/6.1/internals/contributing/writing-documentation.h...
PREV 1 2 NEXT