Results of 121 - 130 of about 345 for when (0.092 sec.)
- Advanced testing topics — Django 4.0.6 ドキュメント 4529
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ost names ¶ The ALLOWED_HOSTS setting is validated when running tests. This allows the test client to diff ...
g ALLOWED_HOSTS checking ( ALLOWED_HOSTS = ['*'] ) when running tests prevents the test client from raisin ...
rategy of creating test databases poses a problem. When the test databases are created, there won't be any ...
replica should be treated as a mirror of default . When the test environment is configured, a test version ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
und" errors). Django sends emails about 404 errors when: DEBUG is False ; Your MIDDLEWARE setting includes ...
ill email the users listed in the MANAGERS setting whenever your code raises a 404 and the request has a r ...
oken URLs or broken web bots. It also ignores 404s when the referer is equal to the requested URL, since t ...
r: @sensitive_variables () def my_function (): ... When using multiple decorators If the variable you want ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]
- GeoDjango Management Commands — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ment Commands ¶ inspectdb ¶ django-admin inspectdb When django.contrib.gis is in your INSTALLED_APPS , the ...
an integer or a string identifier for the Layer . When inspecting databases, layer is generally the table ...
tionary for use with LayerMapping . --multi-geom ¶ When generating the geometry field, treat it as a geome ...
-
https://man.plustar.jp/django/ref/contrib/gis/commands.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e a B-tree index, which isn't particularly helpful when querying complex data types. Indexes such as GinIn ...
at present does not enforce the restriction. 注釈 When nesting ArrayField , whether you use the size para ...
PostgreSQL uses 1-based indexing for array fields when writing raw SQL. However these indexes and those u ...
PostgreSQL uses 1-based indexing for array fields when writing raw SQL. However these slices and those us ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- The sitemap framework — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ws.sitemap' ) This tells Django to build a sitemap when a client accesses /sitemap.xml . The name of the s ...
nguage codes to use for generating alternate links when i18n is enabled. Defaults to LANGUAGES . alternate ...
New in Django 3.2. Optional. A boolean attribute. When used in conjunction with i18n generated URLs will ...
New in Django 3.2. Optional. A boolean attribute. When True the alternate links generated by alternates w ...
-
https://man.plustar.jp/django/ref/contrib/sitemaps.html
- [similar]
- Djangoにおけるパスワード管理 — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
torage costs decrease this value should be raised. When implementing your own password hasher you are free ...
the iterations parameter (use the rounds parameter when subclassing a bcrypt hasher). For example, to incr ...
- now your Django install will use more iterations when it stores passwords using PBKDF2. 注釈 bcrypt roun ...
* block_size * 64 so you may need to tweak maxmem when changing the work_factor or block_size values. パス ...
-
https://man.plustar.jp/django/topics/auth/passwords.html
- [similar]
- Django's cache framework — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r that it can be created by the user apache . 警告 When the cache LOCATION is contained within MEDIA_ROOT ...
REQUENCY : The fraction of entries that are culled when MAX_ENTRIES is reached. The actual ratio is 1 / CU ...
o set CULL_FREQUENCY to 2 to cull half the entries when MAX_ENTRIES is reached. This argument should be an ...
EQUENCY means that the entire cache will be dumped when MAX_ENTRIES is reached. On some backends ( databas ...
-
https://man.plustar.jp/django/topics/cache.html
- [similar]
- テストツール — Django 4.0.6 ドキュメント 4493
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
into the site. Use this method instead of login() when a test requires a user be logged in and the detail ...
is executing within a transaction, as is required when using select_for_update() . In those cases, you sh ...
heck out the full reference for more details. 注釈 When using an in-memory SQLite database to run the test ...
ou can supply either a list of values or a string. When the value already exists in the list, append and p ...
-
https://man.plustar.jp/django/topics/testing/tools.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 4456
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
logger . warning ( 'Platform is running at risk' ) When this code is executed, a LogRecord containing that ...
the LOGGING setting. Basic logging configuration ¶ When configuring logging, it makes sense to Create a LO ...
figure responsive logging ¶ Logging is most useful when it contains as much information as possible, but n ...
how much you need depends upon what you're doing. When you're debugging, you need a level of information ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- Unit tests — Django 4.0.6 ドキュメント 4456
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ed in DATABASES . These test databases are deleted when the tests are finished. You will also need to ensu ...
y running: $ coverage html ...\> coverage html When running coverage for the Django tests, the include ...
lize ] may have been in progress in another thread when fork () was called . To avoid this set a OBJC_DISA ...
t only fail in combination ¶ In case a test passes when run in isolation but fails within the whole suite, ...
-
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm...
- [similar]