Results of 21 - 30 of about 138 for Settings (0.083 sec.)
- Django 1.10.3 release notes — Django 4.0.6 ドキュメント 7166
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
password isn't manually specified in the database settings TEST dictionary, a hardcoded password is used. Thi ...
s of Django don't validate the Host header against settings.ALLOWED_HOSTS when settings.DEBUG=True . This make ...
connect to the database with a superuser account. settings.ALLOWED_HOSTS is now validated regardless of DEBUG ...
['localhost', '127.0.0.1', '::1'] . If your local settings file has your production ALLOWED_HOSTS value, you ...
-
https://man.plustar.jp/django/releases/1.10.3.html
- [similar]
- django.utils.log — Django 4.0.6 ドキュメント 7130
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nfig from copy import copy from django.conf import settings from django.core import mail from django.core.mail ...
} def configure_logging ( logging_config , logging_settings ): if logging_config : # First find the logging co ...
LT_LOGGING ) # ... then invoke it with the logging settings if logging_settings : logging_config_func ( loggin ...
g_settings ) [ドキュメント] class AdminEmailHandler ( logging ...
-
https://man.plustar.jp/django/_modules/django/utils/log.html
- [similar]
- FAQ: Django を使う — Django 4.0.6 ドキュメント 6986
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
使う ¶ Why do I get an error about importing DJANGO_SETTINGS_MODULE ? ¶ 以下の点を確認してください: The environ ...
ment variable DJANGO_SETTINGS_MODULE is set to a fully-qualified Python module ( ...
i.e. mysite.settings ). その設定モジュールは sys.path の上にありますか ...
( import mysite.settings はうまくいきますか)。 モジュールに構文エラーはあり ...
-
https://man.plustar.jp/django/faq/usage.html
- [similar]
- ロギング — Django 4.0.6 ドキュメント 6855
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
level of the stack, plus the values of your Django settings (in other words, the same level of detail that is ...
you use LOGGING to define a dictionary of logging settings. These settings describe the loggers, handlers, fi ...
コンソールに出力するための最低限の設定がこちらです。 settings.py ¶ import os LOGGING = { 'version' : 1 , 'disabl ...
t more messages from just the django named logger: settings.py ¶ import os LOGGING = { 'version' : 1 , 'disabl ...
-
https://man.plustar.jp/django/topics/logging.html
- [similar]
- Django 1.7 release notes — Django 4.0.6 ドキュメント 6807
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
SESSION_COOKIE_SECURE and SESSION_COOKIE_HTTPONLY settings. The messages context processor now adds a diction ...
rings in po files for fuzzy strings. The following settings to adjust the language cookie options were introdu ...
e command. Django takes this information from your settings file. If you have configured multiple caches or mu ...
test.Response.wsgi_request attribute. The database settings for testing have been collected into a dictionary ...
-
https://man.plustar.jp/django/releases/1.7.html
- [similar]
- The "sites" framework — Django 4.0.6 ドキュメント 6723
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
adable "verbose" name for the website. The SITE_ID setting specifies the database ID of the Site object associ ...
ated with that particular settings file. If the setting is omitted, the get_current_s ...
being called. For example: from django.conf import settings def my_view ( request ): if settings . SITE_ID == ...
model's manager. You should then ensure that your settings file does contain the SITE_ID setting. This exampl ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- データベース — Django 4.0.6 ドキュメント 6591
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
test release is recommended. PostgreSQL connection settings ¶ See HOST for details. To connect using a service ...
part of your database configuration in DATABASES : settings.py ¶ DATABASES = { 'default' : { 'ENGINE' : 'djang ...
abase. Speeding up test execution with non-durable settings ¶ You can speed up test execution times by configu ...
s and columns will use UTF-8 by default. Collation settings ¶ The collation setting for a column controls the ...
-
https://man.plustar.jp/django/ref/databases.html
- [similar]
- django.core.mail.message — Django 4.0.6 ドキュメント 6544
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
O from pathlib import Path from django.conf import settings from django.core.mail.utils import DNS_NAME from d ...
revent header injection.""" encoding = encoding or settings . DEFAULT_CHARSET val = str ( val ) # val may be l ...
ed_subtype = "mixed" encoding = None # None => use settings default def __init__ ( self , subject = "" , body ...
. reply_to = [] self . from_email = from_email or settings . DEFAULT_FROM_EMAIL self . subject = subject self ...
-
https://man.plustar.jp/django/_modules/django/core/mail/message.html
- [similar]
- django.core.management.base — Django 4.0.6 ドキュメント 6448
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
fore searching for user commands. """ if options . settings : os . environ [ "DJANGO_SETTINGS_MODULE" ] = opti ...
ons . settings if options . pythonpath : sys . path . insert ( 0 ...
{ "--version" , "--verbosity" , "--traceback" , "--settings" , "--pythonpath" , "--no-color" , "--force-color" ...
utput" ), ) self . add_base_argument ( parser , "--settings" , help = ( "The Python path to a settings module, ...
-
https://man.plustar.jp/django/_modules/django/core/management/base.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 6316
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
注釈 In order to send email, Django requires a few settings telling it how to connect to your mail server. At ...
L_HOST_USER and EMAIL_HOST_PASSWORD , though other settings may be also required depending on your mail server ...
's configuration. Consult the Django settings documentation for a full list of email-related set ...
redit card number. So in addition to filtering out settings that appear to be sensitive as described in the DE ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]