... キーがわかりやすく紹介されています。 シンプルなジェネリックビュー ¶ View ¶ class View ¶ 属性 (とオプションのアクセサ): http_method_names メソッド as_view() dispatch() head() http_method_not_allowed() setup() TemplateView ¶ class TemplateView ¶ 属性 (とオ ... プションのアクセサ): content_type extra_context http_method_names response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] メソッド as_view() di ... spatch() get() get_context_data() head() http_method_not_allowed() render_to_response() setup() RedirectView ¶ class RedirectView ¶ 属性 (とオプションのアクセサ): http_method_ ... ... e respectively. These new signals have slightly different arguments. Check the documentation for details. The allow_syncdb method on database routers is now called allow_migrate , but still performs the same function. Routers with allow_syncdb methods ... will still work, but that method name is deprecated and you should change it as soon as possible (nothing more than renaming is required). initial_data fix ... s. Improvements thus far include: Applications can run code at startup, before Django does anything else, with the ready() method of their configuration. Application labels are assigned correctly to models even when they're defined outside of models.py ... ... キーがわかりやすく紹介されています。 シンプルなジェネリックビュー ¶ View ¶ class View ¶ 属性 (とオプションのアクセサ): http_method_names メソッド as_view() dispatch() head() http_method_not_allowed() setup() TemplateView ¶ class TemplateView ¶ 属性 (とオ ... プションのアクセサ): content_type extra_context http_method_names response_class [ render_to_response() ] template_engine template_name [ get_template_names() ] メソッド as_view() di ... spatch() get() get_context_data() head() http_method_not_allowed() render_to_response() setup() RedirectView ¶ class RedirectView ¶ 属性 (とオプションのアクセサ): http_method_ ... ... e respectively. These new signals have slightly different arguments. Check the documentation for details. The allow_syncdb method on database routers is now called allow_migrate , but still performs the same function. Routers with allow_syncdb methods ... will still work, but that method name is deprecated and you should change it as soon as possible (nothing more than renaming is required). initial_data fix ... s. Improvements thus far include: Applications can run code at startup, before Django does anything else, with the ready() method of their configuration. Application labels are assigned correctly to models even when they're defined outside of models.py ... ... mprovements. Tests are now run within two nested atomic() blocks: one for the whole class and one for each test. The class method TestCase.setUpTestData() adds the ability to set up test data at the class level. Using this technique can speed up the te ... rformed once for the whole TestCase . マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin now has a has_module_permission() method to allow limiting access to the module on the admin index page. InlineModelAdmin now has an attribute show_change_link tha ... rol whether or not the full count of objects should be displayed on a filtered admin page. The AdminSite.password_change() method now has an extra_context parameter. You can now control who may login to the admin site by overriding only AdminSite.has_p ... ... mprovements. Tests are now run within two nested atomic() blocks: one for the whole class and one for each test. The class method TestCase.setUpTestData() adds the ability to set up test data at the class level. Using this technique can speed up the te ... rformed once for the whole TestCase . マイナーな機能 ¶ django.contrib.admin ¶ ModelAdmin now has a has_module_permission() method to allow limiting access to the module on the admin index page. InlineModelAdmin now has an attribute show_change_link tha ... rol whether or not the full count of objects should be displayed on a filtered admin page. The AdminSite.password_change() method now has an extra_context parameter. You can now control who may login to the admin site by overriding only AdminSite.has_p ... ... ア語の文字をサポートするようになりました。 django.contrib.admindocs ¶ The model section of the admindocs now also describes methods that take arguments, rather than ignoring them. django.contrib.auth ¶ The default iteration count for the PBKDF2 password ... tial index の作成や reprojection をサポートします。spatial querying はまだサポートしていません。 The new GDALRaster.warp() method allows warping a raster by specifying target raster properties such as origin, width, height, or pixel size (among others) ... . The new GDALRaster.transform() method allows transforming a raster into a different spatial reference system by specifying a target srid . 新しい GeoIP2 クラスが ... ... ア語の文字をサポートするようになりました。 django.contrib.admindocs ¶ The model section of the admindocs now also describes methods that take arguments, rather than ignoring them. django.contrib.auth ¶ The default iteration count for the PBKDF2 password ... tial index の作成や reprojection をサポートします。spatial querying はまだサポートしていません。 The new GDALRaster.warp() method allows warping a raster by specifying target raster properties such as origin, width, height, or pixel size (among others) ... . The new GDALRaster.transform() method allows transforming a raster into a different spatial reference system by specifying a target srid . 新しい GeoIP2 クラスが ... ... mpatible changes, detailed in CSRF Protection , below. Authors of custom Field subclasses should be aware that a number of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags h ... required() , and permission_required() , decorators from django.contrib.auth only apply to functions and no longer work on methods. There's a simple one-line fix detailed below . Again, these are just the big features that will affect the most users. U ... bility to use more than one database in your Django project. Queries can be issued at a specific database with the using() method on QuerySet objects. Individual objects can be saved to a specific database by providing a using argument when you call sa ... ... mpatible changes, detailed in CSRF Protection , below. Authors of custom Field subclasses should be aware that a number of methods have had a change in prototype, detailed under get_db_prep_*() methods on Field , below. The internals of template tags h ... required() , and permission_required() , decorators from django.contrib.auth only apply to functions and no longer work on methods. There's a simple one-line fix detailed below . Again, these are just the big features that will affect the most users. U ... bility to use more than one database in your Django project. Queries can be issued at a specific database with the using() method on QuerySet objects. Individual objects can be saved to a specific database by providing a using argument when you call sa ... 2026年10月08日