検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 59 for mode (0.037 sec.)
django.core.files.base — Django 4.0.6 ドキュメント 12240
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... " , None ) self . name = name if hasattr ( file , "mode" ): self . mode = file . mode def __str__ ( self ) ... : self . close () [ドキュメント] def open ( self , mode = None ): if not self . closed : self . seek ( 0 ) ... self . name ): self . file = open ( self . name , mode or self . mode ) else : raise ValueError ( "The fi ... f __bool__ ( self ): return True def open ( self , mode = None ): self . seek ( 0 ) return self def close ...
https://man.plustar.jp/django/_modules/django/core/files/base.html - [similar]
File オブジェクト — Django 4.0.6 ドキュメント 11963
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 身が持つ属性やメソッドを使用するようにしてください。 mode ¶ ファイルの読み込み/書き込みのモードです。 open ( ... mode = None ) [ソース] ¶ Open or reopen the file (which ... also does File.seek(0) ). The mode argument allows the same values as Python's built- ... in open() . When reopening a file, mode will override whatever mode the file was originall ...
https://man.plustar.jp/django/ref/files/file.html - [similar]
Geolocation with GeoIP2 — Django 4.0.6 ドキュメント 10504
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... an integer in (0, 1, 2, 4, 8) corresponding to the MODE_AUTO , MODE_MMAP_EXT , MODE_MMAP , and GEOIP_INDEX ... _CACHE MODE_MEMORY C API settings, respectively. Defaults to 0 ... ( MODE_AUTO ). country The name of the GeoIP country data ...
https://man.plustar.jp/django/ref/contrib/gis/geoip2.html - [similar]
データベース — Django 4.0.6 ドキュメント 10504
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xt columns ¶ When specifying db_index=True on your model fields, Django typically outputs a single CREATE ... ¶ Using a connection pooler in transaction pooling mode (e.g. PgBouncer ) requires disabling server-side c ... from a server-side cursor. In transaction pooling mode, there's no guarantee that subsequent transactions ... it from server-side cursors in transaction pooling mode, you could set up another connection to the databa ...
https://man.plustar.jp/django/ref/databases.html - [similar]
非同期サポート — Django 4.0.6 ドキュメント 10241
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... に保護されます。 パフォーマンス ¶ When running in a mode that does not match the view (e.g. an async view u ... synchronous view, it will have to switch into sync mode for the middleware and then back to async mode for ... usly. In general you will only want to enable ASGI mode if you have asynchronous code in your project. 非同 ... dlocals work, it also enables the thread_sensitive mode of sync_to_async() when that wrapper is used below ...
https://man.plustar.jp/django/topics/async.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 10095
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ect to Django 1.4, switching to the timezone aware mode may take some care: the new mode disallows some ra ... switch Django into a more correct, time-zone aware mode. In this mode, Django stores date and time informa ... . py settings . py urls . py myapp / __init__ . py models . py You could import mysite.settings , mysite.u ... site/ directory: manage . py myapp / __init__ . py models . py mysite / __init__ . py settings . py urls . ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
File storage API — Django 4.0.6 ドキュメント 9964
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... cation = None , base_url = None , file_permissions_mode = None , directory_permissions_mode = None ) ¶ The ... value of your MEDIA_URL setting. file_permissions_mode ¶ The file system permissions that the file will r ... to FILE_UPLOAD_PERMISSIONS . directory_permissions_mode ¶ The file system permissions that the directory w ... raise a NotImplementedError instead. open ( name , mode = 'rb' ) ¶ Opens the file given by name . Note tha ...
https://man.plustar.jp/django/ref/files/storage.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 9176
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nc ( request ): # This code executes in autocommit mode (Django's default). do_stuff () with transaction . ... ベースに依存します。 You may need to manually revert model state when rolling back a transaction. The values ... of a model's fields won't be reverted when a transaction rol ... lback happens. This could lead to an inconsistent model state unless you manually restore the original fi ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
Django のインストール方法 — Django 4.0.6 ドキュメント 9176
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... he with mod_wsgi . mod_wsgi operates in one of two modes: embedded mode or daemon mode. In embedded mode, ... ce gains over other server arrangements. In daemon mode, mod_wsgi spawns an independent daemon process tha ... sult the mod_wsgi documentation to determine which mode is right for your setup. Make sure you have Apache ... d to automatically create database tables for your models (after first installing Django and creating a pr ...
https://man.plustar.jp/django/topics/install.html - [similar]
LayerMapping data import utility — Django 4.0.6 ドキュメント 8111
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... patial data files (e.g. shapefiles) into GeoDjango models. This utility grew out of the author's personal ... (e.g. WGS84), and then inserting into a GeoDjango model. 注釈 Use of LayerMapping requires GDAL. 警告 GIS ... 519943295]] Now we define our corresponding Django model (make sure to use migrate ): from django.contrib. ... gis.db import models class TestGeo ( models . Model ): name = models ...
https://man.plustar.jp/django/ref/contrib/gis/layermapping.html - [similar]
PREV 1 2 3 4 5 6 NEXT