検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 239 for example (0.068 sec.)
Database Functions — Django 4.0.6 ドキュメント 10080
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... functions . We'll be using the following model in examples of each function: class Author ( models . Model ) ... empty values", but it's important for the Coalesce example below. Comparison and conversion functions ¶ Cast ... expression to be the one from output_field . Usage example: >>> from django.db.models import FloatField >>> f ... and numbers will result in a database error. Usage examples: >>> # Get a screen name from least to most publi ...
https://man.plustar.jp/django/ref/models/database-functions.html - [similar]
フォームアセット (Media クラス) — Django 4.0.6 ドキュメント 9989
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e forms and widgets that require those assets. For example, if you want to use a calendar to render DateField ... >>> print ( w . media ) <link href="http://static.example.com/pretty.css" type="text/css" media="all" rel="s ... tylesheet"> <script src="http://static.example.com/animations.js"></script> <script src="http://s ... tatic.example.com/actions.js"></script> 以下は指定可能な Media オ ...
https://man.plustar.jp/django/topics/forms/media.html - [similar]
How is Django Formed? — Django 4.0.6 ドキュメント 8229
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... our default signing key, you'll need to add -u you@example.com to every GPG signing command below, where you@ ... series, create a new stable branch from main. For example, when releasing Django 3.1: $ git checkout -b stab ... ranch to point to the new development version. For example, when creating stable/4.2.x , set django_next_vers ... ch in the django-docs-translations repository. For example, when releasing Django 2.2: $ git checkout -b stab ...
https://man.plustar.jp/django/internals/howto-release-django.html - [similar]
Django's cache framework — Django 4.0.6 ドキュメント 8178
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the path to a Memcached Unix socket file. In this example, Memcached is running on localhost (127.0.0.1) por ... he' , 'LOCATION' : '127.0.0.1:11211' , } } In this example, Memcached is available through a local Unix socke ... n or comma delimited string, or as a list. In this example, the cache is shared over Memcached instances runn ... ' , '172.19.26.242:11211' , ] } } In the following example, the cache is shared over Memcached instances runn ...
https://man.plustar.jp/django/topics/cache.html - [similar]
メールを送信する — Django 4.0.6 ドキュメント 8137
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ( 'Subject here' , 'Here is the message.' , 'from@example.com' , [ 'to@example.com' ], fail_silently = False ... = ( 'Subject here' , 'Here is the message' , 'from@example.com' , [ 'first@example.com' , 'other@example.com' ... other Subject' , 'Here is another message' , 'from@example.com' , [ 'second@test.com' ]) send_mass_mail (( me ... r) にメールを送信します。 例 ¶ 以下の例は、 john @ example . com と jane @ example . com に1つのメールを送信し ...
https://man.plustar.jp/django/topics/email.html - [similar]
The syndication feed framework — Django 4.0.6 ドキュメント 8097
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... views which can be used in your URLconf . A simple example ¶ This simple example, taken from a hypothetical p ... instance of the Feed object in your URLconf . For example: from django.urls import path from myproject.feeds ... uded in the feed as <item> elements. Although this example returns NewsItem objects using Django's object-rel ... shing Atom and RSS feeds in tandem , later, for an example. One thing is left to do. In an RSS feed, each <it ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 7914
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... リファレンスでは、 database query guide で提供された example blog models を使用します。 When QuerySet s are eva ... sult, the QuerySet is True , otherwise False . For example: if Entry . objects . filter ( headline = "Test" ) ... ase which should result in better performance. For example, if you want to find blogs with more than 5 entrie ... usage often does not happen in the same place (for example, QuerySet method creates expressions, for later us ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
設定 — Django 4.0.6 ドキュメント 7822
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... bsolute_url() methods on a per-installation basis. Example: ABSOLUTE_URL_OVERRIDES = { 'blogs.blog' : lambda ... t should be a tuple of (Full name, email address). Example: [( 'John' , 'john@example.com' ), ( 'Mary' , 'mar ... y@example.com' )] ALLOWED_HOSTS ¶ デフォルト値: [] (空のリス ... 中の値は完全修飾名 (fully qualified names) (例: 'www.example.com' ) でも大丈夫です。その場合には、リクエストの ...
https://man.plustar.jp/django/ref/settings.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 7690
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tion at the database level. Let's try this with an example. Normally, one might do something like this: # Tin ... f two Python threads execute the code in the first example above, one thread could retrieve, increment, and s ... instance and will be applied on each save() . For example: reporter = Reporters . objects . get ( name = 'Ti ... by reloading the model object after saving it, for example, by using refresh_from_db() . Using F() in filters ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 7456
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 、タグを登録できるようになります。 背景 For a ton of examples, read the source code for Django's default filter ... irs the damage after the filter has completed. For example, suppose you have a filter that adds the string xx ... nbalanced HTML tags or entities in the result. For example, removing a > from the input might turn <a> into < ... code it will have escaping enabled by default. For example, let's write a filter that emphasizes the first ch ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT