... >>> city [ "Created" ] . as_datetime () (c_long(1999), c_long(5), c_long(23), c_long(0), c_long(0), c_long(0), c_long(0)) Driver class Driver ( dr_input ) [ソース] Driver クラスは、OGR DataSource ドライバをラップするために内部で使用されます。 driver_c ... するソースの名前。 >>> GDALRaster ({ "width" : 10 , "height" : 10 , "name" : "myraster" , "srid" : 4326 }) . name 'myraster' driver [ソース] 入力ファイルを処理するために使用されるGDALドライバの名前です。ファイルから作成された GDALRaster では、ドライバタイ ... ださい。 インメモリのラスタは次の例のように作成できます: >>> GDALRaster ({ "width" : 10 , "height" : 10 , "srid" : 4326 }) . driver . name 'MEM' ファイルベースの GeoTiff ラスターは、次の例のように作成できます: >>> import tempfile >>> rstfile = tempfile . ... ... とができます: / $ ogrinfo world/data/TM_WORLD_BORDERS-0.3.shp INFO: Open of `world/data/TM_WORLD_BORDERS-0.3.shp' using driver `ESRI Shapefile' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) ...\> ogrinfo world\data\TM_WORLD_BORDERS-0.3.shp INFO: Ope ... n of `world/data/TM_WORLD_BORDERS-0.3.shp' using driver `ESRI Shapefile' successful. 1: TM_WORLD_BORDERS-0.3 (Polygon) ogrinfo tells us that the shapefile has one layer, and that ... nfo -so world/data/TM_WORLD_BORDERS-0.3.shp TM_WORLD_BORDERS-0.3 INFO: Open of `world/data/TM_WORLD_BORDERS-0.3.shp' using driver `ESRI Shapefile' successful. Layer name: TM_WORLD_BORDERS-0.3 Metadata: DBF_DATE_LAST_UPDATE=2008-07-30 Geometry: Polygon ... ... eDatabaseAndState ( #24278 ). Stripped microseconds from datetime values when using an older version of the MySQLdb DB API driver as it does not support fractional seconds ( #24584 ). Fixed a migration crash when altering ManyToManyField s ( #24513 ). ... ... okups allowed str and dict lookup values to be passed to GDALRaster when they represented rasters. Depending on the raster driver, this could write a file to disk (in some cases enabling remote code execution) or issue a network request as the Django p ... ... okups allowed str and dict lookup values to be passed to GDALRaster when they represented rasters. Depending on the raster driver, this could write a file to disk (in some cases enabling remote code execution) or issue a network request as the Django p ... ... は将来廃止される可能性があります。 組み合わせが一意でなければならないフィールドのリストを指定します。 unique_together = [[ "driver" , "restaurant" ]] これは、一緒に考えたときに一意でなければならないリストのリストです。Django の管理画面で使われ、データベ ... れます)。 利便性のために、 unique_together は1つのフィールドセットしかないときは1つのリストにできます: unique_together = [ "driver" , "restaurant" ] ManyToManyField を unique_together に含めることはできません(それが何を意味するのかさえ不明です!)。 Man ... ... n in 1.7.1 when STATIC_ROOT has the default None value ( #23717 ). Added GeoDjango compatibility with mysqlclient database driver. Fixed MySQL 5.6+ crash with GeometryField s in migrations ( #23719 ). Fixed a migration crash when removing a field that ... ... JavaScriptCatalog の属性) (models.Site の属性) DomainNameValidator (django.core.validators のクラス) Don't repeat yourself Driver (django.contrib.gis.gdal のクラス) driver (GDALRaster の属性) driver_count (Driver の属性) DRY DummyBackend (django.tasks. ... ... ードは、以下のようになるでしょう。 from django.contrib.staticfiles.testing import StaticLiveServerTestCase from selenium.webdriver.common.by import By from selenium.webdriver.firefox.webdriver import WebDriver class MySeleniumTests ( StaticLiveServerTes ... tCase ): fixtures = [ "user-data.json" ] @classmethod def setUpClass ( cls ): super () . setUpClass () cls . selenium = WebDriver () cls . selenium . implicitly_wait ( 10 ) @classmethod def tearDownClass ( cls ): cls . selenium . quit () super () . tea ... かるまで Selenium を待たせるには、下記のようにします (Selenium > 2.13 が必要です): def test_login ( self ): from selenium.webdriver.support.wait import WebDriverWait timeout = 2 ... self . selenium . find_element ( By . XPATH , '//input[@value="Log in"]' ... ... use a connection pool with oracledb , set "pool" to True in the OPTIONS part of your database configuration. This uses the driver's create_pool() default values: DATABASES = { "default" : { "ENGINE" : "django.db.backends.oracle" , # ... "OPTIONS" : { " ... 2026年10月08日