検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 359 for from (0.045 sec.)
Django 1.7 release notes — Django 4.0.6 ドキュメント 6658
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... changes you'll want to be aware of when upgrading from Django 1.6 or older versions. We've begun the depr ... ango starts. You can consequently remove this line from your URLconf. Django imports all application confi ... f __init__ in any way. If your field just inherits from a built-in Django field and doesn't override __ini ... on documentation . Calling custom QuerySet methods from the Manager ¶ Historically, the recommended way to ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
The "sites" framework — Django 4.0.6 ドキュメント 6631
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nt site by comparing the domain with the host name from the request.get_host() method. How you use this is ... esented by a ManyToManyField in the Article model: from django.contrib.sites.models import Site from djang ... on the current site. It looks something like this: from django.contrib.sites.shortcuts import get_current_ ... wed on a single site, you'd use a model like this: from django.contrib.sites.models import Site from djang ...
https://man.plustar.jp/django/ref/contrib/sites.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 6578
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... poses of this section is that the results are read from the database. repr(). A QuerySet is evaluated when ... s to already be present and ready for use (reading from the database can take some time, defeating the pur ... the necessary information to recreate the QuerySet from the database at a later time, pickle the query att ... 、ブログごとのエントリー数を決定したいとします: >>> from django.db.models import Count >>> q = Blog . objec ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 6515
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... changes you'll want to be aware of when upgrading from Django 1.1 or older versions. オーバービュー ¶ Dja ... equired() , and permission_required() , decorators from django.contrib.auth only apply to functions and no ... s that will affect the most users. Users upgrading from previous versions of Django are heavily encouraged ... s were tested and supported on 2.x Python versions from 2.3 up; Django 1.2, however, drops official suppor ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
フォームセット (Formset) — Django 4.0.6 ドキュメント 6515
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ために、まず以下のようなフォームを考えましょう。 >>> from django import forms >>> class ArticleForm ( forms ... フォームセットを生成するには、次のようにします。 >>> from django.forms import formset_factory >>> ArticleFor ... す。以下の例を見てください: >>> import datetime >>> from django.forms import formset_factory >>> from myapp ... ト中に表示されるフォームの最大数を制限できます。 >>> from django.forms import formset_factory >>> from myapp ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
メールを送信する — Django 4.0.6 ドキュメント 6266
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ールにあります。 簡単な例 ¶ 次の 2 文を書くことで、 from django.core.mail import send_mail send_mail ( 'Sub ... ject here' , 'Here is the message.' , 'from@example.com' , [ 'to@example.com' ], fail_silently ... ます。 send_mail() ¶ send_mail ( subject , message , from_email , recipient_list , fail_silently = False , a ... ango.core.mail.send_mail() . subject 、 message 、 from_email 、 recipient_list の 4 つの引数は必須です。 ...
https://man.plustar.jp/django/topics/email.html - [similar]
GEOS API — Django 4.0.6 ドキュメント 6239
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ngine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the Open ... llowing are examples of creating the same geometry from WKT, HEX, WKB, and GeoJSON: >>> from django.contri ... the X and Y coordinates into its constructor: >>> from django.contrib.gis.geos import Point >>> pnt = Poi ... take the keyword argument srid . For example: >>> from django.contrib.gis.geos import GEOSGeometry , Line ...
https://man.plustar.jp/django/ref/contrib/gis/geos.html - [similar]
Generic date ビュー — Django 4.0.6 ドキュメント 6213
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 記の通り Article モデルが定義されていると仮定します: from django.db import models from django.urls import re ... ブクラスのビューに適用されます。 例 myapp/urls.py : from django.urls import path from django.views.generic. ... dates import ArchiveIndexView from myapp.models import Article urlpatterns = [ path ( ... suffix of _archive_year . Example myapp/views.py : from django.views.generic.dates import YearArchiveView ...
https://man.plustar.jp/django/ref/class-based-views/generic-date-based.html - [similar]
素の SQL 文の実行 — Django 4.0.6 ドキュメント 6159
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... す: >>> for p in Person . objects . raw ( 'SELECT * FROM myapp_person' ): ... print ( p ) John Smith Jane J ... e default value of the params argument was changed from None to an empty tuple. クエリのフィールドをモデル ... aw ( 'SELECT id, first_name, last_name, birth_date FROM myapp_person' ) ... >>> Person . objects . raw ( ' ... SELECT last_name, birth_date, first_name, id FROM myapp_person' ) ... マッチングはその名前によって行 ...
https://man.plustar.jp/django/topics/db/sql.html - [similar]
django.utils.translation — Django 4.0.6 ドキュメント 6106
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... のソースコード """ Internationalization support. """ from contextlib import ContextDecorator from decimal im ... port ROUND_UP , Decimal from django.utils.autoreload import autoreload_started ... , file_changed from django.utils.functional import lazy from django.ut ... "deactivate_all" , "get_language" , "get_language_from_request" , "get_language_info" , "get_language_bid ...
https://man.plustar.jp/django/_modules/django/utils/translation.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT