検索

phrase: max: clip:
target: order:
Results of 81 - 90 of about 185 for objects (0.031 sec.)
Django 1.9.2 リリースノート — Django 4.0.6 ドキュメント 5182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... with "change" but not "add" permission can create objects for ModelAdmin 's with save_as=True ¶ If a ModelAd ... efault), the admin provides an option when editing objects to "Save as new". A regression in Django 1.9 preve ... with "change" but not "add" permission can create objects for ModelAdmin 's with save_as=True Backwards inco ...
https://man.plustar.jp/django/releases/1.9.2.html - [similar]
How to create custom model fields — Django 4.0.6 ドキュメント 5127
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... インスタンスだと想定しています) example = MyModel . objects . get ( pk = 1 ) print ( example . hand . north ) ... urn 'integer UNSIGNED' Converting values to Python objects ¶ If your custom Field class deals with data struc ... ise a ValidationError exception. Converting Python objects to query values ¶ Since using a database requires ... ave to override get_prep_value() to convert Python objects back to query values. 例: class HandField ( models ...
https://man.plustar.jp/django/howto/custom-model-fields.html - [similar]
マイグレーション操作 — Django 4.0.6 ドキュメント 5127
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n empty migration file to write your own Operation objects into, use python manage.py makemigrations --empty ... this model inherit from; it can contain both class objects as well as strings in the format "appname.ModelNam ... example of using RunPython to create some initial objects on a Country model: from django.db import migratio ... ias = schema_editor . connection . alias Country . objects . using ( db_alias ) . bulk_create ([ Country ( na ...
https://man.plustar.jp/django/ref/migration-operations.html - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 5127
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .contrib.auth.models import User >>> user = User . objects . create_user ( 'john' , 'lennon@thebeatles.com' , ... ngo.contrib.auth.models import User >>> u = User . objects . get ( username = 'john' ) >>> u . set_password ( ... サイトは、次のように権限を使用します: Access to view objects is limited to users with the "view" or "change" pe ... ls import ContentType content_type = ContentType . objects . get_for_model ( BlogPost ) permission = Permissi ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
django.utils.functional — Django 4.0.6 ドキュメント 5105
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... it, so we might as well just pickle the # wrapped object since they're supposed to act the same way. # # Unf ... o pretend to be the wrapped class, for the sake of objects that # care about this (especially in equality tes ... _lazyobject ( wrapped ): """ Used to unpickle lazy objects. Just return its argument, which will be the wrapp ... itialized from any function. Designed for compound objects of unknown type. For builtins or objects of known ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
Django 1.5 release notes — Django 4.0.6 ドキュメント 5105
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... aversing relations, the ORM will avoid re-fetching objects that were previously loaded. For example, with the ... tutorial's models: >>> first_poll = Poll . objects . all ()[ 0 ] >>> first_choice = first_poll . choi ... e. GeoDjango ¶ LineString and MultiLineString GEOS objects now support the interpolate() and project() method ... ncing). The wkb and hex properties of GEOSGeometry objects preserve the Z dimension. Support for PostGIS 2.0 ...
https://man.plustar.jp/django/releases/1.5.html - [similar]
Lookup API reference — Django 4.0.6 ドキュメント 5072
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... on consists of three parts: Fields part (e.g. Book.objects.filter(author__best_friends__first_name... ); Tran ... also be used directly in QuerySet filters: Book . objects . filter ( LessThan ( F ( 'word_count' ), 7500 )) ... …or annotations: Book . objects . annotate ( is_short_story = LessThan ( F ( 'word ...
https://man.plustar.jp/django/ref/models/lookups.html - [similar]
django.core.paginator — Django 4.0.6 ドキュメント 5050
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... def count ( self ): """Return the total number of objects, across all pages.""" c = getattr ( self . object_ ... f the first object on this page, relative to total objects in the paginator. """ # Special case, return zero ... of the last object on this page, relative to total objects found (hits). """ # Special case for the last page ...
https://man.plustar.jp/django/_modules/django/core/paginator.html - [similar]
django-admin と manage.py — Django 4.0.6 ドキュメント 5050
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ters some of the available records, not all of the objects will be dumped. --all , -a ¶ Uses Django's base ma ... e any foreign key and many-to-many relationship to objects of the type that defines the method. If you're dum ... ping contrib.auth Permission objects or contrib.contenttypes ContentType objects, you s ... its the primary key in the serialized data of this object since it can be calculated during deserialization. ...
https://man.plustar.jp/django/ref/django-admin.html - [similar]
Django 1.10.1 release notes — Django 4.0.6 ドキュメント 5050
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... many-to-many relationships can be used on the new objects ( #27026 ). Fixed crash of django.views.static.ser ... . Fixed the creation of ContentType and Permission objects for models of applications without migrations when ...
https://man.plustar.jp/django/releases/1.10.1.html - [similar]