検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 231 for import (0.100 sec.)
アグリゲーション — Django 4.0.6 ドキュメント 5428
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... の在庫を追跡するために使用されます。 from django.db import models class Author ( models . Model ): name = mod ... price across all books. >>> from django.db.models import Avg >>> Book . objects . all () . aggregate ( Avg ... price across all books. >>> from django.db.models import Max >>> Book . objects . all () . aggregate ( Max ... rage price of all books. >>> from django.db.models import FloatField >>> Book . objects . aggregate ( ... pr ...
https://man.plustar.jp/django/topics/db/aggregation.html - [similar]
django.contrib.postgres.validators — Django 4.0.6 ドキュメント 5397
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... idators のソースコード from django.core.exceptions import ValidationError from django.core.validators import ... inValueValidator , ) from django.utils.deconstruct import deconstructible from django.utils.translation impo ... rt gettext_lazy as _ from django.utils.translation import ngettext_lazy class ArrayMaxLengthValidator ( MaxL ...
https://man.plustar.jp/django/_modules/django/contrib/postgres/validators.html - [similar]
モデルフィールドリファレンス — Django 4.0.6 ドキュメント 5397
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ートされています; 標準的な慣習では、 from django.db import models を使って、フィールドを models.<Foo>Field と ... けられた定数を定義するのがベストです: from django.db import models class Student ( models . Model ): FRESHMAN ... will work anywhere that the Student model has been imported). 組織化する目的に使用できる、名前付きグループに ... es in a concise way: from django.utils.translation import gettext_lazy as _ class Student ( models . Model ) ...
https://man.plustar.jp/django/ref/models/fields.html - [similar]
GDAL API — Django 4.0.6 ドキュメント 5356
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the next section: >>> from django.contrib.gis.gdal import DataSource >>> ds = DataSource ( '/path/to/your/ci ... e transformation: >>> from django.contrib.gis.gdal import OGRGeometry >>> polygon = OGRGeometry ( 'POLYGON(( ... of several ways: >>> from django.contrib.gis.gdal import OGRGeomType >>> gt1 = OGRGeomType ( 3 ) # Using an ... ence is valid, if not an exception will be raised. import_epsg ( epsg ) ¶ Import spatial reference from EPSG ...
https://man.plustar.jp/django/ref/contrib/gis/gdal.html - [similar]
django.core.mail — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... """ Tools for sending email. """ from django.conf import settings # Imported for backwards compatibility an ... ization (See #10355) from django.core.mail.message import ( DEFAULT_ATTACHMENT_MIME_TYPE , BadHeaderError , ... aders , make_msgid , ) from django.core.mail.utils import DNS_NAME , CachedDnsName from django.utils.module_ ... loading import import_string __all__ = [ "CachedDnsName" , "DNS_N ...
https://man.plustar.jp/django/_modules/django/core/mail.html - [similar]
GeoDjango Database API — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... suming the Zipcode model): >>> from zipcode.models import Zipcode >>> z = Zipcode ( code = 77096 , poly = 'P ... geometric models: >>> from django.contrib.gis.geos import GEOSGeometry >>> poly = GEOSGeometry ( 'POLYGON(( ... y = poly_3084 ) >>> z . save () >>> from django.db import connection >>> print ( connection . queries [ - 1 ... ng the Elevation model): >>> from elevation.models import Elevation >>> dem = Elevation ( name = 'Volcano' , ...
https://man.plustar.jp/django/ref/contrib/gis/db-api.html - [similar]
タイムゾーン — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mode, to obtain the current time, you would write: import datetime now = datetime . datetime . now () タイム ... は、上の例は以下のようになります: from django.utils import timezone now = timezone . now () 警告 Dealing with ... す。) 以下のミドルウェアを MIDDLEWARE に追加します: import zoneinfo from django.utils import timezone class T ... ットできるビューを作成します: from django.shortcuts import redirect , render # Prepare a map of common locati ...
https://man.plustar.jp/django/topics/i18n/timezones.html - [similar]
ページネーション — Django 4.0.6 ドキュメント 5325
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tems for each page: >>> from django.core.paginator import Paginator >>> objects = [ 'john' , 'paul' , 'georg ... view class, for example: from django.views.generic import ListView from myapp.models import Contact class Co ... to paginate a queryset: from django.core.paginator import Paginator from django.shortcuts import render from ... myapp.models import Contact def listing ( request ): contact_list = Co ...
https://man.plustar.jp/django/topics/pagination.html - [similar]
django.core.paginator — Django 4.0.6 ドキュメント 5284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules up django.core.paginator のソースコード import collections.abc import inspect import warnings fro ... m math import ceil from django.utils.functional import cached_pr ... operty from django.utils.inspect import method_has_no_args from django.utils.translation i ...
https://man.plustar.jp/django/_modules/django/core/paginator.html - [similar]
Django の概要 — Django 4.0.6 ドキュメント 5284
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 示しましょう: mysite/news/models.py ¶ from django.db import models class Reporter ( models . Model ): full_nam ... 作成されるので、コードを生成する必要はありません: # Import the models we created from our "news" app >>> from ... news.models import Article , Reporter # No reporters are in the syste ... not exist . # Create an article. >>> from datetime import date >>> a = Article ( pub_date = date . today (), ...
https://man.plustar.jp/django/intro/overview.html - [similar]