per page, with , order by , clip by
Results of 1 - 10 of about 16 for unit (0.003 sec.)
測定オブジェクト 15127
測定オブジェクト django.contrib.gis.measure モジュールには、距離や面積の単位を便利に表現するためのオブジェクトが含まれています。 [ 1 ] 具体的には、 Distance と Area の 2 つのオブジェクトを実装しており、それぞれ D と A の便利なエイリアスを介 ... クセスできます。 カスタマイズ例 Distance objects may be instantiated using a keyword argument indicating the context of the units. In the example below, two different distance objects are instantiated in units of kilometers ( km ) and miles ( mi ): >> ... クトとなります。 >>> a = d1 * d2 # Returns an Area object. >>> print ( a ) 40.2336 sq_km ユニットの属性略称を決定するには、 unit_attname クラスメソッドを使用します: >>> print ( Distance . unit_attname ( "US Survey Foot" )) survey_ft >>> print ( Distan ... ce . unit_attname ( "centimeter" )) cm サポートされる単位 単位 (unit) 属性 フルネームまたはエイリアス km Kilometre, Kilometer mi Mil ...
https://man.mtool.work/django/6.1/ref/contrib/gis/measure.html
Unit tests 9600
Unit tests Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite! The Django tests all use the ... with Django for testing applications. See テストを書いて実行する for an explanation of how to write new tests. Running the unit tests Quickstart First, fork Django on GitHub . Second, create and activate a virtual environment. If you're not familiar ... ts. Django includes a basic tox.ini that automates some checks that our build server performs on pull requests. To run the unit tests and other checks (such as import sorting , the documentation spelling checker , and code formatting ), install and r ... =1.19.0 Testing other Python versions and database backends In addition to the default environments, tox supports running unit tests for other versions of Python and other database backends. Since Django's test suite doesn't bundle a settings file f ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Contributing code 8820
Contributing code So you'd like to write some code, documentation or tests to improve Django? There are several ways you can help Django's development. Tutorials The Django tutorial contains a whole section that walks you step-by-step throu ... cific topics: How to submit a patch to Django for new and/or fixed behavior How to write and run tests How to run Django's unit tests How to work with Git and GitHub Related topics It's important to understand how we work and the conventions we adopt ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/
Django 1.0.2 リリースノート 8560
Django 1.0.2 リリースノート Django 1.0.2 へようこそ! This is the second "bugfix" release in the Django 1.0 series, improving the stability and performance of the Django 1.0 codebase. As such, Django 1.0.2 contains no new features (and, purs ... me directories from the final release package, including one directory required by django.contrib.gis and part of Django's unit-test suite. Django 1.0.2 ではパッケージングスクリプトが更新され、リリースパッケージには Django 1.0.1 から省略されたディレク ...
https://man.mtool.work/django/6.1/releases/1.0.2.html
Django 1.5 リリースノート 8473
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! 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 1.4 or older versions. We'v ... under Python 3. Thus, we're recommending that Django 1.5 not be used in production under Python 3. Instead, use this opportunity to begin porting applications to Python 3. If you're an author of a pluggable component, we encourage you to start portin ... ase Previously, the test database was truncated before each test run in a TransactionTestCase . In order to be able to run unit tests in any order and to make sure they are always isolated from each other, TransactionTestCase will now reset the datab ... der to make sure all TestCase code starts with a clean database, tests are now executed in the following order: First, all unit tests (including unittest.TestCase , SimpleTestCase , TestCase and TransactionTestCase ) are run with no particular orderi ...
https://man.mtool.work/django/6.1/releases/1.5.html
GDAL API 8300
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... layer . srs ) GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_1984",6378137,298.257223563]], PRIMEM["Greenwich",0], UNIT["Degree",0.017453292519943295]] Layer に空間参照情報が関連付けられていない場合、 None が返されます。 spatial_filter このレ ... ... AUTHORITY["EPSG","7030"]], ... AUTHORITY["EPSG","6326"]], ... PRIMEM["Greenwich",0, ... AUTHORITY["EPSG","8901"]], ... UNIT["degree",0.01745329251994328, ... AUTHORITY["EPSG","9122"]], ... AUTHORITY["EPSG","4326"]]""" ) # OGC WKT 警告 URLs and fi ... " , 1 ]) # The authority value 4326 >>> print ( srs [ "TOWGS84" , 4 ]) # the fourth value in this wkt 0 >>> print ( srs [ "UNIT|AUTHORITY" ]) # For the units authority, have to use the pipe symbol. EPSG >>> print ( srs [ "UNIT|AUTHORITY" , 1 ]) # The ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Sprint quickstart guide 8213
Sprint quickstart guide This document explains how to prepare to contribute to Django. It is intended for use during sprints, or by people who are already familiar with contributing to Python open source projects. This guide assumes you're ... Pre-commit checks for further details. Run the tests: /  $ ./tests/runtests.py ...\> tests\runtests.py See Running the unit tests for more information. While tests will all pass in CI, they may not on every person's local environment. For example ...
https://man.mtool.work/django/6.1/internals/contributing/sprint-quickstart.html
LayerMapping データインポートユーティリティ 8127
LayerMapping データインポートユーティリティ LayerMapping クラスは、ベクトル空間データファイル (例: shapefile) の内容を GeoDjango モデルにマッピングする方法を提供します。 このユーティリティは、ベクターレイヤーからジオメトリとフィールドを取り ... WGS84 in WKT GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_1984",6378137,298.257223563]], PRIMEM["Greenwich",0], UNIT["Degree",0.017453292519943295]] ここで、対応する Django モデルを定義します (必ず migrate を使ってください): from django.co ...
https://man.mtool.work/django/6.1/ref/contrib/gis/layermapping.html
Django 1.1 リリースノート 8040
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... when finished, instead of by flushing and re-populating the database. This results in an immense speedup for most types of unit tests. See the documentation for TestCase and TransactionTestCase for a full description, and some important notes on data ...
https://man.mtool.work/django/6.1/releases/1.1.html
チケットをトリアージする 7953
チケットをトリアージする Django uses Trac for managing the work on the code base. Trac is a community-tended garden of the bugs people have found and the features Django has decided to add. As in any garden, sometimes there are weeds to be ... 生じることは想定内なので、Tracは「ほぼ正確」です。間違ってなんぼ、我々は期限を守ってからの完璧主義です。 We rely on the community to keep participating, keep tickets as accurate as possible, and raise issues for discussion on the Django Forum when the ... roles in this diagram. Maintainers (also known as Fellows) usually take part in all of them, but anyone in the Django community can participate in any role except merger. The merger role is granted by a vote of the Steering Council . Triagers: anyon ... ionally open to the public. Anyone can help by working on tickets, triaging tickets and reviewing changes. Django is a community project, and we encourage triage and collaboration by the community . We truly want you to help! For example, here's the ...
https://man.mtool.work/django/6.1/internals/contributing/triaging-tickets.html
PREV 1 2 NEXT