Results of 1 - 10 of about 359 for from (0.027 sec.)
- Database Functions — Django 4.0.6 ドキュメント 7797
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
Forces the result type of expression to be the one from output_field . Usage example: >>> from django.db.m ...
odels import FloatField >>> from django.db.models.functions import Cast >>> Author ...
ase error. Usage examples: >>> # Get a screen name from least to most public >>> from django.db.models imp ...
ort Sum >>> from django.db.models.functions import Coalesce >>> Aut ...
-
https://man.plustar.jp/django/ref/models/database-functions.html
- [similar]
- django.core.mail.message — Django 4.0.6 ドキュメント 7236
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.core.mail.message のソースコード import mimetypes from email import charset as Charset from email import ...
encoders as Encoders from email import generator , message_from_string from ...
email.errors import HeaderParseError from email.header import Header from email.headerregist ...
ry import Address , parser from email.message import Message from email.mime.base ...
-
https://man.plustar.jp/django/_modules/django/core/mail/message.html
- [similar]
- クエリー式 — Django 4.0.6 ドキュメント 7103
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tants, variables, and even other expressions. 例 ¶ from django.db.models import Count , F , Value from dja ...
ngo.db.models.functions import Length , Upper from django.db.models.lookups import GreaterThan # Find ...
ou need to access the field. >>> company . refresh_from_db () >>> company . ticker 'GOOG' # Annotate model ...
)) # or using the double underscore lookup syntax. from django.db.models import CharField from django.db.m ...
-
https://man.plustar.jp/django/ref/models/expressions.html
- [similar]
- Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7076
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
or the previous LTS, Django 1.4, will end 6 months from the release date of Django 1.8. Python バージョン間 ...
still be able to run these tests but won't benefit from the improvements. Tests are now run within two nes ...
ces to foreign objects which are attached to those from the ModelAdmin . The ModelAdmin.delete_view() disp ...
ext variable has_permission , which gets its value from has_permission() , indicates whether the user may ...
-
https://man.plustar.jp/django/releases/1.8.html
- [similar]
- Django の admin サイト — Django 4.0.6 ドキュメント 6934
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
et's take a look at an example of the ModelAdmin : from django.contrib import admin from myapp.models impo ...
登録できます。上記の例は、次のように簡略化できます。 from django.contrib import admin from myapp.models impo ...
in を登録するために、デレコータも用意されています: from django.contrib import admin from .models import Au ...
る場合、 site キーワード引数を使って渡してください: from django.contrib import admin from .models import Au ...
-
https://man.plustar.jp/django/ref/contrib/admin/index.html
- [similar]
- 翻訳 — Django 4.0.6 ドキュメント 6907
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
というテキストが翻訳文字列としてマークされています: from django.http import HttpResponse from django.utils. ...
as. This example is identical to the previous one: from django.http import HttpResponse from django.utils. ...
out translating it. The string is later translated from a variable. ソース言語内に保持すべき構成文字列があ ...
語にローカル化させる必要がある場合に役立ちます。 例: from django.http import HttpResponse from django.utils. ...
-
https://man.plustar.jp/django/topics/i18n/translation.html
- [similar]
- クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 6880
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
w , which will render a list of objects, typically from a queryset, and optionally paginate them. This wil ...
_list.html , with the _list part again being taken from the template_name_suffix attribute. (The date base ...
cessing to work on a particular object, identified from the URL, we'll want the functionality provided by ...
eneric class-based views introduction . views.py ¶ from django.http import HttpResponseForbidden , HttpRes ...
-
https://man.plustar.jp/django/topics/class-based-views/mixins.html
- [similar]
- URL ディスパッチャ — Django 4.0.6 ドキュメント 6880
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
attern contained no named groups, then the matches from the regular expression are provided as positional ...
ください。 カスタマイズ例 ¶ URLconf のサンプルです。 from django.urls import path from . import views urlpat ...
ews . article_detail ), ] メモ: To capture a value from the URL, use angle brackets. Captured values can o ...
Matches a formatted UUID. To prevent multiple URLs from mapping to the same page, dashes must be included ...
-
https://man.plustar.jp/django/topics/http/urls.html
- [similar]
- GDAL API — Django 4.0.6 ドキュメント 6765
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
OGR data source object that supports reading data from a variety of OGR-supported geospatial file formats ...
yers of data themselves, see the next section: >>> from django.contrib.gis.gdal import DataSource >>> ds = ...
Layer object directly. Instead, you retrieve them from a DataSource object, which is essentially a standa ...
... Layer "cities": 3 Points The example output is from the cities data source, loaded above, which eviden ...
-
https://man.plustar.jp/django/ref/contrib/gis/gdal.html
- [similar]
- モデルからフォームを作成する — Django 4.0.6 ドキュメント 6685
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
きるようなヘルパークラスを用意してあります。 例: >>> from django.forms import ModelForm >>> from myapp.model ...
体例 ¶ 以下のような一連のモデルを考えていきましょう: from django.db import models from django.forms import M ...
の違いは save() メソッドで、これからすぐ説明します): from django import forms class AuthorForm ( forms . For ...
に対するエラーメッセージをオーバーライドできます。 from django.core.exceptions import NON_FIELD_ERRORS fro ...
-
https://man.plustar.jp/django/topics/forms/modelforms.html
- [similar]