検索

phrase: max: clip:
target: order:
Results of 81 - 90 of about 239 for example (0.071 sec.)
Constraints reference — Django 4.0.6 ドキュメント 5198
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... pp label and class name of the concrete model. For example CheckConstraint(check=Q(age__gte=18), name='%(app_ ... the check you want the constraint to enforce. For example, CheckConstraint(check=Q(age__gte=18), name='age_g ... of columns you want the constraint to enforce. For example, UniqueConstraint(fields=['room', 'date'], name='u ... Deferrable.DEFERRED or Deferrable.IMMEDIATE . For example: from django.db.models import Deferrable , UniqueC ...
https://man.plustar.jp/django/ref/models/constraints.html - [similar]
Djangoにおけるパスワード管理 — Django 4.0.6 ドキュメント 5198
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s parameter when subclassing a bcrypt hasher). For example, to increase the number of iterations used by the ... ons * 100 Save this somewhere in your project. For example, you might put this in a file like myproject/hashe ... you can use a "wrapped" password hasher. For this example, we'll migrate a collection of SHA1 hashes to use ... 's default number of iterations). Taking PBKDF2 as example, if encoded contains 20,000 iterations and the has ...
https://man.plustar.jp/django/topics/auth/passwords.html - [similar]
Generic display ビュー — Django 4.0.6 ドキュメント 5106
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... me() get_context_data() get() render_to_response() Example myapp/views.py : from django.utils import timezone ... ailView . as_view (), name = 'article-detail' ), ] Example myapp/article_detail.html : < h1 > {{ object.headl ... me() get_context_data() get() render_to_response() Example views.py : from django.utils import timezone from ... ul > If you're using pagination, you can adapt the example template from the pagination docs . class django.v ...
https://man.plustar.jp/django/ref/class-based-views/generic-display.html - [similar]
Tablespaces — Django 4.0.6 ドキュメント 5106
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s created in the same tablespace as the tables. An example ¶ class TablespaceExample ( models . Model ): name ... cut' ], db_tablespace = 'other_indexes' )] In this example, the tables generated by the TablespaceExample mod ... es for tables Declaring tablespaces for indexes An example Database support 前のトピックへ 複数のデータベース ...
https://man.plustar.jp/django/topics/db/tablespaces.html - [similar]
パフォーマンスと最適化 — Django 4.0.6 ドキュメント 5106
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mes one can even be at the expense of another. For example, an improvement in a program's speed might cause i ... dequately measured from within Django environment. Examples include: Yahoo's Yslow Google PageSpeed There are ... n that it's the most appropriate way to do it. For example, you might find that you could calculate the same ... l one that it is comfortable to code for. 注釈 The example above is merely illustrative. Firstly, in a real-l ...
https://man.plustar.jp/django/topics/performance.html - [similar]
Django を Apache と mod_wsgi とともに使うには? — Django 4.0.6 ドキュメント 5065
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... the WSGIDaemonProcess directive: WSGIDaemonProcess example . com lang = 'en_US.UTF-8' locale = 'en_US.UTF-8' ... を使用する必要があります。例えば、 WSGIDaemonProcess example.com python-home=/path/to/venv python-path=/path/to ... /mysite.com WSGIProcessGroup example.com サブディレクトリでプロジェクトを提供したい場合 ... は(本例では https://example.com/mysite となります) 、 WSGIScriptAlias を設定の ...
https://man.plustar.jp/django/howto/deployment/wsgi/modwsgi.html - [similar]
Installing Geospatial libraries — Django 4.0.6 ドキュメント 5065
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dconfig command after installing each library. For example: $ sudo make install $ sudo ldconfig 注釈 macOS us ... file with the full path to the GEOS C library. For example: GEOS_LIBRARY_PATH = '/home/bob/local/lib/libgeos_ ... s file with the full path to the GDAL library. For example: GDAL_LIBRARY_PATH = '/home/sue/local/lib/libgdal. ... nverting data to and from certain projections. For example, the PROJ string for the Google projection (900913 ...
https://man.plustar.jp/django/ref/contrib/gis/install/geolibs.html - [similar]
Testing GeoDjango apps — Django 4.0.6 ドキュメント 5065
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... minor, and micro version numbers for PostGIS. For example, to configure for PostGIS X.Y.Z you would use: POS ... s may be done at the time the user is created, for example: $ createuser --superuser <user_name> Or you may a ... se backends . カスタマイズ例 ¶ The following is an example bare-bones settings file with spatial backends tha ...
https://man.plustar.jp/django/ref/contrib/gis/testing.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 5065
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ee the documentation for more details and concrete examples. Updated default project layout and manage.py ¶ D ... th or URL to a custom app or project template. For example, Django will use the /path/to/my_project_template ... any number of positional or keyword arguments. For example: @register . simple_tag def my_tag ( a , b , * arg ... f arguments may be passed to the template tag. For example: {% my_tag 123 "abcd" book.title warning = message ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
検索 — Django 4.0.6 ドキュメント 5065
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ields have a selection of matching operations. For example, you may wish to allow lookup up an author like so ... any support for them at this time. We'll use some examples from PostgreSQL to demonstrate the kind of functi ... ieved this way, please open a ticket. In the above example, we determined that a case insensitive lookup woul ... ions here depends on your particular data set, for example the language(s) used and the type of text being se ...
https://man.plustar.jp/django/topics/db/search.html - [similar]