検索

phrase: max: clip:
target: order:
Results of 101 - 110 of about 231 for import (0.048 sec.)
PostgreSQL specific query expressions — Django 4.0.6 ドキュメント 5038
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... author as JSON objects: >>> from django.db.models import OuterRef >>> from django.db.models.functions impor ... bject >>> from django.contrib.postgres.expressions import ArraySubquery >>> books = Book . objects . filter ...
https://man.plustar.jp/django/ref/contrib/postgres/expressions.html - [similar]
django.utils.encoding — Django 4.0.6 ドキュメント 4996
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules up django.utils.encoding のソースコード import codecs import datetime import locale from decimal ... import Decimal from urllib.parse import quote from django.utils.functional import Promise ...
https://man.plustar.jp/django/_modules/django/utils/encoding.html - [similar]
How to write custom lookups — Django 4.0.6 ドキュメント 4996
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... プを認識させる必要があります。 from django.db.models import Lookup class NotEqual ( Lookup ): lookup_name = 'n ... クラスに直接登録しましょう。 from django.db.models import Field Field . register_lookup ( NotEqual ) ルックア ... パタンを使っても登録できます。 from django.db.models import Field @Field . register_lookup class NotEqualLooku ... って比較の前に値を変換します: from django.db.models import Transform class AbsoluteValue ( Transform ): looku ...
https://man.plustar.jp/django/howto/custom-lookups.html - [similar]
File storage API — Django 4.0.6 ドキュメント 4996
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... et_storage_class() internally. get_storage_class ( import_path = None ) ¶ Returns a class or module which im ... plements the storage API. When called without the import_path parameter get_storage_class will return the c ... age system as defined by DEFAULT_FILE_STORAGE . If import_path is provided, get_storage_class will attempt t ... o import the class or module from the given path and will r ...
https://man.plustar.jp/django/ref/files/storage.html - [similar]
暗号署名 — Django 4.0.6 ドキュメント 4996
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... スタンスを作成します。 >>> from django.core.signing import Signer >>> signer = Signer () >>> value = signer . ... dSignature 例外が起こります。 >>> from django.core import signing >>> value += 'm' >>> try : ... original = ... thin a specified period of time: >>> from datetime import timedelta >>> from django.core.signing import Time ... exploiting the pickle format: >>> from django.core import signing >>> signer = signing . TimestampSigner () ...
https://man.plustar.jp/django/topics/signing.html - [similar]
PostgreSQL specific aggregation functions — Django 4.0.6 ドキュメント 4966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : 'some_field' '-some_field' from django.db.models import F F ( 'some_field' ) . desc () バージョン 4.0 で非 ... models . IntegerField () >>> from django.db.models import Q >>> from django.contrib.postgres.aggregates impo ... models . IntegerField () >>> from django.db.models import Q >>> from django.contrib.postgres.aggregates impo ... True ) >>> from django.contrib.postgres.aggregates import JSONBAgg >>> Room . objects . annotate ( ... requi ...
https://man.plustar.jp/django/ref/contrib/postgres/aggregates.html - [similar]
Unicode data — Django 4.0.6 ドキュメント 4966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ve originally been created when the code was first imported. Normally, you won't have to worry about lazy tr ... nctions have slightly different purposes, and it's important to keep them straight. Normally, you would use ... e might clarify things here: >>> from urllib.parse import quote >>> from django.utils.encoding import iri_to ... uoted when passed to iri_to_uri() . This is a very important and useful feature. It means that you can const ...
https://man.plustar.jp/django/ref/unicode.html - [similar]
システムチェックフレームワーク — Django 4.0.6 ドキュメント 4966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ample stub check function: from django.core.checks import Error , register @register () def example_check ( ... d make the following call: from django.core.checks import register , Tags @register ( Tags . compatibility ) ... how you can implement this check: from django.core import checks from django.db import models class RangedIn ... テストを書くことができます。 from django.core.checks import Error errors = checked_object . check () expected_ ...
https://man.plustar.jp/django/topics/checks.html - [similar]
Database instrumentation — Django 4.0.6 ドキュメント 4966
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... queries from the template like so: from django.db import connection from django.shortcuts import render def ... lete example, a query logger could look like this: import time class QueryLogger : def __init__ ( self ): se ... object and install it as a wrapper: from django.db import connection ql = QueryLogger () with connection . e ...
https://man.plustar.jp/django/topics/db/instrumentation.html - [similar]
はじめての Django アプリ作成、その 5 — Django 4.0.6 ドキュメント 4925
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ython manage.py shell ...\> py manage.py shell >>> import datetime >>> from django.utils import timezone >>> ... from polls.models import Question >>> # create a Question instance with pub ... ファイルに次のコードを書きます。 polls/tests.py ¶ import datetime from django.test import TestCase from dja ... ngo.utils import timezone from .models import Question class Questi ...
https://man.plustar.jp/django/intro/tutorial05.html - [similar]
PREV 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 NEXT