per page, with , order by , clip by
Results of 1 - 10 of about 23 for port (0.006 sec.)
Django 1.11.2 リリースノート 12802
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 ... llows the use case of binding to a specific port following the bind to port zero change in Django 1.11. バグ修正 Added detection for GDAL 2.1 and 2.0, and removed detectio ... n for unsupported versions 1.7 and 1.8 ( #28181 ). Changed contrib.gis to raise ImproperlyConfigured rather than GDALException if gdal isn ...
https://man.mtool.work/django/6.1/releases/1.11.2.html
Migrating email to mailers 11511
Migrating email to mailers Django 6.1 introduced the MAILERS setting, replacing EMAIL_BACKEND and several other EMAIL_* settings. It also introduced mail.mailers for obtaining configured email backend instances, replacing mail.get_connectio ... ends Replacing auth_user and auth_password Updating AdminEmailHandler email_backend Ignoring transient failures in error reporting バージョン 6.1 で非推奨: The following settings and functions will be removed in Django 2028: EMAIL_BACKEND , EMAIL_FIL ... E_PATH , EMAIL_HOST , EMAIL_HOST_PASSWORD , EMAIL_HOST_USER , EMAIL_PORT , EMAIL_SSL_CERTFILE , EMAIL_SSL_KEYFILE , EMAIL_TIMEOUT , EMAIL_USE_SSL , EMAIL_USE_TLS mail.get_connection() and the con ... : EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" EMAIL_HOST = "mail.example.net" EMAIL_USE_TLS = True EMAIL_PORT = 587 EMAIL_HOST_USER = "user@example.net" EMAIL_HOST_PASSWORD = "password" use: MAILERS = { "default" : { "BACKEND" : "dj ...
https://man.mtool.work/django/6.1/howto/mailers-migration.html
GeoDjango のインストール 11076
GeoDjango のインストール 概要 通常、GeoDjango のインストールには次のものが必要です: Python と Django 空間データベース (Spatial database) 地理空間ライブラリ (Geospatial library) 各要件の詳細とインストール手順については、以下のセクションを参照 ... quired for a GeoDjango installation depends on the spatial database used. The following lists the library requirements, supported versions, and any notes for each of the supported database backends: データベース ライブラリの要件 サポートされるバージョ ... , GDAL, PROJ, PostGIS 15+ PostGIS が必要です。 MySQL GEOS, GDAL 8.4+ 機能制限があります 。 Oracle GEOS, GDAL 19+ XE not supported. SQLite GEOS, GDAL, PROJ, SpatiaLite 3.37.0+ Requires SpatiaLite 4.3+ PostgreSQL/PostGIS/GEOS/GDAL の可能な組み合わせにつ ... s to be included in the LD_LIBRARY_PATH variable. For example, the user could place the following in their bash profile: export LD_LIBRARY_PATH = /usr/local/lib システムライブラリのパスを設定する On GNU/Linux systems, there is typically a file in /et ...
https://man.mtool.work/django/6.1/ref/contrib/gis/install/
データベース 9785
データベース Django は次のデータベースを公式にサポートしています。 PostgreSQL MariaDB MySQL Oracle SQLite サードパーティから提供されているデータベースバックエンド も多数あります。 Django はすべてのデータベースで可能な限り多くの機能をサポート ... ベースを正しく設定する方法については、以下のデータベース固有のノートを確認してください。 PostgreSQL に関するノート Django supports PostgreSQL 15 and higher. psycopg 3.1.12+ or psycopg2 2.9.9+ is required, though the latest psycopg 3.1.12+ is recommende ... ce" : "my_service" , "passfile" : ".my_pgpass" , }, } } .pg_service.conf [my_service] host=localhost user=USER dbname=NAME port=5432 .my_pgpass localhost:5432:NAME:USER:PASSWORD PostgreSQLバックエンドは OPTIONS の内容をキーワード引数として接続コンスト ... 場合は、 DATABASES 内のデータベース設定の OPTIONS 部分に指定してください。 from django.db.backends.postgresql.psycopg_any import IsolationLevel DATABASES = { # ... "OPTIONS" : { "isolation_level" : IsolationLevel . SERIALIZABLE , }, } 注釈 より高い分離 ...
https://man.mtool.work/django/6.1/ref/databases.html
Django 1.11 リリースノート 9785
Django 1.11 リリースノート April 4, 2017 Django 1.11 へようこそ! このリリースノートでは、Django 1.10 および過去のバージョンからアップグレードする際に知っておくべきいくつかの 後方互換性のない変更 に加え、 新機能 を説明しています。 いくつかの ... Python を使用することを 強く推奨 し、公式には最終リリースしかサポートしません。 The Django 1.11.x series is the last to support Python 2. The next major release, Django 2.0, will only support Python 3.4+. 廃止予定警告はデフォルトでは表示されなくなりま ... ee index, as if you used db_index on the model field or index_together on the model Meta class. It can be subclassed to support different index types, such as GinIndex . It also allows defining the order (ASC/DESC) for the columns of the index. テンプ ... eometry.from_gml() と OGRGeometry.from_gml() メソッドによって、GML から幾何学的配置を作成できるようになりました。 Added support for the dwithin lookup on SpatiaLite. The Area function, Distance function, and distance lookups now work with geodetic co ...
https://man.mtool.work/django/6.1/releases/1.11.html
メールを送信する 9785
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... send_mail() を使用します。たとえば、プレーンテキストのメッセージを送信するには、次のようにします。 from django.core.mail import send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) When addition ... ain text versions with a specific template and custom headers, you can use the following approach: from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string # First, render the plain text content. text_co ... l notifications and bulk marketing email, etc. The MAILERS setting can define multiple mail configurations. For example: import os MAILERS = { "default" : { "BACKEND" : "django.core.mail.backends.smtp.EmailBackend" , "OPTIONS" : { "host" : "smtp.exam ...
https://man.mtool.work/django/6.1/topics/email.html
設定 8713
設定 警告 設定を上書きするとき、特にデフォルト値が空でないリストや辞書の場合、例えば STATICFILES_FINDERS などは、注意してください。Djangoの使用したい機能に必要なコンポーネントを保持するようにしてください。 コアの設定 ここでは、Django の cor ... ends.postgresql" , "NAME" : "mydatabase" , "USER" : "mydatabaseuser" , "PASSWORD" : "mypassword" , "HOST" : "127.0.0.1" , "PORT" : "5432" , } } より複雑な設定に必要な次の内部オプションが利用可能です: ATOMIC_REQUESTS デフォルト値: False これを True に ... 照してください。 PASSWORD デフォルト値: '' (空文字列) データベースに接続する際に使用するパスワード。SQLiteでは使用しません。 PORT デフォルト値: '' (空文字列) データベースに接続する際に使用するポート。空の文字列はデフォルトポートを意味します。SQLiteでは ... esponse オブジェクトで使用するデフォルトの文字セット。 Content-Type ヘッダを構築する際に使用されます。 DEFAULT_EXCEPTION_REPORTER デフォルト値: ' django.views.debug.ExceptionReporter ' まだ HttpRequest インスタンスに割り当てられていない場合に使用され ...
https://man.mtool.work/django/6.1/ref/settings.html
Django 1.9 リリースノート 8713
Django 1.9 リリースノート December 1, 2015 Django 1.9 へようこそ! このリリースノートでは、 バージョン 1.9 の新機能 と、Django 1.8 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機 ... anged. AbstractBaseUser and BaseUserManager were moved to a new django.contrib.auth.base_user module so that they can be imported without including django.contrib.auth in INSTALLED_APPS (doing so raised a deprecation warning in older versions and is ... no longer supported in Django 1.9). The permission argument of permission_required() accepts all kinds of iterables, not only list and tuple ... 使ったセッションを拡張する を読んでください。 django.contrib.sites get_current_site() が新たに request.get_host() が domain:port という形式 (例: example.com:80 ) の値を返す場合でもハンドリングできるようになりました。host がデータベースレコードとマッチ ...
https://man.mtool.work/django/6.1/releases/1.9.html
Django のキャッシュフレームワーク 8495
Django のキャッシュフレームワーク 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエストするたびに、ウェブサーバーはあらゆる種類の計算を行い (データベースのクエリから、テンプレートの ... または django.core.cache.backends.memcached.PyLibMCCache (選択した memcached バインディングによる) に設定する LOCATION を ip:port の値 (ここで、 ip は Memcached デーモンの IP アドレス、 port は Memcached が起動しているポート)、または、 unix:path の値に ... 設定する (ここで、 path は Memcached Unix socket ファイルへのパス)。 次の例では、Memcached は localhost (127.0.0.1) port 11211 で起動していて、 pymemcache バインディングを使用しています。 CACHES = { "default" : { "BACKEND" : "django.core.cache ... ched.PyMemcacheCache" , "LOCATION" : [ "172.19.26.240:11211" , "172.19.26.242:11211" , ], } } 以下の例では、172.19.26.240 (port 11211)、172.19.26.242 (port 11212)、172.19.26.244 (port 11213) の IP アドレスで動作する Memcached インスタンスでキャッシュ ...
https://man.mtool.work/django/6.1/topics/cache.html
リクエストとレスポンスのオブジェクト 8277
リクエストとレスポンスのオブジェクト 簡単な概要 Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います。 あるページがリクエストされたとき、Django はリクエストに関するメタデータを含んだ HttpRequest ... 証されたユーザー(もしあれば)。 REQUEST_METHOD -- "GET" や "POST" といったです。 SERVER_NAME -- サーバのホスト名です。 SERVER_PORT -- (文字列としての) サーバのポートです。 上記の CONTENT_LENGTH と CONTENT_TYPE を除き、リクエストの HTTP ヘッダーは、すべて ... attribute to use a custom multipart parser, either via middleware or directly in views: from django.http.multipartparser import MultiPartParser class CustomMultiPartParser ( MultiPartParser ): def parse ( self ): post = QueryDict ( mutable = True ) f ... とで、それまでにミドルウェアで行われた変更を取り消し、元の ROOT_URLCONF を使用するようにできます。 HttpRequest. exception_reporter_filter これは、現在のリクエストに対して DEFAULT_EXCEPTION_REPORTER_FILTER の代わりに使用されます。詳細については、 カスタ ...
https://man.mtool.work/django/6.1/ref/request-response.html
PREV 1 2 3 NEXT