... up your name and email: $ git config --global user.name "Your Real Name" $ git config --global user.email "you@email.com" Note that user.name should be your real name, not your GitHub nick. GitHub should know the email you use in the user.email fiel ... ion in the ticket that your work is available from branch ticket_xxxxx of your GitHub repo. Include a link to your branch. Note that the above branch is called a "topic branch" in Git parlance. You are free to rewrite the history of this branch, by u ... r pull request, you should add a comment in the related Trac ticket explaining what you've done. In particular, you should note the environment in which you ran the tests, for instance: "all tests pass under SQLite and MySQL". Pull requests at GitHub ... ... ts maintainers. You are free to use such tools in your own fork before submitting a pull request to the Django repository. Note for AI Tools If you are an AI tool or language model assisting in the preparation of a Django contribution, you must stric ... umentation. Ensure technical accuracy and avoid fabrication. Do not invent APIs, features, functions, or citations that do not exist. Placeholder or fictitious content will result in rejection. Respect all contribution requirements. Follow all guidel ... ocumented, mark it deprecated in documentation using the .. deprecated:: A.B annotation. Include a short description and a note about the upgrade path if applicable. Add a description of the deprecated behavior, and the upgrade path if applicable, to ... ... recated setting). EMAIL_HOST_PASSWORD becomes "password" in "OPTIONS" . EMAIL_HOST_USER becomes "username" in "OPTIONS" . (Note "username" doesn't quite follow the naming pattern for the other deprecated settings.) EMAIL_PORT becomes "port" in "OPTIO ... _messages ([ email1 , email2 ]) To: connection = mail . mailers . default connection . send_messages ([ email1 , email2 ]) Note that mailers.default is the default for Django's mail-sending functions. Code like this: mail . send_mail ( ... , connecti ... but avoid raising an error if it hasn't (e.g., in a reusable library), wrap the send call in try: / except mail.MailerDoesNotExist: pass . To ignore all exceptions (e.g., to avoid cascading failures in an error handler that sends mail), wrap the sen ... ... redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality. Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only a ... ... o fields that you frequently query using filter() , exclude() , order_by() , etc. as indexes may help to speed up lookups. Note that determining the best indexes is a complex database-dependent topic that will depend on your particular application. T ... and only() if there are database columns you know that you won't need (or won't need in most cases) to avoid loading them. Note that if you do use them, the ORM will have to go and get them in a separate query, making this a pessimization if you use ... です: Entry . objects . create ( headline = "This is a test" ) Entry . objects . create ( headline = "This is only a test" ) Note that bulk_create() has several caveats, so ensure it's appropriate for your use case. 一括で更新する When updating objects ... ... テートメントの日時を返します。これは django.db.models.functions.Now を補完するもので、現在のステートメントの日時を返します。 Note that only the outermost call to atomic() sets up a transaction and thus sets the time that TransactionNow() will return; n ... ... redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality. Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only a ... ... anual Cherry-pick the commit onto the stable branch, then amend the commit message to add the required prefix and backport note: git cherry-pick <sha> git commit --amend If the cherry-pick produces conflicts, resolve them, stage the changes, then run ... pts/backport.sh Bash script automates the cherry-pick and rewrites the commit message with the correct prefix and backport note. Run it from the target stable branch: bash scripts/backport.sh <sha> This is straightforward for clean cherry-picks, but ... if conflicts are produced, you will need to resolve them manually and add the prefix and backport note to the commit message yourself. Option 3: using the prepare-commit-msg git hook The scripts/prepare_commit_msg.py Python s ... ... necessary security fixes, it will not be actively maintained, and it will be removed in a future release of Django. Also, note that some features, like the new DATABASE_OPTIONS setting (see the databases documentation for details), are only availabl ... set" : MyModel . objects . all (), } urlpatterns = patterns ( "" , ( "^myview/$" , login_required ( object_list ), info )) Note that both syntaxes (strings and callables) are valid, and will continue to be valid for the foreseeable future. テストフレ ... ... redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality. Note, however, that this view has always carried a warning that it is not hardened for production use and should be used only a ... 2026年10月08日