Results of 101 - 110 of about 195 for Object (0.092 sec.)
- Django 4.0 release notes — Django 4.0.6 ドキュメント 4949
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ccessMessageMixin . In accordance with FormMixin , object deletion for POST requests is handled in form_vali ...
od returns whether the queryset contains the given object. This tries to perform the query in the simplest a ...
QuerySet.bulk_create() now sets the primary key on objects when using SQLite 3.35+. DurationField now suppor ...
. QuerySet.bulk_update() now returns the number of objects updated. The new Expression.empty_result_set_valu ...
-
https://man.plustar.jp/django/releases/4.0.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 4949
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
here is caching of the result of attributes on ORM objects. In general, attributes that are not callable wil ...
ming the example blog models : >>> entry = Entry . objects . get ( id = 1 ) >>> entry . blog # Blog object i ...
毎回 DB の検索を引き起こします: >>> entry = Entry . objects . get ( id = 1 ) >>> entry . authors . all () # q ...
sing the example blog models : >>> entry = Entry . objects . get ( id = 10 ) 上記は以下よりも高速です: >>> e ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 4949
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
g, the plural translation string and the number of objects. この関数は、Django アプリケーションを数と 複数形 ...
が英語で 2 より大きい (その値にかかわらず、単数には 'object'、そして count が 1 ではない全ての場合に 'objects' ...
t , count ): page = ngettext ( 'there is %(count)d object' , 'there are %(count)d objects' , count , ) % { ' ...
t from myapp.models import Report count = Report . objects . count () if count == 1 : name = Report . _meta ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- django.contrib.sites.middleware — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
" Middleware that sets `site` attribute to request object. """ def process_request ( self , request ): reque ...
-
https://man.plustar.jp/django/_modules/django/contrib/sites/middleware.html
- [similar]
- django.core.files.base — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
f __iter__ ( self ): # Iterate over this file-like object by newlines buffer_ = None for chunk in self . chu ...
メント] class ContentFile ( File ): """ A File-like object that takes just raw content, rather than an actual ...
-
https://man.plustar.jp/django/_modules/django/core/files/base.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
It should be a list of compiled regular expression objects. For example: import re IGNORABLE_404_URLS = [ re ...
s ) ¶ If one of your views receives an HttpRequest object with POST parameters susceptible to contain sensit ...
f sensitive variables and annotate the HttpRequest object with the names of sensitive POST parameters, so th ...
). hidden_settings ¶ A compiled regular expression object used to match settings and request.META values con ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]
- システムチェックフレームワーク — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, or a value of None can be used. obj Optional. An object providing context for the message (for example, th ...
e model where the problem was discovered). The object should be a model, field, or manager or any other ...
reignKey using content type field <field name> and object ID field <field name> . AdminSite ¶ The following ...
lation : contenttypes.E001 : The GenericForeignKey object ID references the nonexistent field <field> . cont ...
-
https://man.plustar.jp/django/ref/checks.html
- [similar]
- ビルトインのクラスベースビュー API — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e mixins ContextMixin TemplateResponseMixin Single object mixins SingleObjectMixin SingleObjectTemplateRespo ...
nseMixin Multiple object mixins MultipleObjectMixin MultipleObjectTemplateR ...
-
https://man.plustar.jp/django/ref/class-based-views/index.html
- [similar]
- Geographic Database Functions — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.gis.db.models.functions import Length >>> Track . objects . annotate ( length = Length ( 'line' )) . filter ...
. See also GeoJSON Serializer . 実装例: >>> City . objects . annotate ( json = AsGeoJSON ( 'point' )) . get ...
tation of the geometry. 実装例: >>> qs = Zipcode . objects . annotate ( gml = AsGML ( 'poly' )) >>> print ( ...
tation of the geometry. 実装例: >>> qs = Zipcode . objects . annotate ( kml = AsKML ( 'poly' )) >>> print ( ...
-
https://man.plustar.jp/django/ref/contrib/gis/functions.html
- [similar]
- Constraints reference — Django 4.0.6 ドキュメント 4917
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the database. check ¶ CheckConstraint. check ¶ A Q object or boolean Expression that specifies the check you ...
int. condition ¶ UniqueConstraint. condition ¶ A Q object that specifies the condition you want the constrai ...
-
https://man.plustar.jp/django/ref/models/constraints.html
- [similar]