検索

phrase: max: clip:
target: order:
Results of 61 - 70 of about 185 for objects (0.066 sec.)
How to create database migrations — Django 4.0.6 ドキュメント 5435
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... model ( 'myapp' , 'MyModel' ) for row in MyModel . objects . all (): row . uuid = uuid . uuid4 () row . save ... mmand. Note there is a race condition if you allow objects to be created while this migration is running. Obj ... get_model ( 'myapp' , 'MyModel' ) while MyModel . objects . filter ( uuid__isnull = True ) . exists (): with ... transaction . atomic (): for row in MyModel . objects . filter ( uuid__isnull = True )[: 1000 ]: row . u ...
https://man.plustar.jp/django/howto/writing-migrations.html - [similar]
Django 1.1 リリースノート — Django 4.0.6 ドキュメント 5402
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ts of the aggregate directly, or else annotate the objects in a QuerySet with the results of the aggregate qu ... ire expensive processing to convert them to Python objects. If you know you don't need those particular field ... up of models in bulk. Users will be able to select objects on the change list page and then apply these bulk ... actions to all selected objects. Django ships with one pre-defined admin action to ...
https://man.plustar.jp/django/releases/1.1.html - [similar]
Django 2.1 リリースノート — Django 4.0.6 ドキュメント 5380
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... low users who have the "change" permission to edit objects. There are a couple of backwards incompatible cons ... izing the deletion process of the "delete selected objects" action. You can now override the default admin si ... a query expression. The new ModelAdmin.get_deleted_objects() method allows customizing the deletion process o ... pport for serialization of functools.partialmethod objects. To support frozen environments, migrations may be ...
https://man.plustar.jp/django/releases/2.1.html - [similar]
Django 3.1.3 release notes — Django 4.0.6 ドキュメント 5380
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ssion in Django 3.1 where ProtectedError.protected_objects and RestrictedError.restricted_objects attributes ... returned iterators instead of set of objects ( #32107 ). Fixed a regression in Django 3.1.2 tha ...
https://man.plustar.jp/django/releases/3.1.3.html - [similar]
Single object mixins — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... です。 model = Foo と指定することは、 queryset = Foo.objects.all() の効率的な書き方で、 objects は Foo の デフォ ... acks. When applications allow access to individual objects by a sequential primary key, an attacker could bru ... ce guess all URLs; thereby obtaining a list of all objects in the application. If users with access to indivi ... dual objects should be prevented from obtaining this list, sett ...
https://man.plustar.jp/django/ref/class-based-views/mixins-single-object.html - [similar]
The syndication feed framework — Django 4.0.6 ドキュメント 5325
" + 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 ( ... ively. items() is, a method that returns a list of objects that should be included in the feed as <item> elem ... ents. Although this example returns NewsItem objects using Django's object-relational mapper , items() ... {{ obj }} -- The current object (one of whichever objects you returned in items() ). {{ site }} -- A django. ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
Paginator — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ト全体の数です。 注釈 When determining the number of objects contained in object_list , Paginator will first tr ... fall back to using len(object_list) . This allows objects, such as QuerySet , to use a more efficient count( ... ます。 Page class ¶ You usually won't construct Page objects by hand -- you'll get them by iterating Paginator ... ge is invalid (i.e. not an integer) or contains no objects. Generally, it's enough to catch the InvalidPage e ...
https://man.plustar.jp/django/ref/paginator.html - [similar]
Django 1.6 release notes — Django 4.0.6 ドキュメント 5292
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... xt, just like other template constructs. SimpleLazyObject s will now present more helpful representations in ... umpdata --pks option specifies the primary keys of objects to dump. This option can only be used with one mod ... matching the filters. Returns None if there are no objects matching. View and RedirectView now support HTTP P ... hanges in your code. QuerySet.dates() returns date objects ¶ QuerySet.dates() now returns a list of date . It ...
https://man.plustar.jp/django/releases/1.6.html - [similar]
翻訳 — Django 4.0.6 ドキュメント 5292
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... g, the plural translation string and the number of objects. この関数は、Django アプリケーションを数と 複数形 ... 'object'、そして count が 1 ではない全ての場合に 'objects' となります。) 言語にローカル化させる必要がある場合 ... 'there is %(count)d object' , 'there are %(count)d objects' , count , ) % { 'count' : count , } return HttpRe ... 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 Deprecation Timeline — Django 4.0.6 ドキュメント 5270
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... re details on these changes. Support for assigning objects which don't support creating deep copies with copy ... _with_model() get_m2m_with_model() get_all_related_objects() get_all_related_objects_with_model() get_all_rel ... ated_many_to_many_objects() get_all_related_m2m_objects_with_model() The err ... loader.BaseLoader will be removed. Django template objects returned by get_template() and select_template() w ...
https://man.plustar.jp/django/internals/deprecation.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 NEXT