Results of 11 - 20 of about 54 for Host (0.039 sec.)
- The "sites" framework — Django 4.0.6 ドキュメント 7950
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
the current site by comparing the domain with the host name from the request.get_host() method. How you u ...
the name and domain attributes to the value of get_host() . A RequestSite object has a similar interface t ...
It looks up the current site based on request.get_host() if the SITE_ID setting is not defined. Both a do ...
main and a port may be returned by request.get_host() when the Host header has a port explicitly speci ...
-
https://man.plustar.jp/django/ref/contrib/sites.html
- [similar]
- メールを送信する — Django 4.0.6 ドキュメント 7846
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
e.com' ], fail_silently = False , ) 設定内の EMAIL_HOST と EMAIL_PORT で指定された SMTP ホストとポートを使 ...
用して、メールが送信されます。 EMAIL_HOST_USER と EMAIL_HOST_PASSWORD が指定されている場合は ...
ー名で、省略可能。指定されなかった場合、Django EMAIL_HOST_USER 設定の値を使います。 auth_password : SMTP サー ...
で、省略可能。指定されなかった場合、Django は EMAIL_HOST_PASSWORD 設定の値を使います。 connection : メール送 ...
-
https://man.plustar.jp/django/topics/email.html
- [similar]
- データベース — Django 4.0.6 ドキュメント 7787
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
recommended. PostgreSQL connection settings ¶ See HOST for details. To connect using a service name from ...
y_pgpass' , }, } } .pg_service.conf ¶ [my_service] host=localhost user=USER dbname=NAME port=5432 .my_pgpa ...
ss ¶ localhost:5432:NAME:USER:PASSWORD Changed in Django 4.0: Sup ...
in this order: OPTIONS . NAME , USER , PASSWORD , HOST , PORT MySQL option files. In other words, if you ...
-
https://man.plustar.jp/django/ref/databases.html
- [similar]
- django.core.mail — Django 4.0.6 ドキュメント 7683
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
EMAIL setting. If auth_user is None, use the EMAIL_HOST_USER setting. If auth_password is None, use the EM ...
AIL_HOST_PASSWORD setting. Note: The API for this method is ...
hem to log in. If auth_user is None, use the EMAIL_HOST_USER setting. If auth_password is None, use the EM ...
AIL_HOST_PASSWORD setting. Note: The API for this method is ...
-
https://man.plustar.jp/django/_modules/django/core/mail.html
- [similar]
- django.core.validators — Django 4.0.6 ドキュメント 7579
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
[0-9a-f:.]+\]" # (simple regex, validated later) # Host patterns hostname_re = ( r "[a-z" + ul + r "0-9](? ...
nd with a dash r "\.?" # may have a trailing dot ) host_re = "(" + hostname_re + domain_re + tld_re + "|lo ...
calhost)" regex = _lazy_re_compile ( r "^(?:[a-z0-9.+-]*): ...
tication r "(?:" + ipv4_re + "|" + ipv6_re + "|" + host_re + ")" r "(?::\d{1,5})?" # port r "(?:[/?#][^\s] ...
-
https://man.plustar.jp/django/_modules/django/core/validators.html
- [similar]
- Advanced testing topics — Django 4.0.6 ドキュメント 7431
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tIn ( 'environment' , context ) Tests and multiple host names ¶ The ALLOWED_HOSTS setting is validated whe ...
erwise alter business logic based on the request's host and use custom host names in tests must include th ...
ose hosts in ALLOWED_HOSTS . The first option to do so is t ...
o add the hosts to your settings file. For example, the test suit ...
-
https://man.plustar.jp/django/topics/testing/advanced.html
- [similar]
- ミドルウェア — Django 4.0.6 ドキュメント 7164
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
_REDIRECT_EXEMPT SECURE_REFERRER_POLICY SECURE_SSL_HOST SECURE_SSL_REDIRECT HTTP Strict Transport Security ...
n the referrer. The origin consists of the scheme, host and (optionally) port number. For example, if the ...
境で使われることを想定しています。 If the SECURE_SSL_HOST setting has a value, all redirects will be sent to ...
that host instead of the originally-requested host. If there ...
-
https://man.plustar.jp/django/ref/middleware.html
- [similar]
- 索引 — Django 4.0.6 ドキュメント 7120
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
nd (django.contrib.auth.backends のクラス) ALLOWED_HOSTS setting allowlist (EmailValidator の属性) alter_d ...
s.CustomUser の属性) EMAIL_FILE_PATH setting EMAIL_HOST setting EMAIL_HOST_PASSWORD setting EMAIL_HOST_USE ...
ionsMixin のメソッド) (models.User のメソッド) get_host() (HttpRequest のメソッド) get_initial() (django.v ...
s のクラス) history_view() (ModelAdmin のメソッド) HOST setting hour field lookup type HStoreExtension (dj ...
-
https://man.plustar.jp/django/genindex.html
- [similar]
- How to manage error reporting — Django 4.0.6 ドキュメント 6956
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
r. At the very least, you'll need to specify EMAIL_HOST and possibly EMAIL_HOST_USER and EMAIL_HOST_PASSWO ...
y default, Django will send email from root @ localhost . However, some mail providers reject all email fr ...
-
https://man.plustar.jp/django/howto/error-reporting.html
- [similar]
- クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 6956
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
, if provided by the browser, against the current host and the CSRF_TRUSTED_ORIGINS setting. This provide ...
g is not set, then the referer must match the HTTP Host header. Expanding the accepted referers beyond the ...
current host or cookie domain can be done with the CSRF_TRUSTED ...
sport Security . It also assumes validation of the HOST header and that there aren't any cross-site script ...
-
https://man.plustar.jp/django/ref/csrf.html
- [similar]