検索

phrase: max: clip:
target: order:
Results of 71 - 80 of about 239 for example (0.092 sec.)
Triaging tickets — Django 4.0.6 ドキュメント 5289
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d we encourage triage by the community . By way of example, here we see the lifecycle of an average ticket: A ... User Interface and User Experiences questions. For example, this flag would be appropriate for user-facing fe ... et with multiple keywords. This can be useful, for example, to group several tickets of a same theme. Keyword ... s the keyword string anywhere in the keywords. For example, clicking on a ticket with the keyword "form" will ...
https://man.plustar.jp/django/internals/contributing/triaging-tickets.html - [similar]
Coding style — Django 4.0.6 ドキュメント 5289
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... orts out of order (to avoid a circular import, for example) use a comment like this: import module # isort:sk ... blank lines above the first function or class. For example (comments are for explanatory purposes only): djan ... go/contrib/admin/example.py ¶ # future from __future__ import unicode_liter ... t ImportError : yaml = None CONSTANT = 'foo' class Example : # ... Use convenience imports whenever available ...
https://man.plustar.jp/django/internals/contributing/writing-code/coding-style.h... - [similar]
データベース — Django 4.0.6 ドキュメント 5289
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... n't be accessed by the majority of your views, for example because it's the database of an external system, o ... sequence, which might later cause a conflict. For example: >>> from django.contrib.auth.models import User > ... cause it is faster. If this is not acceptable (for example, if you require German dictionary order), use utf8 ... od and want to connect using the SID ("xe" in this example), then fill in both HOST and PORT like so: DATABAS ...
https://man.plustar.jp/django/ref/databases.html - [similar]
The Django Template Language — Django 4.0.6 ドキュメント 5289
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 辞書を変換することを検討してください。 In the above example, {{ section.title }} will be replaced with the tit ... arguments that contain spaces must be quoted; for example, to join a list with commas and spaces you'd use { ... ult. Otherwise, use the value of the variable. For example: {{ value | default :"nothing" }} If value isn't p ... value. This works for both strings and lists. For example: {{ value | length }} If value is ['a', 'b', 'c', ...
https://man.plustar.jp/django/ref/templates/language.html - [similar]
Base views — Django 4.0.6 ドキュメント 5248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... p() dispatch() http_method_not_allowed() options() Example views.py : from django.http import HttpResponse fr ... kwargs ): return HttpResponse ( 'Hello, World!' ) Example urls.py : from django.urls import path from myapp. ... tch() http_method_not_allowed() get_context_data() Example views.py : from django.views.generic.base import T ... = Article . objects . all ()[: 5 ] return context Example urls.py : from django.urls import path from myapp. ...
https://man.plustar.jp/django/ref/class-based-views/base.html - [similar]
Geographic Feeds — Django 4.0.6 ドキュメント 5248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... can be a tuple to represent a point or a box. For example: class ZipcodeFeed ( Feed ): def geometry ( self , ... represents a point coordinate or bounding box. For example: class ZipcodeFeed ( Feed ): def item_geometry ( s ... geometry , GeoDjango , item , box , For , tuple , example クイック検索 Last update: 2022年6月01日 « previous ...
https://man.plustar.jp/django/ref/contrib/gis/feeds.html - [similar]
マイグレーション操作 — Django 4.0.6 ドキュメント 5248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ld put in the field declaration in models.py - for example, models.IntegerField(null=True) . The preserve_def ... ot all changes are possible on all databases - for example, you cannot change a text-type field like models.T ... y should undo what is done by the sql queries. For example, to undo the above insertion with a deletion: migr ... uivalent to the SQL in terms of project state. For example, if you are manually creating a column, you should ...
https://man.plustar.jp/django/ref/migration-operations.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 5248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... リファレンスでは、 database query guide で提供された example blog models を使用します。 オブジェクトを作成する ... he current values differ from ._loaded_values. For example, # prevent changing the creator_id of the model. ( ... This example doesn't # support cases where 'creator_id' is defe ... owed" ) super () . save ( * args , ** kwargs ) The example above shows a full from_db() implementation to cla ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 5248
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... save_m2m() to save the many-to-many form data. For example: # Create a form instance with POST data. >>> f = ... hout the need for any additional method calls. For example: # Create a form instance with POST data. >>> a = ... use in a number of forms derived from models. For example, using the previous ArticleForm class: >>> class E ... used to make modifications to existing forms, for example by specifying the widgets to be used for a given f ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 5198
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... subdomain requests by including a leading dot. For example, CSRF_COOKIE_DOMAIN = '.example.com' will allow PO ... ST requests from www.example.com and api.example.com . If the setting is not se ... o disable the referer on your site's <a> tags. For example, you might use the <meta name="referrer" content=" ... escribed in the following section. Utilities ¶ The examples below assume you are using function-based views. ...
https://man.plustar.jp/django/ref/csrf.html - [similar]