per page, with , order by , clip by
Results of 1 - 10 of about 11 for quote (0.006 sec.)
Unicode データ 14243
Unicode データ Django はどこでも Unicode データをサポートしています。 この文書は、ASCII以外のエンコーディングでデータやテンプレートを使用するアプリケーションを書く場合に、知っておくべきことを説明します。 データベースの作成 データベースが任意 ... h implements the conversion from IRI to URI as required by RFC 3987 Section 3.1 . Python 標準ライブラリからの urllib.parse.quote() と urllib.parse.quote_plus() 関数。 これら2つの関数のグループは、わずかに異なる目的があり、それらを区別することが重要です ... 。通常、"&" や "%" のような予約文字が正しくエンコードされるように、IRI や URI パスの個々の部分に quote() を使用します。その後、完全な IRI に iri_to_uri() を適用し、非 ASCII 文字を正しいエンコード値に変換します。 注釈 技術的に ... 類するものを台無しにすることはないという意味です。 ここで例を挙げるとより理解しやすくなります: >>> from urllib.parse import quote >>> from django.utils.encoding import iri_to_uri >>> quote ( "Paris & Orléans" ) 'Paris%20%26%20Orl%C3%A9ans' >>> iri_to_u ...
https://man.mtool.work/django/6.1/ref/unicode.html
CSVを出力する 9548
CSVを出力する このドキュメントでは、Django のビューを使って動的に CSV (Comma Separated Values) を出力する方法を説明しています。そのためには、Python のCSV ライブラリか Django のテンプレートシステムを使います。 Python の CSV ライブラリを使う ... ow ([ "First row" , "Foo" , "Bar" , "Baz" ]) writer . writerow ([ "Second row" , "A" , "B" , "C" , '"Testing"' , "Here's a quote" ]) return response コードとコメントが自分自身の意味を説明しているはずですが、いくつかの点には言及しておくべきでしょう。 レ ... r source. csv_data = ( ( "First row" , "Foo" , "Bar" , "Baz" ), ( "Second row" , "A" , "B" , "C" , '"Testing"' , "Here's a quote" ), ) t = loader . get_template ( "my_template_name.txt" ) c = { "data" : csv_data } response . write ( t . render ( c )) ...
https://man.mtool.work/django/6.1/howto/outputting-csv.html
Porting your apps from Django 0.96 to 1.0 8695
Porting your apps from Django 0.96 to 1.0 Django 1.0 breaks compatibility with 0.96 in some areas. This guide will help you port 0.96 projects and apps to 1.0. The first part of this document includes the common changes needed to run with 1 ... tart_transaction_sql connection.ops.start_transaction_sql backend.get_tablespace_sql connection.ops.tablespace_sql backend.quote_name connection.ops.quote_name backend.get_query_set_class connection.ops.query_set_class backend.get_field_cast_sql conne ...
https://man.mtool.work/django/6.1/releases/1.0-porting-guide.html
Django 3.0 リリースノート 8695
Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... 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 deprecated in favor of the functions that they're aliases f ... or: urllib.parse.quote() , quote_plus() , unquote() , and unquote_plus() . django.utils.translation.ugettext() , ugettext_lazy() , ugettext_noop( ... d_host_and_scheme() . That a URL has an allowed host and scheme doesn't in general imply that it's "safe". It may still be quoted incorrectly, for example. Ensure to also use iri_to_uri() on the path component of untrusted URLs. 3.0 で削除された機能 以 ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 6.1 release notes 8695
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... ng. SQL SELECT aliases originating from QuerySet.annotate() calls as well as table and JOIN aliases are now systematically quoted to prevent special character collisions. Because quoted aliases are case-sensitive, raw SQL references to aliases mixing ... ers. This method should now expect to be provided expressions meant to be compiled via the provided compiler argument. The quote_name_unless_alias() method of SQLCompiler , the type of object passed as the compiler argument to the as_sql() method of e ... xpressions , is deprecated in favor of the newly introduced quote_name() method. The email_backend argument of log.AdminEmailHandler is deprecated in favor of the newly introduced using ar ...
https://man.mtool.work/django/6.1/releases/6.1.html
Django の機能廃止のタイムライン 8481
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... be removed. The Field.get_placeholder_sql shim over the deprecated get_placeholder method will be removed. The SQLCompiler.quote_name_unless_alias() method will be removed. The EMAIL_BACKEND , EMAIL_FILE_PATH , EMAIL_HOST , EMAIL_HOST_PASSWORD , EMAIL ... ートが削除されます。 4.0 これらの変更の詳細については、 Django 3.0 リリースノート を参照してください。 django.utils.http.urlquote() , urlquote_plus() , urlunquote() , および urlunquote_plus() は削除されます。 django.utils.encoding.force_text() と smart ... .8 release notes for more details on these changes. Support for calling a SQLCompiler directly as an alias for calling its quote_name_unless_alias method will be removed. cycle and firstof template tags will be removed from the future template tag lib ...
https://man.mtool.work/django/6.1/internals/deprecation.html
django.urls ユーティリティ関数 8037
django.urls ユーティリティ関数 reverse() reverse() 関数は指定したビューと任意のパラメータに対して、 url タグと同様に、絶対パス参照を返すために使用します。 reverse ( viewname , urlconf = None , args = None , kwargs = None , current_app = Non ... ( "cities" , args = [ "Orléans" ]) '.../Orl%C3%A9ans/' reverse() の出力に対してさらにエンコーディング(例えば urllib.parse.quote() など)を適用すると、望ましくない結果が生じることがあります。 クラスベースのビューをビューオブジェクトで逆引きする URLcon ...
https://man.mtool.work/django/6.1/ref/urlresolvers.html
Django 1.7 リリースノート 8037
Django 1.7 リリースノート September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... trib.auth.models.AbstractUser no longer defines a get_absolute_url() method. The old definition returned "/users/%s/" % urlquote(self.username) which was arbitrary since applications may or may not define such a url in urlpatterns . Define a get_absol ... and will be removed in Django 1.9. You can simply remove the {% load ... from future %} tags. django.utils.text.javascript_quote javascript_quote() was an undocumented function present in django.utils.text . It was used internally in the javascript_ca ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.8 リリースノート 8037
Django 1.8 リリースノート April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... replaced by compiler In previous Django versions, various internal ORM methods (mostly as_sql methods) accepted a qn (for "quote name") argument, which was a reference to a function that quoted identifiers for sending to the database. In Django 1.8, t ... ackwards-compatibility shim is immediately deprecated: you should rename your qn arguments to compiler , and call compiler.quote_name_unless_alias(...) where you previously called qn(...) . Default value of RedirectView.permanent The default value of ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.10 リリースノート 7610
Django 1.10 リリースノート 2016年8月1日 Django 1.10 へようこそ! このリリースノートでは、 バージョン 1.10 の新機能 と、Django 1.9 以前からアップグレードする際に注意が必要な 後方互換性が失われた変更点 について説明します。私たちは、非推奨の期間 ... これらの機能を削除する方法についても書かれています。 Support for calling a SQLCompiler directly as an alias for calling its quote_name_unless_alias method is removed. The cycle and firstof template tags are removed from the future template tag library. ...
https://man.mtool.work/django/6.1/releases/1.10.html
PREV 1 2 NEXT