per page, with , order by , clip by
Results of 1 - 10 of about 13 for pathlib (0.004 sec.)
Django 3.1 リリースノート 13742
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... e is sent with all same-site and cross-site requests. django.contrib.staticfiles The STATICFILES_DIRS setting now supports pathlib.Path . キャッシュ The cache_control() decorator and patch_cache_control() method now support multiple field names in the n ... all same-site and cross-site requests. E メール The EMAIL_FILE_PATH setting, used by the file email backend , now supports pathlib.Path . エラー報告 django.views.debug.SafeExceptionReporterFilter now filters sensitive values from request.META in excepti ... report generation. See カスタムエラーレポート for details. ファイルストレージ FileSystemStorage.save() method now supports pathlib.Path . FileField and ImageField now accept a callable for storage . This allows you to modify the used storage at runtime, ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 3.0 リリースノート 10099
Django 3.0 リリースノート 2019年12月2日 Django 3.0 へようこそ! このリリースノートでは、 バージョン 3.0 の新機能 と、Django 2.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... tance function, supported on PostGIS. Added support for the furlong unit in Distance . The GEOIP_PATH setting now supports pathlib.Path . The GeoIP2 class now accepts pathlib.Path path . django.contrib.postgres The new RangeOperators helps to avoid typo ... lIntegerField respectively. System checks and validators are now also properly inherited. FileField.upload_to now supports pathlib.Path . CheckConstraint is now supported on MySQL 8.0.16+. The new allows_group_by_selected_pks_on_model() method of django ...
https://man.mtool.work/django/6.1/releases/3.0.html
Django 3.2 リリースノート 10099
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... on. django.contrib.gis The GDALRaster.transform() method now supports SpatialReference . The DataSource class now supports pathlib.Path . The LayerMapping class now supports pathlib.Path . django.contrib.postgres The new ExclusionConstraint.include attr ... me a migration containing only that operation. Migrations now support serialization of pure and concrete path objects from pathlib , and os.PathLike instances. モデル The new no_key parameter for QuerySet.select_for_update() , supported on PostgreSQL, a ...
https://man.mtool.work/django/6.1/releases/3.2.html
GeoDjango チュートリアル 9378
GeoDjango チュートリアル はじめに GeoDjangoは、Django用の標準のcontribモジュールであり、それを世界クラスの地理情報Webフレームワークに変えます。GeoDjangoは、位置情報サービスなどの地理情報Webアプリケーションを作成するのを可能な限り簡単にするこ ... anage.py shell ...\> py manage.py shell チュートリアルの最初の方で 世界の国境 データをダウンロードしている場合は、Pythonの pathlib.Path を使用してそのパスを指定できます: >>> from pathlib import Path >>> import world >>> world_shp = Path ( world . __file ... ト内で LayerMapping を使用します。次のコードを含む world アプリケーション内に load.py というファイルを作成してください: from pathlib import Path from django.contrib.gis.utils import LayerMapping from .models import WorldBorder world_mapping = { "fips" : " ...
https://man.mtool.work/django/6.1/ref/contrib/gis/tutorial.html
エラーレポートの管理 9008
エラーレポートの管理 サイトを公開している場合、 DEBUG 設定は常にオフにしておかなければなりません。これにより、サーバー動作は高速になり、エラーページによって明らかになるアプリケーションの詳細が悪意あるユーザーに漏れるのを防ぎます。 しかし、 ... rter [ソース] html_template_path [ソース] 例外の HTML 表現をレンダリングするテンプレートへの絶対ファイルシステムパスを表す pathlib.Path を返すプロパティです。デフォルトは Django が提供するテンプレートです。 text_template_path [ソース] pathlib.Path を返す ...
https://man.mtool.work/django/6.1/howto/error-reporting.html
マイグレーション 8657
マイグレーション マイグレーション (Migrations) は、Django でモデルに対して行った変更 (フィールドの追加やモデルの削除など) をデータベーススキーマに反映させる方法です。大抵のマイグレーションは自動で行われるものの、いつマイグレーションが作られ ... ools.partialmethod instances which have serializable func , args , and keywords values Pure and concrete path objects from pathlib . Concrete paths are converted to their pure path equivalent, e.g. pathlib.PosixPath to pathlib.PurePosixPath os.PathLike ...
https://man.mtool.work/django/6.1/topics/migrations.html
テンプレートをオーバーライドする 8287
テンプレートをオーバーライドする プロジェクトでは、 django.contrib.admin のような contrib アプリケーションやサードパーティアプリケーションで Djangoアプリケーションのテンプレートを上書きすることができます。 テンプレートの上書きは、プロジェク ... リケーションのテンプレートをオーバーライドしようとしているとしましょう。プロジェクトに関連する設定は次のようになります: from pathlib import Path BASE_DIR = Path ( __file__ ) . resolve () . parent . parent INSTALLED_APPS = [ ... , "blog" , ... , ] TEMPLATE ...
https://man.mtool.work/django/6.1/howto/overriding-templates.html
GeoIP2によるジオロケーション 8287
GeoIP2によるジオロケーション 概要 GeoIP2 オブジェクトは、 MaxMind geoip2 Python ライブラリ [ 1 ] のラッパーです。 IP ベースのジオロケーションを実行するために、 GeoIP2 オブジェクトには、バイナリ形式の GeoIP Country および City データセットと ... ルを返します。 GeoIP2. geos ( query ) [ソース] クエリに対応する Point オブジェクトを返します。 設定 GEOIP_PATH 文字列または pathlib.Path で、GeoIP データファイルがあるディレクトリを指定します。この設定は、 GeoIP2 オブジェクトを初期化する際に path キーワー ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geoip2.html
ファイルの管理 7918
ファイルの管理 この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十分一般的なので、他の目的にも使えます。"静的ファイル" (JS や CSS など) を扱いたい場合は、 静的 ... a/cars/chevy_ii.jpg' >>> car . photo . path == new_path True ディスク上の既存のファイルを FileField に保存します: >>> from pathlib import Path >>> from django.core.files import File >>> path = Path ( "/some/external/specs.pdf" ) >>> car = Car . objects ...
https://man.mtool.work/django/6.1/topics/files.html
GeoDjango データベース API 7548
GeoDjango データベース API 空間バックエンド (Spatial Backend) GeoDjango は現在、次の空間データベースバックエンドを提供しています: django.contrib.gis.db.backends.postgis django.contrib.gis.db.backends.mysql django.contrib.gis.db.backends.ora ... can be mixed freely in most cases. However, unlike assignments to model fields, with lookups, types such as bytes , str , pathlib.Path , and dict must be wrapped by GDALRaster to signify that the potential for file writing or network fetching is accept ...
https://man.mtool.work/django/6.1/ref/contrib/gis/db-api.html
PREV 1 2 NEXT