Results of 1 - 10 of about 312 for USE (0.032 sec.)
- 設定 — Django 4.0.6 ドキュメント 9526
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nts required by the features of Django you wish to use. コアの設定 ¶ ここでは、Django の core で利用できる ...
/" % ( o . pub_year , o . slug ), } The model name used in this setting should be all lowercase, regardle ...
ost の検証機でそれを取り除きます。 Host ヘッダ (と USE_X_FORWARDED_HOST が有効な場合は X-Forwarded-Host ) ...
onary containing the settings for all caches to be used with Django. It is a nested dictionary whose cont ...
-
https://man.plustar.jp/django/ref/settings.html
- [similar]
- QuerySet API リファレンス — Django 4.0.6 ドキュメント 8211
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
using bool() , or , and or an if statement, will cause the query to be executed. If there is at least one ...
t need the actual objects), it's more efficient to use exists() . Pickling QuerySet s ¶ If you pickle a Q ...
into memory prior to pickling. Pickling is usually used as a precursor to caching and when the cached que ...
nt the results to already be present and ready for use (reading from the database can take some time, def ...
-
https://man.plustar.jp/django/ref/models/querysets.html
- [similar]
- Writing documentation — Django 4.0.6 ドキュメント 8108
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
can craft their documentation changes in the most useful and least error-prone ways. Getting the raw doc ...
the merger, to the last release branch. That's because it's highly advantageous to have the docs for the ...
tting started with Sphinx ¶ Django's documentation uses the Sphinx documentation system, which in turn is ...
a tutorial is to help the reader achieve something useful, preferably as early as possible, in order to g ...
-
https://man.plustar.jp/django/internals/contributing/writing-documentation.html
- [similar]
- django-admin と manage.py — Django 4.0.6 ドキュメント 8071
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
.4 . dev17026 1.4 a1 1.4 Displaying debug output ¶ Use --verbosity , where it is supported, to specify th ...
¶ django-admin check [app_label [app_label ...]] ¶ Uses the system check framework to inspect the entire ...
of checks that are categorized with tags . You can use these tags to restrict the checks performed to jus ...
are only relevant in a deployment setting. You can use this option in your local development environment, ...
-
https://man.plustar.jp/django/ref/django-admin.html
- [similar]
- データベース — Django 4.0.6 ドキュメント 7660
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
atabase query. It keeps this connection open and reuses it in subsequent requests. Django closes the conn ...
eeds one and doesn't have one already — either because this is the first connection, or because the previ ...
o a lower value, so that Django doesn't attempt to use a connection that has been terminated by the datab ...
sed by the majority of your views, for example because it's the database of an external system, or thanks ...
-
https://man.plustar.jp/django/ref/databases.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 7660
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ic websites is, well, they're dynamic. Each time a user requests a page, the web server makes all sorts o ...
sequently open-sourced by Danga Interactive. It is used by sites such as Facebook and Wikipedia to reduce ...
upported by Django are pylibmc and pymemcache . To use Memcached with Django: Set BACKEND to django.core. ...
that memory-based caching has a disadvantage: because the cached data is stored in memory, the data will ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- データベースアクセスの最適化 — Django 4.0.6 ドキュメント 7595
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
mined from profiling what indexes should be added. Use Meta.indexes or Field.db_index to add these from D ...
things listed above. The rest of this document focuses on how to use Django in such a way that you are n ...
make appropriate usage of values() . These can be useful for replacing model objects in template code - ...
dicts you supply have the same attributes as those used in the template, you are fine. QuerySet.defer() や ...
-
https://man.plustar.jp/django/topics/db/optimization.html
- [similar]
- Coding style — Django 4.0.6 ドキュメント 7520
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
can also help to reduce the number of CI runs. To use the tool, first install pre-commit and then the gi ...
ndentation and whitespace issues. The Python files use 4 spaces for indentation and the HTML files use 2 ...
spaces. Unless otherwise specified, follow PEP 8 . Use flake8 to check for problems in this area. Note th ...
low up to 88 characters as this is the line length used by black . This check is included when you run fl ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/coding-style.h...
- [similar]
- Model Meta options — Django 4.0.6 ドキュメント 7110
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_label.object_name or app_label.model_name you can use model._meta.label or model._meta.label_lower respe ...
e name of the manager, for example, 'objects' , to use for the model's _base_manager . db_table ¶ Options ...
. db_table ¶ The name of the database table to use for the model: db_table = 'music_album' Table name ...
by joining the model's "app label" -- the name you used in manage.py startapp -- to the model's class nam ...
-
https://man.plustar.jp/django/ref/models/options.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 7035
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
and "verbose" names of your Django-powered sites. Use it if your single Django installation powers more ...
t name from the request.get_host() method. How you use this is up to you, but Django uses it in a couple ...
uple of conventions. Example usage ¶ Why would you use sites? It's best explained through examples. Assoc ...
orld newspaper in Lawrence, Kansas. LJWorld.com focused on news, while Lawrence.com focused on local ente ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]