... ne Open Source Yes 3.14, 3.13, 3.12, 3.11, 3.10 PROJ Cartographic Projections library Yes (PostgreSQL and SQLite のみ) 9.x, 8.x, 7.x, 6.x GDAL Geospatial Data Abstraction Library Yes 3.13, 3.12, 3.11, 3.10, 3 ... macOSユーザーは、ソフトウェアをソースからコンパイルするために Xcode をインストールする必要があります。 GEOS GEOS is a C++ library for performing geometric operations, and is the default internal geometry representation used by GeoDjango (it's behind th ... e "lazy" geometries). Specifically, the C API library is called (e.g., libgeos_c.so ) directly from Python using ctypes. まず、GEOSのウェブサイトからGEOSをダウンロードし、ソース ... ... e geospatial libraries required 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: データベース ライブラリの要件 ... な組み合わせについては、OSGeo Wikiの this comparison matrix も参照してください。 インストール 地理空間ライブラリ (Geospatial library) 地理空間ライブラリのインストール データベースのインストール PostGIS のインストール SpatiaLite のインストール DATABASES の ... ライブラリのパスは、個々のユーザーごとに環境変数を設定するか、システム全体のライブラリ パスを構成することで設定できます。 LD_LIBRARY_PATH 環境変数 A user may set this environment variable to customize the library paths they want to use. The typical librar ... ... 、 register という名前のモジュールレベルの変数を含む必要があります。これは、すべてのタグとフィルタが登録されている template.Library のインスタンスです。そのため、あなたのモジュールの上部に、次のコードを記述してください: from django import template regist ... er = template . Library () あるいは、テンプレートタグのモジュールは、 DjangoTemplates への 'libraries' 引数を通じて登録することもできます。テンプレ ... one argument. """Converts a string into all lowercase""" return value . lower () 独自のフィルタを登録する django.template.Library. filter () フィルタ定義を書き終わったら、Django のテンプレート言語で使用できるようにするため、 Library のインスタンスに登録 ... ... pport for easy handling of static files . Django's testing framework now supports (and ships with a copy of) the unittest2 library . Wherever possible, new features are introduced in a backwards-compatible manner per our API stability policy policy. As ... を保つためにバックポートされた Python 2.7 の unittest ライブラリのコピーである unittest2 が同梱されています。 To access this library, Django provides the django.utils.unittest module alias. If you are using Python 2.7, or you have installed unittest2 loca ... lly, Django will map the alias to the installed version of the unittest library. Otherwise, Django will use its own bundled version of unittest2 . To take advantage of this alias, simply use: from djang ... ... iscoverRunner ) uses the test discovery features built into unittest2 (the version of unittest in the Python 2.7+ standard library, and bundled with Django). With test discovery, tests can be located in any module whose name matches the pattern test*.py ... Added the django.db.models.ForeignKey.db_constraint and django.db.models.ManyToManyField.db_constraint options. The jQuery library embedded in the admin has been upgraded to version 1.9.1. Syndication feeds ( django.contrib.syndication ) can now pass ex ... mmendations in the Python documentation . Django bundles a modified version of the doctest module from the Python standard library (in django.test._doctest ) and includes some additional doctest utilities. These utilities are deprecated and will be remo ... ... ote_name_unless_alias method will be removed. cycle and firstof template tags will be removed from the future template tag library (used during the 1.6/1.7 deprecation period). django.conf.urls.patterns() will be removed. Support for the prefix argument ... t using WSGI. django.utils.datastructures.SortedDict will be removed. Use collections.OrderedDict from the Python standard library instead. ModelAdmin.declared_fieldsets will be removed. Instances of util.py in the Django codebase have been renamed to u ... avor of django.utils.module_loading.import_string . ssi and url template tags will be removed from the future template tag library (used during the 1.3/1.4 deprecation period). django.utils.text.javascript_quote will be removed. Database test settings a ... ... ango.contrib.gis.forms.widgets GeoDjango widgets API. django.contrib.gis.gdal GeoDjango's high-level interface to the GDAL library. django.contrib.gis.geoip2 Python interface for MaxMind's GeoIP2 databases. django.contrib.gis.geos GeoDjango's high-level ... interface to the GEOS library. django.contrib.gis.measure GeoDjango's distance and area measurement objects. django.contrib.gis.serializers.geojson Seri ... encoding A series of helper functions to manage character encoding. django.utils.feedgenerator Syndication feed generation library -- used for generating RSS, etc. django.utils.functional Functional programming tools. django.utils.html HTML helper funct ... ... validation is disabled when DEBUG is True or when running tests. XML deserialization The XML parser in the Python standard library is vulnerable to a number of attacks via external entities and entity expansion. Django uses this parser for deserializing ... n XML document with a DTD (DOCTYPE definition), which closes off these attack avenues. These issues in the Python standard library are CVE-2013-1664 and CVE-2013-1665. More information available from the Python security team . Django's XML serializer do ... ... validation is disabled when DEBUG is True or when running tests. XML deserialization The XML parser in the Python standard library is vulnerable to a number of attacks via external entities and entity expansion. Django uses this parser for deserializing ... n XML document with a DTD (DOCTYPE definition), which closes off these attack avenues. These issues in the Python standard library are CVE-2013-1664 and CVE-2013-1665. More information available from the Python security team . Django's XML serializer do ... ... fixes, so we can't possibly catalog all the changes. Here, we describe the most notable changes in this release. New forms library django.newforms is Django's new form-handling library. It's a replacement for django.forms , the old form/manipulator/vali ... statements as described above. The next release after that will completely remove django.oldforms . Although the newforms library will continue to evolve, it's ready for use for most common cases. We recommend that anyone new to form handling skip the ... 2026年10月08日