Results of 81 - 90 of about 359 for from (0.090 sec.)
- PostgreSQL specific model indexes — Django 4.0.6 ドキュメント 5073
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ollowing are PostgreSQL specific indexes available from the django.contrib.postgres.indexes module. BloomI ...
ation operation. Provide an integer number of bits from 1 to 4096 to the length parameter to specify the l ...
of up to 32 values that are integer number of bits from 1 to 4095. Changed in Django 3.2: Positional argum ...
¶ Creates a B-Tree index. Provide an integer value from 10 to 100 to the fillfactor parameter to tune how ...
-
https://man.plustar.jp/django/ref/contrib/postgres/indexes.html
- [similar]
- 非同期サポート — Django 4.0.6 ドキュメント 5073
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
func: ` sync_to_async`でラップする必要があります。 from asgiref.sync import sync_to_async results = await ...
o_async`で呼び出す方が簡単だと思うかもしれません。 from asgiref.sync import sync_to_async def _get_blog ( ...
re classified as "async-unsafe", and are protected from execution in an async environment. The ORM is the ...
in this way. If you try to run any of these parts from a thread where there is a running event loop , you ...
-
https://man.plustar.jp/django/topics/async.html
- [similar]
- django.core.files.uploadhandler — Django 4.0.6 ドキュメント 5047
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
and the built-in concrete subclasses """ import os from io import BytesIO from django.conf import settings ...
from django.core.files.uploadedfile import InMemoryUplo ...
adedFile , TemporaryUploadedFile from django.utils.module_loading import import_string _ ...
dary , encoding = None ): """ Handle the raw input from the client. Parameters: :input_data: An object tha ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html
- [similar]
- Django 2.2 リリースノート — Django 4.0.6 ドキュメント 5047
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
changes you'll want to be aware of when upgrading from Django 2.1 or earlier. We've begun the deprecation ...
ar function extracts ISO-8601 week-numbering years from DateField and DateTimeField , and the new iso_year ...
_converter() . SQL generation for indexes is moved from Index to SchemaEditor and these SchemaEditor metho ...
is removed. Admin actions are no longer collected from base ModelAdmin classes ¶ For example, in older ve ...
-
https://man.plustar.jp/django/releases/2.2.html
- [similar]
- django.core.paginator — Django 4.0.6 ドキュメント 5020
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ort collections.abc import inspect import warnings from math import ceil from django.utils.functional impo ...
rt cached_property from django.utils.inspect import method_has_no_args fro ...
um_pages <= ( on_each_side + on_ends ) * 2 : yield from self . page_range return if number > ( 1 + on_each ...
_side + on_ends ) + 1 : yield from range ( 1 , on_ends + 1 ) yield self . ELLIPSIS yi ...
-
https://man.plustar.jp/django/_modules/django/core/paginator.html
- [similar]
- django — Django 4.0.6 ドキュメント 4993
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ontents | Index | Modules up django のソースコード from django.utils.version import get_version VERSION = ...
solvers script prefix if `set_prefix` is True. """ from django.apps import apps from django.conf import se ...
ttings from django.urls import set_script_prefix from django.u ...
-
https://man.plustar.jp/django/_modules/django.html
- [similar]
- How to create custom model fields — Django 4.0.6 ドキュメント 4993
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
work? If not, you should subclass the Field class, from which everything is descended. 新しいフィールドの初 ...
、この例では Field から直接サブクラス化しています。 from django.db import models class HandField ( models . ...
読みやすくするためにキーワード引数から削除できます: from django.db import models class HandField ( models . ...
必要がない場合は、 kwargs から値を省略してください: from django.db import models class CommaSepField ( mode ...
-
https://man.plustar.jp/django/howto/custom-model-fields.html
- [similar]
- モデル — Django 4.0.6 ドキュメント 4993
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_name を持つ Person というモデルを定義しています。 from django.db import models class Person ( models . Mo ...
しまうため、選べないことに注意してください。 実装例: from django.db import models class Musician ( models . ...
スすることができます。たとえば、次のようになります。 from django.db import models class Person ( models . Mo ...
を用いて、 choices を簡潔に定義することもできます。 from django.db import models class Runner ( models . Mo ...
-
https://man.plustar.jp/django/topics/db/models.html
- [similar]
- How is Django Formed? — Django 4.0.6 ドキュメント 4967
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
If this is a feature release, ensure translations from Transifex have been integrated. This is typically ...
elease of a new series, create a new stable branch from main. For example, when releasing Django 3.1: $ gi ...
zero" release of a new series, create a new branch from the current stable branch in the django-docs-trans ...
release until it's green. A release always begins from a release branch, so you should make sure you're o ...
-
https://man.plustar.jp/django/internals/howto-release-django.html
- [similar]
- The staticfiles app — Django 4.0.6 ドキュメント 4967
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
¶ django.contrib.staticfiles collects static files from each of your applications (and any other places yo ...
ATIC_ROOT . Therefore if you remove an application from INSTALLED_APPS , it's a good idea to use the colle ...
t. By default, collected files receive permissions from FILE_UPLOAD_PERMISSIONS and collected directories ...
receive permissions from FILE_UPLOAD_DIRECTORY_PERMISSIONS . If you would l ...
-
https://man.plustar.jp/django/ref/contrib/staticfiles.html
- [similar]