... y transform ( #30826 ). Prevented migrate --plan from showing that RunPython operations are irreversible when reverse_code callables don't have docstrings or when showing a forward migration plan ( #30870 ). Fixed migrations crash on PostgreSQL when addin ... ... . URLconf improvements You can now use any callable as the callback in URLconfs (previously, only strings that referred to callables were allowed). This allows a much more natural use of URLconfs. For example, this URLconf: from django.conf.urls.defaults ... urlpatterns = patterns ( "" , ( "^myview/$" , login_required ( object_list ), info )) Note that both syntaxes (strings and callables) are valid, and will continue to be valid for the foreseeable future. テストフレームワーク Django now includes a test fram ... ... る場合は、データを渡さないか None を渡します。 >>> formset = ArticleFormSet () >>> formset = ArticleFormSet ( data = None ) Callables in templates 以前は、テンプレート内の呼び出し可能な要素は、属性ルックアップによって取得された場合にのみ、変数解決処理の一部 ... ... CheckConstraint.check now supports boolean expressions. The RelatedManager.add() , create() , and set() methods now accept callables as values in the through_defaults argument. The new is_dst parameter of the QuerySet.datetimes() determines the treatment ... ... ion authentication is unconditionally enabled in Django 1.10. The default HTTP error handlers ( handler404 , etc.) are now callables instead of dotted Python path strings. Django favors callable references since they provide better performance and debuggi ... ... . Also, unlike get_initial_for_field() , BoundField.initial caches its values. This is useful especially when dealing with callables whose return values can change (e.g. datetime.now or uuid.uuid4 ): >>> import uuid >>> class UUIDCommentForm ( CommentForm ... 2026年10月08日