Results of 1 - 10 of about 34 for ascii (0.002 sec.)
- Unicode データ 14827
- Unicode データ Django はどこでも Unicode データをサポートしています。 この文書は、ASCII以外のエンコーディングでデータやテンプレートを使用するアプリケーションを書く場合に、知っておくべきことを説明します。 データベースの作成 データベースが任意
... 渡すと、興味深い方法で問題が発生します。通常、いずれかのタイミングで Django は UnicodeDecodeError を発生させます。 コードが ASCII データのみを使用している場合、ASCII は UTF-8 のサブセットなので、通常の文字列を自由に使って渡すことが安全です。 DEFAULT_CH ... として扱うことができます。 URI と IRI の処理 Web フレームワークは URL(IRI の一種)を扱う必要があります。URL の要件の1つは、ASCII 文字のみを使用してエンコードされることです。しかし、国際的な環境では、Unicode 文字を含むことができる IRI から URL を構築す ... エンコードされるように、IRI や URI パスの個々の部分に quote() を使用します。その後、完全な IRI に iri_to_uri() を適用し、非 ASCII 文字を正しいエンコード値に変換します。 注釈 技術的に言うと、 iri_to_uri() が IRI 仕様の完全なアルゴリズムを実装していると言 ...
-
https://man.mtool.work/django/6.1/ref/unicode.html
- トラブルシューティング 11567
- トラブルシューティング このページでは、Django アプリの開発でよく起こるエラーや問題に関するアドバイスを説明してます。 django-admin 実行時の問題 command not found: django-admin Djangoを pip 経由でインストールした場合、 django-admin はシステム
... in コマンドを実行します。 その他 UnicodeDecodeError が発生しました。何を間違えてしまったのでしょうか? この種のエラーは、非 ASCII シーケンスを含むバイト文字列がUnicode文字列に変換され、指定されたエンコーディングが正しくない場合に発生します。 出力は一般 ... 的に次のようになります: UnicodeDecodeError: 'ascii' codec can't decode byte 0x?? in position ?: ordinal not in range(128) 解決策は主にコンテキストに依存しますが、このエラーを ... し穴には以下のようなものがあります: あなたのシステムロケールは、UNIX ライクなシステム上の "C" ロケールのような、デフォルトの ASCII ロケールであるかもしれません( locale コマンドで確認できます)。 その場合は、システムのマニュアルを参照して、これを UTF-8 ...
-
https://man.mtool.work/django/6.1/faq/troubleshooting.html
- Django 1.2.3 リリースノート 9634
- Django 1.2.3 リリースノート Django 1.2.3 fixed a couple of release problems in the 1.2.2 release and was released two days after 1.2.2. This release corrects the following problems: The patch applied for the security issue covered in Django
... 1.2.2 caused issues with non-ASCII responses using CSRF tokens. The patch also caused issues with some forms, most notably the user-editing forms in the Djan ...
-
https://man.mtool.work/django/6.1/releases/1.2.3.html
- Django 1.9.8 リリースノート 9250
- Django 1.9.8 リリースノート July 18, 2016 Django 1.9.8 では、1.9.7 にあったセキュリティの問題といくつかのバグを修正しました。 XSS in admin's add/change related popup Unsafe usage of JavaScript's Element.innerHTML could result in XSS in the
... text_pattern_ops index on CharField and TextField respectively when using AddField on PostgreSQL ( #26889 ). Python 2 で非 ASCII 文字列のファイル名を使うと makemessages がクラッシュする問題を修正 ( #26897 )。 ...
-
https://man.mtool.work/django/6.1/releases/1.9.8.html
- Django を uWSGI とともに使うには? 9059
- Django を uWSGI とともに使うには? uWSGI は高速かつ自己回復的、開発者やシステム管理者にとって使いやすいアプリケーションコンテナサーバーで、純粋な C 言語で記述されています。 参考 uWSGI のドキュメントは、Django、nginx および uWSGI をカバーした
... rproject.log ini 設定ファイルを使用する例: uwsgi --ini uwsgi.ini ファイルアップロード時の UnicodeEncodeError を修正する 非 ASCII 文字を含むファイル名でファイルをアップロードするときに UnicodeEncodeError が発生する場合は、 uwsgi.ini に以下の設定を追加し ... て、uWSGI が非 ASCII ファイル名を受け付けるようにしてください: env = LANG=en_US.UTF-8 詳細については、Unicode リファレンスガイドの ファイル セク ...
-
https://man.mtool.work/django/6.1/howto/deployment/wsgi/uwsgi.html
- Django 1.11.4 リリースノート 8867
- Django 1.11.4 リリースノート August 1, 2017 Django 1.11.4 fixes several bugs in 1.11.3. バグ修正 Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values for date/time widgets results in an empty value in the widget's HTML ( #
...
-
https://man.mtool.work/django/6.1/releases/1.11.4.html
- Django 1.6.2 リリースノート 8867
- Django 1.6.2 リリースノート February 6, 2014 This is Django 1.6.2, a bugfix release for Django 1.6. Django 1.6.2 fixes several bugs in 1.6.1: Prevented the base geometry object of a prepared geometry to be garbage collected, which could lea
... ango ( #21662 ). Fixed a crash when executing the changepassword command when the user object representation contained non-ASCII characters ( #21627 ). The collectstatic command will raise an error rather than default to using the current working dire ...
-
https://man.mtool.work/django/6.1/releases/1.6.2.html
- Django 5.1.3 リリースノート 8867
- Django 5.1.3 リリースノート 2024年11月5日 Django 5.1.3 では、5.1.2 におけるいくつかのバグを修正し、Python 3.13 のサポートを追加しました。 バグ修正 Django 5.1 で、 DomainNameValidator が、本来は有効なドメイン名そのものである入力値のみを受け入
... できなくなっていたリグレッションを修正しました ( #35841 )。 Django 5.1 で、管理画面のフィールドセットをレンダリングする際に非ASCII文字のフィールドセット名が表示されなくなっていたリグレッションを修正しました ( #35876 )。 ...
-
https://man.mtool.work/django/6.1/releases/5.1.3.html
- Django 1.11.2 リリースノート 8484
- Django 1.11.2 リリースノート June 1, 2017 Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translations from Transifex are incorporated. Minor feature The new LiveServerTestCase.port attribute rea
... erties ( #28222 ). Fixed MultipleObjectMixin.paginate_queryset() crash on Python 2 if the InvalidPage message contains non-ASCII ( #28204 ). Prevented Subquery from adding an unnecessary CAST which resulted in invalid SQL ( #28199 ). Corrected detecti ...
-
https://man.mtool.work/django/6.1/releases/1.11.2.html
- Django 1.6.1 リリースノート 8484
- Django 1.6.1 リリースノート December 12, 2013 This is Django 1.6.1, a bugfix release for Django 1.6. In addition to the bug fixes listed below, translations submitted since the 1.6 release are also included. Bug fixes Fixed BCryptSHA256Pass
... 73). Fixed a crash when executing runserver on non-English systems and when the formatted date in its output contained non-ASCII characters (#21358). Fixed a crash in the debug view after an exception occurred on Python ≥ 3.3 (#21443). Fixed a crash i ...
-
https://man.mtool.work/django/6.1/releases/1.6.1.html