Results of 1 - 10 of about 144 for type (0.044 sec.)
- フォーム API — Django 4.0.6 ドキュメント 10913
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
lse ) >>> print ( f ) <tr><th>Name:</th><td><input type="text" name="name" value="instance" required></td> ...
</tr> <tr><th>Url:</th><td><input type="url" name="url" required></td></tr> <tr><th>Comme ...
nt:</th><td><input type="text" name="comment" required></td></tr> Form. ge ...
' )[ 0 ] '<tr><th>Name:</th><td><input name="name" type="text" value="instance" required></td></tr>' >>> f ...
-
https://man.plustar.jp/django/ref/forms/api.html
- [similar]
- Conditional Expressions — Django 4.0.6 ドキュメント 10653
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
): REGULAR = 'R' GOLD = 'G' PLATINUM = 'P' ACCOUNT_TYPE_CHOICES = [ ( REGULAR , 'Regular' ), ( GOLD , 'Gol ...
50 ) registered_on = models . DateField () account_type = models . CharField ( max_length = 1 , choices = ...
ACCOUNT_TYPE_CHOICES , default = REGULAR , ) When ¶ class When ...
ng two examples are equivalent: >>> When ( account_type = Client . GOLD , then = 'name' ) >>> When ( accou ...
-
https://man.plustar.jp/django/ref/models/conditional-expressions.html
- [similar]
- django.core.files.uploadedfile — Django 4.0.6 ドキュメント 9885
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nit__ ( self , file = None , name = None , content_type = None , size = None , charset = None , content_ty ...
( file , name ) self . size = size self . content_type = content_type self . charset = charset self . con ...
tent_type_extra = content_type_extra def __repr__ ( self ): ...
_class__ . __name__ , self . name , self . content_type ) def _get_name ( self ): return self . _name def ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadedfile.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 9885
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
grate コマンドラインオプション remove_stale_contenttypes コマンドラインオプション showmigrations コマンドラ ...
オプション --include-stale-apps remove_stale_contenttypes コマンドラインオプション --include-views inspectd ...
ndex_template (AdminSite の属性) app_label (ContentType の属性) (Options の属性) app_name (ResolverMatch の ...
lds のクラス) arrayfield.contained_by field lookup type arrayfield.contains field lookup type arrayfield.i ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- ウィジェット — Django 4.0.6 ドキュメント 9849
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
。 Built-in widgets によって作られる HTML は、 <!DOCTYPE html> を対象とした HTML5 シンタックスを使います。例 ...
) >>> f . as_table () <tr><th>Name:</th><td><input type="text" name="name" required></td></tr> <tr><th>Url ...
:</th><td><input type="url" name="url" required></td></tr> <tr><th>Comme ...
nt:</th><td><input type="text" name="comment" required></td></tr> On a rea ...
-
https://man.plustar.jp/django/ref/forms/widgets.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 9589
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » contenttypes フレームワーク ¶ Django includes a contenttypes a ...
odels. オーバービュー ¶ At the heart of the contenttypes application is the ContentType model, which lives ...
at django.contrib.contenttypes.models.ContentType . Instances of ContentType rep ...
alled in your project, and new instances of ContentType are automatically created whenever new models are ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- GeoDjango Model API — Django 4.0.6 ドキュメント 8631
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
100 ) rast = models . RasterField () Spatial Field Types ¶ Spatial fields consist of a series of geometry ...
field types and one raster field type. Each of the geometry f ...
ield types correspond to the OpenGIS Simple Features specifi ...
Field.geography keyword so that geography database type is used instead. Additional Resources: spatialrefe ...
-
https://man.plustar.jp/django/ref/contrib/gis/model-api.html
- [similar]
- django.core.files.uploadhandler — Django 4.0.6 ドキュメント 8478
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t = None ): self . file_name = None self . content_type = None self . content_length = None self . charset ...
= None self . content_type_extra = None self . request = request [ドキュメント ...
e client. :boundary: The boundary from the Content-Type header. Be sure to prepend two '--'. """ pass [ドキ ...
new_file ( self , field_name , file_name , content_type , content_length , charset = None , content_type_e ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html
- [similar]
- How to create custom model fields — Django 4.0.6 ドキュメント 8478
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
プのみです。 地理的なポリゴンや、 PostgreSQL custom types`_などのユーザー作成タイプなど、より不明瞭な列タイ ...
トを書く ¶ As always, you should document your field type, so users will know what it is. In addition to pro ...
admin app to see a short description of the field type via the django.contrib.admindocs application. To d ...
ースタイプ ¶ Say you've created a PostgreSQL custom type called mytype . You can subclass Field and impleme ...
-
https://man.plustar.jp/django/howto/custom-model-fields.html
- [similar]
- TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 8064
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
se. __init__ ( template , context = None , content_type = None , status = None , charset = None , using = ...
e object with the given template, context, content type, HTTP status, and charset. template A backend-depe ...
. By default, this is an empty dictionary. content_type The value included in the HTTP Content-Type header ...
, including the MIME type specification and the character set encoding. If c ...
-
https://man.plustar.jp/django/ref/template-response.html
- [similar]