... gh the contributing code process. Djangoにはじめて貢献する How-to ガイド If you already have some familiarity with the processes and principles, our documentation also contains useful g ... uidance on specific topics: How to submit a patch to Django for new and/or fixed behavior How to write and run tests How to run Django's unit tes ... ts How to work with Git and GitHub Related topics It's important to understand how we work and the conventions we adopt. Coding s ... ... で貢献できます。 Communication channels We're passionate about helping Django users make the jump to contributing members of the community. Communication is key - working on Django is being part of a conversation. Join it, ... to become familiar with what we're doing and how we talk about it. You'll be able to form relationships with more experienced contributors who are there to help guide you ... towards success. Join the Django community There are several ways you can help the Django community and others to maintain a great ecosystem to work in: Join the Django Forum . This forum is a place for discussing the Django framework a ... ... 3.4. We highly recommend and only officially support the latest release of each series. The Django 1.6 series is the last to support Python 2.6. Django 1.7 is the first release to support Python 3.4. This change should affect only a small number o ... f Django users, as most operating-system vendors today are shipping Python 2.7 or newer as their default version. If you're still using Python 2.6, ... however, you'll need to stick to Django 1.6 until you can upgrade your Python version. Per our support policy , Django 1.6 wil ... ... I stability . This means that, in general, code you develop against Django 1.0 should continue to work against 1.1 unchanged. However, we do sometimes make backwards-incompatible changes if they're necessary to resolve b ... ugs, and there are a handful of such (minor) changes between Django 1.0 and Django 1.1. Before upgrading to Django 1.1 you should double-check that the following changes don't impact you, and upgrade your code if they do. Changes ... in the database, so the actual file name used on disk cannot be relied on until after the model has been saved. Changes to how model formsets are saved In Django 1.1, BaseModelFormSet now calls ModelForm.save() . This is backwards-incompatible if yo ... ... t and GitHub ) Managing multiple versions of Python Python dependency management, including virtual environments The concept of running tests and building documentation If any of these are unfamiliar, see Djangoにはじめて貢献する for a longer, step ... -by-step tutorial. Set up Fork the repository on GitHub, clone your fork to your machine, and configure a remote reference to Django's u ... be filled in the text box by default. See "Claiming" tickets 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 claim ... ... se releases will be 100% compatible with the associated feature release, unless this is impossible for security reasons or to prevent data loss, in which case the release notes will provide detailed upgrade instructions. Generally, you should alway ... s upgrade to the latest patch release. Each patch release supersedes earlier patch releases in its series, which may contain known secu ... 、 stable/A.B.x と呼ばれ、バグフィックスやセキュリティのリリースは、このブランチから作られます。 For more information about how the Django project issues new releases for security purposes, please see our security policies . Django 6.2 is the last re ... ... beneficial to run code outside the request-response cycle. That's where background Tasks come in. Background Tasks can offload work to b ... e run outside the request-response cycle, to be run elsewhere, potentially at a later date. This keeps requests fast, reduces latency, and improves the user experience ... ue Store. These workers run outside the request-response lifecycle. Configuring a Task backend The Task backend determines how and where Tasks are stored for execution and how they are executed. Different Task backends have different characteristics ... ... ます。 from django.core.mail import send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When additional email sending functionality is needed, use the EmailMessage or EmailMultiAlternatives cl ... ass. For example, to send a multipart email that includes both HTML and plain text versions with a specific template and custom headers, you ca ... or results in a MailerDoesNotExist error (when the MAILERS setting isn't defined). Use the MAILERS setting to tell Django how to send email. For example, to send through an SMTP server running on the local machine: MAILERS = { "default" : { "BACKEN ... ... testing infrastructure that ships with Django for testing applications. See テストを書いて実行する for an explanation of how to write new tests. Running the unit tests Quickstart First, fork Django on GitHub . Second, create and activate a virtual ... environment. If you're not familiar with how to do that, read our contributing tutorial . Next, clone your fork, install some requirements, and run the tests: / $ ... require some operating system packages that your computer doesn't have installed. You can usually figure out which package to install by doing a web search for the last line or so of the error message. Try adding your operating system to the search ... ... xx. 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 could also upload a traditional patch to Trac, but it's less practical for reviews. Git のインス ... トール Django uses Git for its source control. You can download Git, but it's often easier to install with your operating system's package manager. Django's Git repository is hosted on GitHub , and it is recommended ... tance: "all tests pass under SQLite and MySQL". Pull requests at GitHub have only two states: open and closed. The merger who will deal with your pull request has only two options: merge it or close it. For this reason, it isn't useful to make a pul ... 2026年10月08日