Results of 31 - 40 of about 185 for objects (0.070 sec.)
- Django 1.10 リリースノート — Django 4.0.6 ドキュメント 6172
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
red way of retrieving the change message. Selected objects for fields in ModelAdmin.raw_id_fields now have a ...
GeoJSON serializer now outputs the primary key of objects in the properties dictionary if specific fields ar ...
fetch_returned_insert_ids() to set primary keys on objects created using QuerySet.bulk_create() . Added keywo ...
ョン ¶ Added support for serialization of enum.Enum objects. Added the elidable argument to the RunSQL and Run ...
-
https://man.plustar.jp/django/releases/1.10.html
- [similar]
- PostgreSQL specific aggregation functions — Django 4.0.6 ドキュメント 6139
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
plicitly provide one. For example: >>> SomeModel . objects . aggregate ( arr = ArrayAgg ( 'somefield' )) {'ar ...
b.postgres.aggregates import BoolAnd >>> Comment . objects . aggregate ( booland = BoolAnd ( 'published' )) { ...
'booland' : False } >>> Comment . objects . aggregate ( booland = BoolAnd ( Q ( rank__lt = 1 ...
ib.postgres.aggregates import BoolOr >>> Comment . objects . aggregate ( boolor = BoolOr ( 'published' )) { ' ...
-
https://man.plustar.jp/django/ref/contrib/postgres/aggregates.html
- [similar]
- モデルからフォームを作成する — Django 4.0.6 ドキュメント 6117
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
hange an existing article. >>> article = Article . objects . get ( pk = 1 ) >>> form = ArticleForm ( instance ...
s . ModelMultipleChoiceField ( queryset = Author . objects . all ()) ModelForm の検証 (バリデーション) ¶ Mode ...
POST data to populate the form. >>> a = Article . objects . get ( pk = 1 ) >>> f = ArticleForm ( request . P ...
ーバーライドします。例えば: >>> article = Article . objects . get ( pk = 1 ) >>> article . headline 'My headli ...
-
https://man.plustar.jp/django/topics/forms/modelforms.html
- [similar]
- Django 1.4 release notes — Django 4.0.6 ドキュメント 6084
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
o will store date/times in UTC, use timezone-aware objects internally, and translate them to users' local tim ...
.prefetch_related , a method to batch-load related objects in areas where select_related() doesn't work. Some ...
UTC in the database, uses time-zone-aware datetime objects internally and translates them to the end user's t ...
the documentation for select_for_update() . Model.objects.bulk_create in the ORM ¶ This method lets you crea ...
-
https://man.plustar.jp/django/releases/1.4.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 5930
- " + 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 OGR ...
s essentially a standard Python container of Layer objects. For example, you can access a specific layer by i ...
then the geometries are converted to GEOSGeometry objects. Otherwise, they are returned as OGRGeometry objec ...
ontainer for its fields, which it returns as Field objects: you can access a field directly by its index or n ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]
- Django の概要 — Django 4.0.6 ドキュメント 5897
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
No reporters are in the system yet. >>> Reporter . objects . all () < QuerySet [] > # Create a new Reporter. ...
he new reporter is in the database. >>> Reporter . objects . all () < QuerySet [ < Reporter : John Smith > ] ...
rovides a rich database lookup API. >>> Reporter . objects . get ( id = 1 ) < Reporter : John Smith > >>> Rep ...
orter . objects . get ( full_name__startswith = 'John' ) < Reporte ...
-
https://man.plustar.jp/django/intro/overview.html
- [similar]
- 素の SQL 文の実行 — Django 4.0.6 ドキュメント 5897
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
うに独自の SQL を実行できます: >>> for p in Person . objects . raw ( 'SELECT * FROM myapp_person' ): ... print ...
xciting -- it's exactly the same as running Person.objects.all() . However, raw() has a bunch of other option ...
下の両方のクエリは同じように動作します: >>> Person . objects . raw ( 'SELECT id, first_name, last_name, birth_d ...
ate FROM myapp_person' ) ... >>> Person . objects . raw ( 'SELECT last_name, birth_date, first_name, ...
-
https://man.plustar.jp/django/topics/db/sql.html
- [similar]
- Django 1.2 リリースノート — Django 4.0.6 ドキュメント 5875
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
cific database with the using() method on QuerySet objects. Individual objects can be saved to a specific dat ...
eys in fixtures ¶ Fixtures can now refer to remote objects using Natural keys . This lookup scheme is an alte ...
ng readability and resolving problems referring to objects whose primary key value may not be predictable or ...
g . JavaScript-assisted handling of inline related objects in the admin ¶ If a user has JavaScript enabled in ...
-
https://man.plustar.jp/django/releases/1.2.html
- [similar]
- Geographic Database Functions — Django 4.0.6 ドキュメント 5842
- " + 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 ( q ...
tation of the geometry. 実装例: >>> qs = Zipcode . objects . annotate ( kml = AsKML ( 'poly' )) >>> print ( q ...
-
https://man.plustar.jp/django/ref/contrib/gis/functions.html
- [similar]
- はじめての Django アプリ作成、その2 — Django 4.0.6 ドキュメント 5787
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
No questions are in the system yet. >>> Question . objects . all () <QuerySet []> # Create a new Question. # ...
q . question_text = "What's up?" >>> q . save () # objects.all() displays all the questions in the database. ...
>>> Question . objects . all () <QuerySet [<Question: Question object (1) ...
sure our __str__() addition worked. >>> Question . objects . all () <QuerySet [<Question: What's up?>]> # Dja ...
-
https://man.plustar.jp/django/intro/tutorial02.html
- [similar]