Results of 1 - 10 of about 195 for Object (0.024 sec.)
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 9390
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the model classes they represent and for querying objects from those models. ContentType also has a custom ...
min application uses it to log the history of each object added or changed through the admin interface. Djan ...
nstance to the model it represents, or to retrieve objects from that model: ContentType. get_object_for_this ...
lookup on that model, returning the corresponding object. ContentType. model_class () ¶ Returns the model c ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 9358
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ta = serializers . serialize ( "xml" , SomeModel . objects . all ()) The arguments to the serialize function ...
ializer ( format ) ¶ You can also use a serializer object directly: XMLSerializer = serializers . get_serial ...
you want to serialize data directly to a file-like object (which includes an HttpResponse ): with open ( "fi ...
as out : xml_serializer . serialize ( SomeModel . objects . all (), stream = out ) 注釈 Calling get_seriali ...
-
https://man.plustar.jp/django/topics/serialization.html
- [similar]
- django.core.paginator — Django 4.0.6 ドキュメント 9282
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ranslation import gettext_lazy as _ class UnorderedObjectListWarning ( RuntimeWarning ): pass [ドキュメント] ...
9, 10]. ELLIPSIS = _ ( "…" ) def __init__ ( self , object_list , per_page , orphans = 0 , allow_empty_first_ ...
page = True ): self . object_list = object_list self . _check_object_list_is_or ...
メント] def page ( self , number ): """Return a Page object for the given 1-based page number.""" number = sel ...
-
https://man.plustar.jp/django/_modules/django/core/paginator.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 9217
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
at central." def items ( self ): return NewsItem . objects . order_by ( '-pub_date' )[: 5 ] def item_title ( ...
ct a URL to this feed, put an instance of the Feed object in your URLconf . For example: from django.urls im ...
ively. items() is, a method that returns a list of objects that should be included in the feed as <item> ele ...
ments. Although this example returns NewsItem objects using Django's object-relational mapper , items() ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 9033
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ 属性 (と省略可能な継承元): content_type context_object_name [ get_context_object_name() ] extra_context h ...
as_view() dispatch() get() get_context_data() get_object() head() http_method_not_allowed() render_to_respo ...
w_empty [ get_allow_empty() ] content_type context_object_name [ get_context_object_name() ] extra_context h ...
¶ 属性 (と省略可能な継承元): content_type context_object_name [ get_context_object_name() ] extra_context f ...
-
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html
- [similar]
- 暗号署名 — Django 4.0.6 ドキュメント 9033
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tuple, or dictionary you can do so using the sign_object() and unsign_object() methods: >>> signed_obj = si ...
gner . sign_object ({ 'message' : 'Hello!' }) >>> signed_obj 'eyJtZXN ...
i8PQSPdo3ckWJxPWwQOFhR4' >>> obj = signer . unsign_object ( signed_obj ) >>> obj {'message': 'Hello!'} See P ...
ults to 'sha256' . Changed in Django 3.2: The sign_object() and unsign_object() methods were added. Using th ...
-
https://man.plustar.jp/django/topics/signing.html
- [similar]
- Single object mixins — Django 4.0.6 ドキュメント 8600
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
| Index | Modules « previous | up | next » Single object mixins ¶ SingleObjectMixin ¶ class django.views.ge ...
neric.detail. SingleObjectMixin ¶ 現在の HTTP レスポンスに紐付いたオブジェクト ...
です。 model = Foo と指定することは、 queryset = Foo.objects.all() の効率的な書き方で、 objects は Foo の デフ ...
デフォルトでは、 pk_url_kwarg は 'pk' です。 context_object_name ¶ Designates the name of the variable to use ...
-
https://man.plustar.jp/django/ref/class-based-views/mixins-single-object.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 8491
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s_tests/data/rasters/raster.tif Vector Data Source Objects ¶ DataSource ¶ DataSource is a wrapper for the OG ...
R data source object that supports reading data from a variety of OGR-s ...
e. Each data source is represented by a DataSource object which contains one or more layers of data. Each la ...
yer, represented by a Layer object, contains some number of geographic features ( Fea ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]
- Generic date ビュー — Django 4.0.6 ドキュメント 8426
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ん。 継承元 (MRO) django.views.generic.list.MultipleObjectTemplateResponseMixin django.views.generic.base.Tem ...
BaseDateListView django.views.generic.list.MultipleObjectMixin django.views.generic.dates.DateMixin django.v ...
stView を通じた) django.views.generic.list.MultipleObjectMixin によって提供されたコンテキストに加えて、テンプ ...
で表示されます。 ノート デフォルトの 最新 の context_object_name を使います。 デフォルトの _archive の templat ...
-
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html
- [similar]
- クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 8069
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
on the class-based view; two other mixins ( SingleObjectTemplateResponseMixin and MultipleObjectTemplateRes ...
de more flexible defaults when dealing with actual objects. ContextMixin Every built in view which needs con ...
r DetailView , which renders a "detail" view of an object, and ListView , which will render a list of object ...
tionality when working with either a single Django object, or multiple objects. There are also mixins involv ...
-
https://man.plustar.jp/django/topics/class-based-views/mixins.html
- [similar]