... "entries" ) . all () New system check framework ¶ We've added a new System check framework for detecting common problems (like invalid models) and providing hints for resolving those problems. The framework is extensible so you can add your own chec ... the QuerySet used to traverse a given relation or customize the storage location of prefetch results. This enables things like filtering prefetched relations, calling select_related() from a prefetched relation, or prefetching the same relation mult ... close () Custom lookups ¶ It is now possible to write custom lookups and transforms for the ORM. Custom lookups work just like Django's built-in lookups (e.g. lte , icontains ) while transforms are a new concept. The django.db.models.Lookup class pr ... ... "entries" ) . all () New system check framework ¶ We've added a new System check framework for detecting common problems (like invalid models) and providing hints for resolving those problems. The framework is extensible so you can add your own chec ... the QuerySet used to traverse a given relation or customize the storage location of prefetch results. This enables things like filtering prefetched relations, calling select_related() from a prefetched relation, or prefetching the same relation mult ... close () Custom lookups ¶ It is now possible to write custom lookups and transforms for the ORM. Custom lookups work just like Django's built-in lookups (e.g. lte , icontains ) while transforms are a new concept. The django.db.models.Lookup class pr ... ... on . An updated default project layout and manage.py that removes the "magic" from prior versions. And for those who don't like the new layout, you can use custom project and app templates instead! Support for in-browser testing frameworks (like Sele ... lpful FAQ . Support for in-browser testing frameworks ¶ Django 1.4 supports integration with in-browser testing frameworks like Selenium . The new django.test.LiveServerTestCase base class lets you test the interactions between your site's front and ... work as before until Django 1.6. In 1.5 it will raise DeprecationWarning ). The new recommended manage.py file should look like this: #!/usr/bin/env python import os , sys if __name__ == "__main__" : os . environ . setdefault ( "DJANGO_SETTINGS_MODUL ... ... on . An updated default project layout and manage.py that removes the "magic" from prior versions. And for those who don't like the new layout, you can use custom project and app templates instead! Support for in-browser testing frameworks (like Sele ... lpful FAQ . Support for in-browser testing frameworks ¶ Django 1.4 supports integration with in-browser testing frameworks like Selenium . The new django.test.LiveServerTestCase base class lets you test the interactions between your site's front and ... work as before until Django 1.6. In 1.5 it will raise DeprecationWarning ). The new recommended manage.py file should look like this: #!/usr/bin/env python import os , sys if __name__ == "__main__" : os . environ . setdefault ( "DJANGO_SETTINGS_MODUL ... ... r deprecation plan , and we've begun the deprecation process for some features . Python バージョン間の互換性 ¶ Django 1.6, like Django 1.5, requires Python 2.6.5 or above. Python 3 is also officially supported. We highly recommend the latest minor re ... greSQL. The blocktrans template tag now respects TEMPLATE_STRING_IF_INVALID for variables not present in the context, just like other template constructs. SimpleLazyObject s will now present more helpful representations in shell debugging situations. ... nges in transaction management may result in additional statements to create, release or rollback savepoints. This is more likely to happen with SQLite, since it didn't support savepoints until this release. If tests using assertNumQueries() fail bec ... ... r deprecation plan , and we've begun the deprecation process for some features . Python バージョン間の互換性 ¶ Django 1.6, like Django 1.5, requires Python 2.6.5 or above. Python 3 is also officially supported. We highly recommend the latest minor re ... greSQL. The blocktrans template tag now respects TEMPLATE_STRING_IF_INVALID for variables not present in the context, just like other template constructs. SimpleLazyObject s will now present more helpful representations in shell debugging situations. ... nges in transaction management may result in additional statements to create, release or rollback savepoints. This is more likely to happen with SQLite, since it didn't support savepoints until this release. If tests using assertNumQueries() fail bec ... ... butions 関連キーワード Django code How to tests write documentation contains topics run work we easy pickings Contributing like improve There several ways help クイック検索 Last update: 2026年10月08日 « previous | up | next » ... ... . Under certain circumstances, repeated iteration over querysets could leak memory - sometimes quite a bit of it. If you'd like more information, the details are in our ticket tracker (and in a related issue in Python itself). If you've noticed memor ... ly backwards compatible handful biggest introduced certain circumstances repeated iteration over querysets sometimes quite like more クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... mitting contributions 関連キーワード code How to tests write documentation contains topics work easy pickings Contributing like improve There several ways help development Tutorials tutorial whole section walks step-by-step through クイック検索 Last ... ... n . send_messages ([ email1 , email2 ]) Note that mailers.default is the default for Django's mail-sending functions. Code like this: mail . send_mail ( ... , connection = mail . get_connection ()) can be updated to: mail . send_mail ( ... ) # No con ... "BACKEND" : "path.to.custom.EmailBackend" , "OPTIONS" : { "option1" : True , "option2" : "value" , }, }, } And then use it like this: mail . send_mail ( ... , using = "custom" ) mail . mailers [ "custom" ] . send_messages ([ email1 , email2 ]) Replac ... try / except OSError: pass . Note that this ignores both transient network glitches and SMTP configuration problems (just like the existing SMTP email backend fail_silently implementation). To ignore end user typos in to addresses and other delivery ... 2026年10月08日