per page, with , order by , clip by
Results of 1 - 10 of about 35 for commit (0.006 sec.)
Working with Git and GitHub 13891
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 ... not your GitHub nick. GitHub should know the email you use in the user.email field, as this will be used to associate your commits with your GitHub account. Setting up local repository When you have created your GitHub account, with the nick "GitHub_ni ... out -b ticket_xxxxx_1_4 upstream/stable/1.4.x Assume the work is carried on the ticket_xxxxx branch. Make some changes and commit them: git commit When writing the commit message, follow the commit message guidelines to ease the work of the merger. If ... you're uncomfortable with English, try at least to describe precisely what the commit does. If you need to do additional work on your branch, commit as often as necessary: git commit -m 'Added two more tests ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
コードのコミット 11775
コードのコミット This section is addressed to the mergers and to anyone interested in knowing how code gets committed into Django. The コミットガイドライン apply to all contributors, with or without commit rights. If you're a community memb ... すると、対応するプルリクエストをチェックアウトできます。 この時点で、コードに手を加えることができます。 git rebase -i と git commit --amend を使って、コミットの品質が期待通りのものであることを確認しましょう。準備ができたら次のようにします: /  $ # Pull ... $ git checkout pr/#### $ git rebase main $ git checkout main $ # Merge the work as "fast-forward" to main to avoid a merge commit. $ # (in practice, you can omit "--ff-only" since you just rebased) $ git merge --ff-only pr/XXXX $ # If you're not sure i ... pr/#### ...\> git rebase main ...\> git checkout main ...\> REM Merge the work as "fast-forward" to main to avoid a merge commit. ...\> REM (in practice, you can omit "--ff-only" since you just rebased) ...\> git merge --ff-only pr/XXXX ...\> REM If y ...
https://man.mtool.work/django/6.1/internals/contributing/committing-code.html
How to release Django 11345
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... n the project admin . This populates a lot of boilerplate you will need for announcements, CVE publication, and hashes for commit messages. By using this app for preparing security issue metadata, your peer releasers can check your entries and consult ... ne the release date of a non-security release if required. Check with the other mergers to make sure they don't have any uncommitted changes for the release. Proofread the release notes, including looking at the online version to catch any broken links ... translations.py fetch -v 1 --since = <some date> To determine a good value for --since , check the date of the most recent commit with wording similar to Updated translations from Transifex and use a date a few days prior. This command takes some time ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
データベースのトランザクション 10550
データベースのトランザクション Django では、データベースのトランザクションをコントロールする方法が提供されています。 データベースのトランザクションを管理する Django のデフォルトのトランザクションの動作 Django のデフォルトの動作は、オートコミ ... tuff () and as a context manager : from django.db import transaction def viewfunc ( request ): # This code executes in autocommit mode (Django's default). do_stuff () with transaction . atomic (): # This code executes inside a transaction. do_more_stuf ... を積極的に更新する場合、トランザクションが実際にコミットされるまでキャッシュの改変を延期するために、代わりに transaction.on_commit() を使用することを推奨します。 アトミックを保証するために、 atomic はいくつかの API を無効にします。アトミックな atomic ブ ... ランザクション管理 を無効にすることもできますが、推奨されません。 トランザクション管理を無効化する データベースの設定で AUTOCOMMIT を False にすると、Django のトランザクション管理を完全に無効にできます。こうすると、 Django は自動コミットを有効にせず、コ ...
https://man.mtool.work/django/6.1/topics/db/transactions.html
Coding style 9659
Coding style Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks pre-commit is a framework for managing pre-commit hooks. These hooks help to identify simple issues before committing code for re ... er to focus on the change itself, and it can also help to reduce the number of CI runs. To use the tool, first install pre-commit and then the git hooks: /  $ python -m pip install pre-commit $ pre-commit install ...\> py -m pip install pre-commit . ... ..\> pre-commit install On the first commit pre-commit will install the hooks, these are installed in their own environments and will take ... If the error was with black or isort then the tool will go ahead and fix them for you. Review the changes and re-stage for commit if you are happy with them. Python style All files should be formatted using the black auto-formatter. This will be run by ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Sprint quickstart guide 9420
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 ... > py -m pip install -U pip ...\> py -m pip install -e . -r tests\requirements\py3.txt -r docs\requirements.txt Install pre-commit hooks so that formatting and linting run automatically before each commit: /  $ python -m pip install pre-commit $ pre- ... commit install ...\> py -m pip install pre-commit ...\> pre-commit install See Pre-commit checks for further details. Run the tests: /  $ ./tests/runtests.py ...\> tests ... etch upstream pull/8000/head:ticket_123 ...\> git checkout ticket_123 ...\> git push origin ticket_123 When preparing your commit, please review our committing guidelines , specifically how to credit co-authors. ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
モデルからフォームを作成する 8195
モデルからフォームを作成する ModelForm class ModelForm [ソース] データベース中心のアプリケーションを作成している場合、Django モデルに密接にマップするフォームを使うことになるでしょう。例えば、 BlogComment モデルを持っていて、閲覧者がコメント ... のフォールバック動作が必要な場合は、カスタムフォームフィールドまたはウィジェットを使用します。 この save() には、省略可能な commit キーワード引数があり、 True ないし False を取ります。 save() を commit=False で呼び出した場合、データベースにまだ保存されて ... これは、保存前にオブジェクトで独自のプロセスを実行したい場合、もしくは特別な モデル保存オプション を使いたい場合に有用です。 commit はデフォルトでは True です。 commit=False を使う際のもう 1 つの副作用は、モデルに他のモデルとの多対多の関係がある場合に見ら ... れます。フォームを save するときにモデルに多対多の関係があり commit=False を指定した場合、Django は多対多の関係に対してフォームのデータを即座に保存することができません。これは、インスタンスが ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
チケットをトリアージする 7908
チケットをトリアージする 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 ... king on a solution for a ticket. Reviewers: anyone can review pull requests and suggest improvements. Mergers: people with commit access who make the final decision to merge a change. When we say anyone, we mean you! Our Trac system and GitHub reposito ... d 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. ... at version goes out of support. The field should not be reset to "dev" to show the issue still exists: instead, the tested commit hash can be noted in a comment. UI/UX This flag is used for tickets that relate to User Interface and User Experiences que ...
https://man.mtool.work/django/6.1/internals/contributing/triaging-tickets.html
Submitting contributions 7908
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 ... g a contribution, you must: Disclose which AI tools were used and what they were used for (e.g., generating code, drafting commit messages, writing documentation). Review and verify all AI-generated output. Ensure the code aligns with Django's architec ... and/or "Needs tests". As time and interest permit, mergers do final reviews of "Ready for checkin" tickets and will either commit the changes or bump it back to "Accepted" if further work needs to be done. If you're looking to become a member of the tr ... ac flags on the ticket are set so that the ticket appears in that queue. All tickets Is the pull request a single squashed commit with a message that follows our commit message format ? Are you the patch author and a new contributor? Please add yoursel ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/submitting...
Django 1.3 リリースノート 7829
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... Python 2.5 and above may now use transaction management functions as context managers. For example: with transaction . autocommit (): ... Configurable delete-cascade ForeignKey and OneToOneField now accept an on_delete argument to customize behavior wh ... or, simply put a PROFANITIES_LIST setting in your settings file that includes the words that you want to prohibit (see the commit that implemented this change if you want to see the list of words that was historically prohibited). However, if avoiding ... recation of such location. Transaction management When using managed transactions -- that is, anything but the default autocommit mode -- it is important when a transaction is marked as "dirty". Dirty transactions are committed by the commit_on_success ...
https://man.mtool.work/django/6.1/releases/1.3.html
PREV 1 2 3 4 NEXT