<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chango.git/tests/project_template, branch devmain</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/chango.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chango.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/'/>
<updated>2026-05-13T21:00:56Z</updated>
<entry>
<title>Fixed #35514 -- Implemented dictionary-based MAILERS.</title>
<updated>2026-05-13T21:00:56Z</updated>
<author>
<name>Mike Edmunds</name>
<email>medmunds@gmail.com</email>
</author>
<published>2026-04-01T23:59:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=0f581cd29d42d1b5ed1dafb67794c2f3ce6705c9'/>
<id>urn:sha1:0f581cd29d42d1b5ed1dafb67794c2f3ce6705c9</id>
<content type='text'>
See DEP 0018.

Added:
* MAILERS setting.
* django.core.mail.mailers dict-like EmailBackend factory.
* `using` argument to mail sending APIs.
* `sent_using` attribute to mail.outbox messages in locmem backend.
* MAILERS in startproject settings template, set to console backend.
* AdminLogHandler.using argument.
* BrokenLinkEmailsMiddleware.send_mail() method.

Updated:
* BaseEmailBackend to track the MAILERS alias used to construct it, and
  to report errors for unknown kwargs (OPTIONS).
* EmailBackend implementations to initialize from kwargs (OPTIONS) only
  when MAILERS is being used.
* smtp.EmailBackend to require `host` option and to default `port`
  option based on SSL/TLS options.
* SimpleTestCase setup to substitute the locmem backend for all defined
  MAILERS configurations.
* Django's tests that send mail to define MAILERS.

Deprecated:
* EMAIL_BACKEND and other backend-related EMAIL_* settings.
* mail.get_connection().
* The `connection`, `fail_silently`, `auth_user`, and `auth_password`
  arguments to mail functions.
* The EmailMessage.connection attribute.
* BaseEmailBackend support for `fail_silently`. Backends that support
  fail_silently (SMTP, console, file) now implement it directly.
* AdminEmailHandler.email_backend argument.

Removed undocumented features without deprecation:
* EmailMessage.get_connection() method. (send() now raises an error if a
  subclass has attempted to override it.)
* EmailMessage.send() no longer sets self.connection to the connection
  used for sending. (It still _uses_ a pre-existing self.connection.)
* AdminEmailHandler.connection() method. (Init now raises an error if a
  subclass has attempted to override it.)

Thanks to Natalia Bidart for shepherding DEP 0018 and for extensive
reviews and suggestions on the implementation.

Thanks to Jacob Rief for the initial implementation and multiple
iterations while refining the design.

Co-authored-by: Jacob Rief &lt;jacob.rief@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #31840 -- Added support for Cross-Origin Opener Policy header.</title>
<updated>2021-03-30T17:59:24Z</updated>
<author>
<name>bankc</name>
<email>bankc@google.com</email>
</author>
<published>2020-08-26T16:09:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=db5b75f10fe211af9fab9094f937436760db8488'/>
<id>urn:sha1:db5b75f10fe211af9fab9094f937436760db8488</id>
<content type='text'>
Thanks Adam Johnson and Tim Graham for the reviews.

Co-authored-by: Tim Graham &lt;timograham@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #31232 -- Changed default SECURE_REFERRER_POLICY to 'same-origin'.</title>
<updated>2020-02-05T13:39:01Z</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2020-02-05T10:02:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=72b97a5b1e22f5d464045be2e33f0436fa8061d3'/>
<id>urn:sha1:72b97a5b1e22f5d464045be2e33f0436fa8061d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY.</title>
<updated>2019-09-09T06:15:26Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2019-09-07T07:52:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=05d0eca635853564c57e639ac5590674a7de2ed6'/>
<id>urn:sha1:05d0eca635853564c57e639ac5590674a7de2ed6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.</title>
<updated>2019-08-18T11:17:49Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2019-08-02T15:16:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=04681597634a0c803246fe68b3bcb64f81e7305c'/>
<id>urn:sha1:04681597634a0c803246fe68b3bcb64f81e7305c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed default empty content argument from HttpResponse calls.</title>
<updated>2019-02-09T21:27:32Z</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2019-02-09T21:27:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=c492fdfd240f10ade5aa11938fc87f903ef85890'/>
<id>urn:sha1:c492fdfd240f10ade5aa11938fc87f903ef85890</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated test URL patterns to use path() and re_path().</title>
<updated>2018-12-31T15:47:32Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2018-12-07T22:52:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=043bd709425149b8eff3fb821cba5c23aaebd0df'/>
<id>urn:sha1:043bd709425149b8eff3fb821cba5c23aaebd0df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switched TestCase to SimpleTestCase where possible in Django's tests.</title>
<updated>2018-11-27T13:58:44Z</updated>
<author>
<name>Tim Graham</name>
<email>timograham@gmail.com</email>
</author>
<published>2018-11-26T19:05:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=193c109327c5216cab1d4eed6bfdff24629b09a3'/>
<id>urn:sha1:193c109327c5216cab1d4eed6bfdff24629b09a3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #26755 -- Fixed test_middleware_classes_headers if Django source isn't writable.</title>
<updated>2017-05-31T14:25:09Z</updated>
<author>
<name>Chris Lamb</name>
<email>chris@chris-lamb.co.uk</email>
</author>
<published>2017-05-31T14:25:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chango.git/commit/?id=2ec56bb78237ebf58494d7a7f3262482399f0be6'/>
<id>urn:sha1:2ec56bb78237ebf58494d7a7f3262482399f0be6</id>
<content type='text'>
</content>
</entry>
</feed>
