per page, with , order by , clip by
Results of 1 - 10 of about 27 for ready (0.003 sec.)
アプリケーション 14433
アプリケーション Django には、設定の保存と調査の手段を提供するインストール済みアプリケーションのレジストリがあり、利用可能な モデル のリストもアクセスできます。 このレジストリは apps と呼ばれ、 django.apps で利用できます: >>> from django.ap ... イテラブルを返します。 アプリのレジストリが完全に入力されている必要があります。 AppConfig. get_model ( model_name , require_ready = True ) [ソース] 与えられた model_name を持つ Model を返します。 model_name は大文字小文字を区別しません。 このアプリケー ... ションにそのようなモデルが存在しない場合、 LookupError を発生させます。 require_ready 引数が False に設定されていない限り、アプリのレジストリが完全に登録されている必要があります。 require_ready は apps.get_mo ... del() と全く同じ動作をします。 AppConfig. ready () [ソース] サブクラスはこのメソッドをオーバーライドして、シグナルの登録などの初期化タスクを実行できます。 このメソッドは、 ...
https://man.mtool.work/django/6.1/ref/applications.html
チケットをトリアージする 10780
チケットをトリアージする Django uses Trac for managing the work on the code base. Trac is a community-tended garden of the bugs people have found and the features Django has decided to add. As in any garden, sometimes there are weeds to be ... flag. The ticket moves once more into the "needs PR review" queue. Daisy reviews the pull request and marks the ticket as "Ready for checkin". Jacob, a merger , reviews and merges the pull request. Some tickets move through these steps quickly, while ... needs improvement" will generally be accompanied by a comment on the ticket explaining what is needed to improve the code. Ready For Checkin The ticket was reviewed by any member of the community other than the person who supplied the patch and found ... to meet all the requirements for a commit-ready contribution. A merger now needs to give a final review prior to being committed. There are a lot of pull requests. It can ...
https://man.mtool.work/django/6.1/internals/contributing/triaging-tickets.html
admin アプリケーションの JavaScript カスタマイズ 10352
admin アプリケーションの JavaScript カスタマイズ インラインフォームイベント インラインフォームが admin アプリケーション変更フォームに追加または削除された際に JavaScript を実行したい場合、 formset:added と formset:removed イベントを使用できま ... イベントでは、 event.target は新しく追加された行です。 カスタムの change_form.html テンプレートで admin_change_form_document_ready ブロックを拡張し、イベントリスナーのコードを追加します: {% extends 'admin/change_form.html' %} {% load static %} {% block ... admin_change_form_document_ready %} {{ block .super }} < script src = " {% static 'app/formset_handlers.js' %} " ></ script > {% endblock %} app/static/app ... ック内に配置する必要があります。そうしないと、最終的な HTML にレンダリングされません。 Django の admin_change_form_document_ready ブロックには、変更フォーム内でのさまざまな操作を処理するための JavaScript コードが含まれており、 {{ block.super }} は、それ ...
https://man.mtool.work/django/6.1/ref/contrib/admin/javascript.html
Submitting contributions 9792
Submitting contributions We're always grateful for contributions to Django's code. Indeed, bug reports with associated contributions will get fixed far more quickly than those without a solution. Typo fixes and trivial documentation changes ... ember that proposals for new features should follow the process for suggesting new features . If a ticket for this issue already exists and has been accepted, make sure nobody else has claimed it. To do this, look at the "Owned by" section of the tick ... ssign it to yourself. If a ticket hasn't been approved yet, join the conversation. Log into your account, if you haven't already, by clicking "GitHub Login" or "DjangoProject Login" in the upper left of the ticket page. Once logged in, you can then cl ... able, regardless of whether someone has claimed it or not, to link proposals to a ticket if you happen to have the changes ready. Contribution style Make sure that any contribution you do fulfills at least the following requirements: The code required ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/submitting...
Working with Git and GitHub 9792
Working with Git and GitHub This section explains how the community can contribute code to Django via pull requests. If you're interested in how mergers handle them, see プルリクエストの取り扱い . Below, we are going to show how to create a ... GitHub pull request containing the changes for Trac ticket #xxxxx. By creating a fully-ready pull request, you will make the reviewer's job easier, meaning that your work is more likely to be merged into Django. You ... les of public branches are the main and stable/A.B.x branches in the django/django repository. When you think your work is ready to be pulled into Django, you should create a pull request at GitHub. A good pull request means: commits with one logical ... uest has only two options: merge it or close it. For this reason, it isn't useful to make a pull request until the code is ready for merging -- or sufficiently close that a merger will finish it themselves. Editing commit messages To change the messag ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
シグナル 9660
シグナル Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるのを助けてくれます。簡単に言うと、シグナルは特定の 送り手 が、あるアクションが発生したことを一連 ... ting_changed def my_receiver ( sender , ** kwargs ): print ( "Setting changed!" ) class MyAppConfig ( AppConfig ): ... def ready ( self ): setting_changed . connect ( my_receiver ) Django の 組み込みのシグナル は、ユーザコードに特定のアクションを通知し ... eivers are usually defined in a signals submodule of the application they relate to. Signal receivers are connected in the ready() method of your application configuration class . If you're using the receiver() decorator, import the signals submodule ... inside ready() , this will implicitly connect signal receivers: from django.apps import AppConfig from django.core.signals import reque ...
https://man.mtool.work/django/6.1/topics/signals.html
Tasks 9101
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 ... r this Task, starting at 1. Task results class TaskResultStatus [ソース] An Enum representing the status of a TaskResult . READY The Task has just been enqueued, or is ready to be executed again. RUNNING The Task is currently being executed. FAILED Th ... ckends Django includes only development and testing backends. These support local execution and inspection, for production ready backends refer to Configuring a Task backend . Immediate backend class ImmediateBackend [ソース] The immediate backend exe ...
https://man.mtool.work/django/6.1/ref/tasks.html
新しいコントリビューターへのアドバイス 8393
新しいコントリビューターへのアドバイス 新しいコントリビューターで、何をするべきかわかりませんか? 助けたいと思っているのにどこから手を付ければいいのかわかりませんか? このセクションはあなたのためにあります。 立ち上げる! Django へのコントリビュ ... area This should be something that you care about, that you are familiar with or that you want to learn about. You don't already have to be an expert on the area you want to work on; you become an expert through your ongoing contributions to the code. ... 終的には一個人の貢献よりもずっと大きな影響力を持ちます。私たちは あなた なしではできません! Be cautious when marking things "Ready For Check-in" If you're really not certain if a ticket is ready, don't mark it as such. Leave a comment instead, letting o ...
https://man.mtool.work/django/6.1/internals/contributing/new-contributors.html
シグナル 7965
シグナル Djangoが送信する全てのシグナルのリストです。全ての組み込みシグナルは send() メソッドを使用して送信されます。 参考 シグナルの登録方法と受信方法に関する情報については、 シグナルディスパッチャ のドキュメントを参照してください。 認証フ ... パーティのアプリケーションで使用されることはありません。 このシグナルはアプリ登録プロセス中に送信されます。そして AppConfig.ready() はアプリ登録が完全に終了した後に実行されますので、レシーバーをそのメソッド内で接続することはできません。一つの可能性とし ... t_migrate def my_callback ( sender , ** kwargs ): # Your specific logic here pass class MyAppConfig ( AppConfig ): ... def ready ( self ): post_migrate . connect ( my_callback , sender = self ) 注釈 AppConfig インスタンスを sender 引数として提供する場 ... 合は、シグナルが ready() で登録されていることを確認してください。 AppConfig は、 INSTALLED_APPS の変更されたセットで実行されるテストのために再作成 ...
https://man.mtool.work/django/6.1/ref/signals.html
Sprint quickstart guide 7685
Sprint quickstart guide This document explains how to prepare to contribute to Django. It is intended for use during sprints, or by people who are already familiar with contributing to Python open source projects. This guide assumes you're ... ts for the full documentation. Creating a branch for the ticket How you create your branch depends on whether the ticket already has work attached to it. Starting fresh With the ticket claimed, create a branch for your work, replacing TicketNumber wit ... ketNumber upstream/main ...\> git fetch upstream ...\> git checkout -b ticket_TicketNumber upstream/main When your work is ready, push the branch to your fork and open a pull request. See Submitting contributions for the full process. Continuing someo ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
PREV 1 2 3 NEXT