Results of 151 - 160 of about 170 for key (0.366 sec.)
- The "sites" framework — Django 4.0.6 ドキュメント 4839
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
model in a many-to-one relationship, using ForeignKey . For example, if an article is only allowed on a ...
( max_length = 200 ) # ... site = models . ForeignKey ( Site , on_delete = models . CASCADE ) This has t ...
ass managers. CurrentSiteManager ¶ If Site plays a key role in your application, consider using the helpf ...
ate = models . DateField () site = models . ForeignKey ( Site , on_delete = models . CASCADE ) objects = ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- Model Meta options — Django 4.0.6 ドキュメント 4839
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
normal. This includes Adding an automatic primary key field to the model if you don't declare it. To avo ...
with respect to the given field, usually a ForeignKey . This can be used to make related objects orderab ...
wer ( models . Model ): question = models . ForeignKey ( Question , on_delete = models . CASCADE ) # ... ...
er objects, the list returned contains the primary keys of the related Answer objects: >>> question = Que ...
-
https://man.plustar.jp/django/ref/models/options.html
- [similar]
- 非同期サポート — Django 4.0.6 ドキュメント 4839
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
非同期安全性 ¶ DJANGO_ALLOW_ASYNC_UNSAFE ¶ Certain key parts of Django are not able to operate safely in ...
-
https://man.plustar.jp/django/topics/async.html
- [similar]
- Django の認証方法のカスタマイズ — Django 4.0.6 ドキュメント 4839
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
method takes a request argument and credentials as keyword arguments. Most of the time, it'll look like t ...
ループがなくなるようにしてください。(お互いに ForeignKey を持つ2つの通常のモデルを作ることで、 makemigratio ...
下のように settings.AUTH_USER_MODEL に対して ForeignKey または OneToOneField を使用してください。 User モデ ...
ticle ( models . Model ): author = models . ForeignKey ( settings . AUTH_USER_MODEL , on_delete = models ...
-
https://man.plustar.jp/django/topics/auth/customizing.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ions ( self , actions ): return sorted ( actions , key = lambda a : set ( a . option_strings ) & self . s ...
output = " %s \n %s \n %s " % ( self . style . SQL_KEYWORD ( connection . ops . start_transaction_sql ()) ...
, output , self . style . SQL_KEYWORD ( connection . ops . end_transaction_sql ()), ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- 設計思想 — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ンレベルで拡張可能であるべきである (例としては Cache key transformation がある)。 目次 設計思想 概要 疎結合 ...
-
https://man.plustar.jp/django/misc/design-philosophies.html
- [similar]
- django.contrib.auth — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
usable_password() will be called. The extra_fields keyword arguments are passed through to the User 's __ ...
it tries to fetch a username from kwargs using the key CustomUser.USERNAME_FIELD . Returns an authenticat ...
-
https://man.plustar.jp/django/ref/contrib/auth.html
- [similar]
- GEOS API — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
= Point ( 5 , 23 ) All these constructors take the keyword argument srid . For example: >>> from django.c ...
a complete GeoJSON structure but only the geometry key content of a GeoJSON structure. See also GeoJSON S ...
Geometry.json . GEOSGeometry. kml ¶ Returns a KML (Keyhole Markup Language) representation of the geometr ...
r equal to the given width . The optional quadsegs keyword sets the number of segments used to approximat ...
-
https://man.plustar.jp/django/ref/contrib/gis/geos.html
- [similar]
- 組み込みタグとフィルタ — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
、以下のように辞書内のキーと値を表示できます: {% for key , value in data.items %} {{ key }} : {{ value }} { ...
たい場合、そのような名前のキー ( items 、 values 、 keys など) を辞書に追加しないでください。ドット演算子に ...
ng positional arguments. Alternatively you may use keyword syntax: {% url 'some-url-name' arg1 = v1 arg2 ...
-
https://man.plustar.jp/django/ref/templates/builtins.html
- [similar]
- Django 1.3 release notes — Django 4.0.6 ドキュメント 4794
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
mit (): # ... Configurable delete-cascade ¶ ForeignKey and OneToOneField now accept an on_delete argument ...
n have been added to the cache API. Thirdly, cache key creation has been updated to take the request quer ...
ields which represent passwords, accepts a boolean keyword argument render_value indicating whether to se ...
d to the password_reset_form 's save() method as a keyword argument. If you are using this view with a cu ...
-
https://man.plustar.jp/django/releases/1.3.html
- [similar]