per page, with , order by , clip by
Results of 1 - 10 of about 35 for force (0.009 sec.)
モデルインスタンスリファレンス 14066
モデルインスタンスリファレンス このドキュメントでは、 Model API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としていますので、このドキュメントを読む前にこの 2 つを読んでおいた方がよいでしょう。 このリファレン ... 発生させます。 オブジェクトを保存する データベースにオブジェクトを保存し直すには、 save() を呼び出します: Model. save ( * , force_insert = False , force_update = False , using = DEFAULT_DB_ALIAS , update_fields = None ) [ソース] Model. asave ( * , forc ... e_insert = False , force_update = False , using = DEFAULT_DB_ALIAS , update_fields = None ) 非同期バージョン : asave() force_insert と force_update ... 古いアルゴリズムに戻すことができます。 INSERT や UPDATE を強制する In some rare circumstances, it's necessary to be able to force the save() method to perform an SQL INSERT and not fall back to doing an UPDATE . Or vice-versa: update, if possible, but ...
https://man.mtool.work/django/6.1/ref/models/instances.html
Working with Git and GitHub 12268
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 ... for the required commit message format. After rewriting a commit that has already been pushed to GitHub, you will need to force-push your branch: git push --force-with-lease origin ticket_xxxxx Rebasing branches In the example above, you created two ... is already published at GitHub, for example if you're making minor changes to take into account a review, you will need to force-push the changes: git push --force-with-lease origin ticket_xxxxx Note that this will rewrite history of ticket_xxxxx - if ... r work back to your GitHub repository. Since you didn't touch the public commits during the rebase, you should not need to force-push: git push origin ticket_xxxxx Your pull request should now contain the new commit too. Note that the merger is likely ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/working-wi...
Unicode データ 10693
Unicode データ Django はどこでも Unicode データをサポートしています。 この文書は、ASCII以外のエンコーディングでデータやテンプレートを使用するアプリケーションを書く場合に、知っておくべきことを説明します。 データベースの作成 データベースが任意 ... れずに元の型を保持します。 errors パラメータは、Python の str() 関数がエラーハンドリングに受け入れる値のいずれかを取ります。 force_str(s, encoding='utf-8', strings_only=False, errors='strict') は、ほとんどの場合 smart_str() と同じです。違いは、最初の引数 ... が 遅延翻訳(Lazyな翻訳) インスタンスである場合です。 smart_str() は遅延翻訳を保持しますが、 force_str() はそれらのオブジェクトを文字列に強制します(翻訳が発生します)。通常は smart_str() を使用しますが、文字列に絶対に 変 ... 換する必要がある テンプレートタグやフィルタには force_str() が役立ちます。 smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict') は基本的に smart_str() の反対で ...
https://man.mtool.work/django/6.1/ref/unicode.html
Django 3.0 リリースノート 10470
Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... r or not the row exists. This makes calling Model.save() while providing a default primary key value equivalent to passing force_insert=True to model's save() . Attempts to use a new Model instance to update an existing row will result in an Integrity ... es to be passed to the view for the optional named groups that are missing. 3.0 で非推奨になった機能 django.utils.encoding.force_text() and smart_text() The smart_text() and force_text() aliases (since Django 2.0) of smart_str() and force_str() are de ... precated. Ignore this deprecation if your code supports Python 2 as the behavior of smart_str() and force_str() is different there. その他 django.utils.http.urlquote() , urlquote_plus() , urlunquote() , and urlunquote_plus() are ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 3.0.1 リリースノート 8895
Django 3.0.1 リリースノート December 18, 2019 Django 3.0.1 では、セキュリティの問題1件と 3.0 におけるいくつかのバグを修正しました。 CVE-2019-19844: Potential account hijack via password reset form By submitting a suitably crafted email addr ... バグ修正 Fixed a regression in Django 3.0 by restoring the ability to use Django inside Jupyter and other environments that force an async context, by adding an option to disable 非同期安全性 mechanism with DJANGO_ALLOW_ASYNC_UNSAFE environment variabl ...
https://man.mtool.work/django/6.1/releases/3.0.1.html
Django 1.10.1 リリースノート 8433
Django 1.10.1 リリースノート September 1, 2016 Django 1.10.1 fixes several bugs in 1.10. バグ修正 Fixed a crash in MySQL connections where SELECT @@SQL_AUTO_IS_NULL doesn't return a result ( #26991 ). Allowed User.is_authenticated and User. ... ing InconsistentMigrationHistory in the presence of unapplied squashed migrations ( #27004 ). Fixed a regression in Client.force_login() which required specifying a backend rather than automatically using the first one if multiple backends are configu ...
https://man.mtool.work/django/6.1/releases/1.10.1.html
Django 1.5.2 リリースノート 8433
Django 1.5.2 リリースノート August 13, 2013 This is Django 1.5.2, a bugfix and security release for Django 1.5. Mitigated possible XSS attack via user-supplied redirect URLs Django relies on user input in some cases (e.g. django.contrib.aut ... parameter (#20207). Ensured that the WSGI request's path is correctly based on the SCRIPT_NAME environment variable or the FORCE_SCRIPT_NAME setting, regardless of whether or not either has a trailing slash (#20169). Fixed an obscure bug with the over ...
https://man.mtool.work/django/6.1/releases/1.5.2.html
索引 8210
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... st test コマンドラインオプション --fake migrate コマンドラインオプション --fake-initial migrate コマンドラインオプション --force-color コマンドラインオプション --format dumpdata コマンドラインオプション loaddata コマンドラインオプション --geom-name og ... uerySet モジュール) afirst() (django.db.models.query.QuerySet モジュール) aflush() (backends.base.SessionBase のメソッド) aforce_login() (Client のメソッド) aget() (backends.base.SessionBase のメソッド) (django.db.models.query.QuerySet モジュール) age ... ends.base.SessionBase のメソッド) (HttpResponse のメソッド) for template tag for_concrete_model (GenericForeignKey の属性) force_bytes() (django.utils.encoding モジュール) force_escape template filter force_login() (Client のメソッド) FORCE_SCRIPT_NAM ...
https://man.mtool.work/django/6.1/genindex.html
Django ユーティリティ (django.utils) 8210
Django ユーティリティ ( django.utils ) このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんどのモジュールは内部使用を目的としていることから、 内部リリース非推奨ポリシー に従い、以下に記載 ... 変換しないでください。 is_protected_type ( obj ) [ソース] オブジェクトインスタンスが保護された型であるかどうかを判断します。 force_str(strings_only=True) に渡された際に、保護された型のオブジェクトはそのまま保持されます。 force_str ( s , encoding = 'utf- ... バイト文字列バージョンを返します。 strings_only が True の場合、(いくつかの) 非文字列型オブジェクトを変換しないでください。 force_bytes ( s , encoding = 'utf-8' , strings_only = False , errors = 'strict' ) [ソース] smart_bytes に似ていますが、遅延インス ... 式設定など)は機能しないことに注意してください。なぜなら、すべての引数が conditional_escape() を介して渡され、これが最終的に force_str() を値に対して呼び出すためです。 format_html_join ( sep , format_string , args_generator ) [ソース] format_html() のラ ...
https://man.mtool.work/django/6.1/ref/utils.html
設定 7988
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... ly large form posts should tune this setting. Under ASGI, the entire request may be spooled to disk before this limit is enforced. Therefore, it is strongly recommended to place additional protections in front of Django which limit the entire request ... スタイルのスラッシュ (/) を使う必要があります。 フィクスチャでデータを投入する と フィクスチャのロード を参照してください。 FORCE_SCRIPT_NAME デフォルト値: None If not None , this will be used as the value of the SCRIPT_NAME environment variable in any ... x outside of the request/response cycle (e.g. in management commands and standalone scripts) to generate correct URLs when FORCE_SCRIPT_NAME is provided. FORM_RENDERER デフォルト値: ' django.forms.renderers.DjangoTemplates ' The default class that ren ...
https://man.mtool.work/django/6.1/ref/settings.html
PREV 1 2 3 4 NEXT