Django 4.2.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Cross-origin opener policy Session security User-uploaded content Additional / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3305 页 | 3.16 MB | 1 年前3Django 4.1.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Cross-origin opener policy Session security User-uploaded content Additional / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3240 页 | 3.13 MB | 1 年前3Django 4.0.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Cross-origin opener policy Session security User-uploaded content Additional / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3184 页 | 3.14 MB | 1 年前3Django 4.0.x Documentation
/ >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described except in the case of the was_published_recently header, because sorting by the output of an arbitrary method is not supported. Also note that the column header for was_published_recently is, by default, the display 100 items per page. Change list pagination, search boxes, filters, date-hierarchies, and column-header-ordering all work together like you think they should. 2.9.4 Customize the admin look and feel0 码力 | 2248 页 | 7.90 MB | 1 年前3Django 3.0.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Session security User-uploaded content Additional security topics Performance / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3085 页 | 2.95 MB | 1 年前3Django 3.2.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Session security User-uploaded content Additional security topics Performance / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3121 页 | 3.08 MB | 1 年前3Django 2.2.x Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Session security User-uploaded content Additional security topics Performance and optimization / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 5.1 Documentation
email Quick example send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Cross-origin opener policy Session security User-uploaded content Additional / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3513 页 | 3.17 MB | 1 年前3Django 5.1.2 Documentation
email Quick examples send_mail() send_mass_mail() mail_admins() mail_managers() Examples Preventing header injection The EmailMessage class Email backends Configuring email for development Internationalization request forgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Referrer policy Cross-origin opener policy Session security User-uploaded content Additional / >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described0 码力 | 3519 页 | 3.17 MB | 1 年前3Django 3.2.x Documentation
/ >>> # we should expect a 404 from that address; if you instead see an >>> # "Invalid HTTP_HOST header" error and a 400 response, you probably >>> # omitted the setup_test_environment() call described except in the case of the was_published_recently header, because sorting by the output of an arbitrary method is not supported. Also note that the column header for was_published_recently is, by default, the display 100 items per page. Change list pagination, search boxes, filters, date-hierarchies, and column-header-ordering all work together like you think they should. 2.9.4 Customize the admin look and feel0 码力 | 2199 页 | 7.89 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6