... ... details. 後方互換性のない変更 Django 1.0 has a number of backwards-incompatible changes from Django 0.96. If you have apps written against Django 0.96 that you need to port, see our detailed porting guide: Porting your apps from Django 0.96 to 1.0 A com ... red; admin definitions are now completely decoupled from model definitions (no more class Admin declaration in models!), rewritten to use Django's new form-handling library (introduced in the 0.96 release as django.newforms , and now available as simply ... Code project, Django's codebase has been refactored to remove incompatibilities with Jython , an implementation of Python written in Java, which runs Python code on the Java Virtual Machine. Django is now compatible with the forthcoming Jython 2.5 rele ... ... ke eggs are now also discovered. The new dumpdata --output option allows specifying a file to which the serialized data is written. The new makemessages --exclude and compilemessages --exclude options allow excluding specific locales from processing. co ... te 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 positional arguments and you didn't specify the args command variable, you m ... can help with autocompletion of view names, etc. So these days, the above use of the prefix arg is much more likely to be written (and is better written) as: from myapp import views urlpatterns = patterns ( "" , url ( "^$" , views . myview ), url ( "^o ... ... ... ry run mode when merging migration conflicts. When makemigrations --merge is called with verbosity=3 the migration file is written to stdout ( #24427 ). ... ... s of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, which are generated from the HTTP Host header. Django's docu ... ... curity release in the Django 1.4 series. Host header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, which are generated from the HTTP Host header. Django's docu ... ... templates can now be overridden per app or per model, you may need to rename existing templates with those names that were written for a different purpose. QuerySet.raw() now caches its results like regular querysets. Use iterator() if you don't want ca ... ching. The database router allow_relation() method is called in more cases. Improperly written routers may need to be updated accordingly. Translations are no longer deactivated before running management commands. If ... ... dgets logged invalid submitted values directly, allowing control characters (e.g. newlines or ANSI escape sequences) to be written unescaped into logs. This could enable log injection or forgery, letting attackers manipulate log appearance or structure, ... ... dgets logged invalid submitted values directly, allowing control characters (e.g. newlines or ANSI escape sequences) to be written unescaped into logs. This could enable log injection or forgery, letting attackers manipulate log appearance or structure, ... 2026年10月08日