Results of 41 - 50 of about 111 for date (0.106 sec.)
- Constraints reference — Django 4.0.6 ドキュメント 6221
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
his regard, in that they leverage the existing validate_unique() logic, and thus enable two-stage validati ...
ce. For example, UniqueConstraint(fields=['room', 'date'], name='unique_booking') ensures each room can on ...
ly be booked once for each date. name ¶ UniqueConstraint. name ¶ The name of the c ...
t ( name = 'unique_booking' , fields = [ 'room' , 'date' ], include = [ 'full_name' ]) will allow filterin ...
-
https://man.plustar.jp/django/ref/models/constraints.html
- [similar]
- Django 1.5 release notes — Django 4.0.6 ドキュメント 6145
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
of model's fields - Model.save() now accepts an update_fields argument, letting you specify which fields ...
e method Model.save() has a new keyword argument update_fields . By using this argument it is possible to ...
et manually after load, that field will also get updated on save. See the Model.save() documentation for m ...
ls.timezone provides a helper for converting aware datetimes between time zones. See localtime() . The gen ...
-
https://man.plustar.jp/django/releases/1.5.html
- [similar]
- Django 1.6 release notes — Django 4.0.6 ドキュメント 6145
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
duced in Django 1.4 didn't work well with QuerySet.dates() : aggregation was always performed in UTC. This ...
limitation was lifted in Django 1.6. Use QuerySet.datetimes() to perform time zone aware aggregation on a ...
DateTimeField . Support for savepoints in SQLite ¶ Djan ...
¶ The Model.save() method now tries to directly UPDATE the database if the instance has a primary key val ...
-
https://man.plustar.jp/django/releases/1.6.html
- [similar]
- Related objects reference — Django 4.0.6 ドキュメント 6069
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the case of a ForeignKey relationship, QuerySet.update() is used to perform the update. This requires the ...
to instead have the related manager perform the update by calling e.save() . Using add() with a many-to-m ...
eadline = 'Hello' , ... body_text = 'Hi' , ... pub_date = datetime . date ( 2005 , 1 , 1 ) ... ) # No need ...
eadline = 'Hello' , ... body_text = 'Hi' , ... pub_date = datetime . date ( 2005 , 1 , 1 ) ... ) >>> e . s ...
-
https://man.plustar.jp/django/ref/models/relations.html
- [similar]
- Django 2.0 リリースノート — Django 4.0.6 ドキュメント 6043
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
b.postgres.indexes.GinIndex now supports the fastupdate and gin_pending_list_limit parameters. The new Gis ...
, e.g. with file.open() as f: . フォーム ¶ The new date_attrs and time_attrs arguments for SplitDateTimeWi ...
dget and SplitHiddenDateTimeWidget allow specifying different HTML attribut ...
es for the DateInput and TimeInput (or hidden) subwidgets. The new ...
-
https://man.plustar.jp/django/releases/2.0.html
- [similar]
- 素の SQL 文の実行 — Django 4.0.6 ドキュメント 6043
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
... ) last_name = models . CharField ( ... ) birth_date = models . DateField ( ... ) この時以下のように独自 ...
s . raw ( 'SELECT id, first_name, last_name, birth_date FROM myapp_person' ) ... >>> Person . objects . ra ...
w ( 'SELECT last_name, birth_date, first_name, id FROM myapp_person' ) ... マッチング ...
first_name, ... last AS last_name, ... bd AS birth_date, ... pk AS id, ... FROM some_other_table''' ) 名称 ...
-
https://man.plustar.jp/django/topics/db/sql.html
- [similar]
- Django 2.1 リリースノート — Django 4.0.6 ドキュメント 5967
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ion. The actions.html , change_list_results.html , date_hierarchy.html , pagination.html , prepopulated_fi ...
, and Trim . The new TruncWeek function truncates DateField and DateTimeField to the Monday of a week. Qu ...
te < 3.7.15 に対するサポートが削除されました。 The date format of Set-Cookie 's Expires directive is chang ...
of Netscape's cookie standard. Hyphens present in dates like Tue, 25-Dec-2018 22:26:13 GMT are removed. T ...
-
https://man.plustar.jp/django/releases/2.1.html
- [similar]
- Django 1.9 リリースノート — Django 4.0.6 ドキュメント 5929
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
t value. The BCryptSHA256PasswordHasher will now update passwords if its rounds attribute is changed. Abst ...
るようになりました ( no-cache, no-store, must-revalidate が Cache-Control に追加されます)。この関数は Djang ...
E option for interacting with databases that store datetimes in local time and don't support time zones wh ...
ering and order_with_respect_to on the same model. Date and time lookups can be chained with other lookups ...
-
https://man.plustar.jp/django/releases/1.9.html
- [similar]
- Django 1.11.2 リリースノート — Django 4.0.6 ドキュメント 5904
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
efaults argument of QuerySet.get_or_create() and update_or_create() to reallow settable model properties ( ...
detection of GDAL 2.1 on Windows ( #28181 ). Made date-based generic views return a 404 rather than crash ...
when given an out of range date ( #28209 ). Fixed a regression where file_move_saf ...
re , Minor , file , validation クイック検索 Last update: 2022年6月01日 « previous | up | next » ...
-
https://man.plustar.jp/django/releases/1.11.2.html
- [similar]
- Django オブジェクトのシリアル化 — Django 4.0.6 ドキュメント 5904
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ct pk="123" model="sessions.session"> <field type="DateTimeField" name="expire_date">2013-01-16T08:16:59.8 ...
model" : "sessions.session" , "fields" : { "expire_date" : "2013-01-16T08:16:59.844Z" , ... } } ] The form ...
f JSONEncoder , it handles these additional types: datetime A string of the form YYYY-MM-DDTHH:mm:ss.sssZ ...
-MM-DDTHH:mm:ss.sss+HH:MM as defined in ECMA-262 . date YYYY-MM-DD という形式の文字列は、 ECMA-262 で定義さ ...
-
https://man.plustar.jp/django/topics/serialization.html
- [similar]