... Lite. If the default templates don't suit your tastes, you can use custom project and app templates . Improved transaction management ¶ Django's transaction management was overhauled. Database-level autocommit is now turned on by default. This makes transa ... ould improve performance. The existing APIs were deprecated, and new APIs were introduced, as described in the transaction management docs . Persistent database connections ¶ Django now supports reusing the same database connection for several requests. Th ... -specialized fields. They are OpenLayers-based by default, but they can be customized to use any other JS framework. check management command added for verifying compatibility ¶ A check management command was added, enabling you to verify if your current c ... ... Lite. If the default templates don't suit your tastes, you can use custom project and app templates . Improved transaction management ¶ Django's transaction management was overhauled. Database-level autocommit is now turned on by default. This makes transa ... ould improve performance. The existing APIs were deprecated, and new APIs were introduced, as described in the transaction management docs . Persistent database connections ¶ Django now supports reusing the same database connection for several requests. Th ... -specialized fields. They are OpenLayers-based by default, but they can be customized to use any other JS framework. check management command added for verifying compatibility ¶ A check management command was added, enabling you to verify if your current c ... ... ect layout and manage.py ¶ Django 1.4 ships with an updated default project layout and manage.py file for the startproject management command. These fix some issues with the previous manage.py handling of Python import paths that caused double imports, tro ... __ == "__main__" : os . environ . setdefault ( "DJANGO_SETTINGS_MODULE" , "{{ project_name }}.settings" ) from django.core.management import execute_from_command_line execute_from_command_line ( sys . argv ) {{ project_name }} should be replaced with the P ... ed to be cleaned up when switching to the new manage.py . Custom project and app templates ¶ The startapp and startproject management commands now have a --template option for specifying a path or URL to a custom app or project template. For example, Djang ... ... a send_mail() method to make it more subclass friendly. 管理コマンド ¶ Database connections are now always closed after a management command called from the command line has finished doing its job. Commands from alternate package formats like eggs are now ... ow outputs Meta.unique_together . It is also able to introspect AutoField for MySQL and PostgreSQL databases. When calling management commands with options using call_command() , the option name can match the command line option name (without the initial d ... ForeignKey.allow_unsaved_instance_assignment attribute. (This attribute was removed in 1.8.4 as it's no longer relevant.) Management commands that only accept positional arguments ¶ If you have written a custom management command that only accepts positio ... ... a send_mail() method to make it more subclass friendly. 管理コマンド ¶ Database connections are now always closed after a management command called from the command line has finished doing its job. Commands from alternate package formats like eggs are now ... ow outputs Meta.unique_together . It is also able to introspect AutoField for MySQL and PostgreSQL databases. When calling management commands with options using call_command() , the option name can match the command line option name (without the initial d ... ForeignKey.allow_unsaved_instance_assignment attribute. (This attribute was removed in 1.8.4 as it's no longer relevant.) Management commands that only accept positional arguments ¶ If you have written a custom management command that only accepts positio ... ... ect layout and manage.py ¶ Django 1.4 ships with an updated default project layout and manage.py file for the startproject management command. These fix some issues with the previous manage.py handling of Python import paths that caused double imports, tro ... __ == "__main__" : os . environ . setdefault ( "DJANGO_SETTINGS_MODULE" , "{{ project_name }}.settings" ) from django.core.management import execute_from_command_line execute_from_command_line ( sys . argv ) {{ project_name }} should be replaced with the P ... ed to be cleaned up when switching to the new manage.py . Custom project and app templates ¶ The startapp and startproject management commands now have a --template option for specifying a path or URL to a custom app or project template. For example, Djang ... ... is extensible so you can add your own checks for your own apps and libraries. To perform system checks, you use the check management command. This command replaces the older validate management command. New Prefetch object for advanced prefetch_related op ... hashed file name (e.g. css/styles.55e7cbb9ba48.css ). The staticfiles.json file is created when running the collectstatic management command and should be a less expensive alternative for remote storages such as Amazon S3. See the ManifestStaticFilesStora ... 表示形式のローカライズ for Esperanto. 管理コマンド ¶ The new --no-color option for django-admin disables the colorization of management command output. The new dumpdata --natural-foreign and dumpdata --natural-primary options, and the new use_natural_foreign ... ... er" , "mypassword" ) New (1.0): # ... same as above, but then: c . login ( username = "myuser" , password = "mypassword" ) Management commands ¶ コードから管理コマンドを実行する ¶ django.core.management has been greatly refactored. Calls to management serv ... need to use call_command . For example, if you have some test code that calls flush and load_data: from django.core import management management . flush ( verbosity = 0 , interactive = False ) management . load_data ([ "test_data" ], verbosity = 0 ) ...you ... 'll need to change this code to read: from django.core import management management . call_command ( "flush" , verbosity = 0 , interactive = False ) management . call_command ( "loaddata" , "test ... ... is extensible so you can add your own checks for your own apps and libraries. To perform system checks, you use the check management command. This command replaces the older validate management command. New Prefetch object for advanced prefetch_related op ... hashed file name (e.g. css/styles.55e7cbb9ba48.css ). The staticfiles.json file is created when running the collectstatic management command and should be a less expensive alternative for remote storages such as Amazon S3. See the ManifestStaticFilesStora ... 表示形式のローカライズ for Esperanto. 管理コマンド ¶ The new --no-color option for django-admin disables the colorization of management command output. The new dumpdata --natural-foreign and dumpdata --natural-primary options, and the new use_natural_foreign ... ... er" , "mypassword" ) New (1.0): # ... same as above, but then: c . login ( username = "myuser" , password = "mypassword" ) Management commands ¶ コードから管理コマンドを実行する ¶ django.core.management has been greatly refactored. Calls to management serv ... need to use call_command . For example, if you have some test code that calls flush and load_data: from django.core import management management . flush ( verbosity = 0 , interactive = False ) management . load_data ([ "test_data" ], verbosity = 0 ) ...you ... 'll need to change this code to read: from django.core import management management . call_command ( "flush" , verbosity = 0 , interactive = False ) management . call_command ( "loaddata" , "test ... 2026年10月08日