... code you develop against Django 1.0 should continue to work against 1.1 unchanged. However, we do sometimes make backwards-incompatible changes if they're necessary to resolve bugs, and there are a handful of such (minor) changes between Django 1.0 and Djang ... generate database constraint names so that names are consistent regardless of machine word size. This change is backwards incompatible for some users. If you are using a 32-bit platform, you're off the hook; you'll observe no differences as a result of this ... ction, allowing better test performance (see test performance improvements for details). This change is slightly backwards incompatible if existing tests need to test transactional behavior, if they rely on invalid assumptions about the test environment, or ... ... tible manner per our API stability policy . However, as with previous releases, Django 1.5 ships with some minor backwards incompatible changes ; people upgrading from previous versions of Django should read that list carefully. One deprecated feature worth ... rs can now be customized per-request thanks to the new django.contrib.admin.ModelAdmin.get_list_filter() method. Backwards incompatible changes in 1.5 警告 In addition to the changes outlined in this section, be sure to review the deprecation plan for any fe ... f you haven't updated your code within the deprecation timeline for a given feature, its removal may appear as a backwards incompatible change. ALLOWED_HOSTS required in production The new ALLOWED_HOSTS setting validates the request's Host header and protect ... ... require major changes to existing applications. However, we're also releasing 0.96 now because we have a set of backwards-incompatible changes scheduled for the near future. Once completed, they will involve some code changes for application developers, so ... e current django.forms to django.oldforms . This allows you to upgrade your code now rather than waiting for the backwards-incompatible change and rushing to fix your code after the fact. Just change your import statements like this: from django import forms ... style The next official release of Django will move the current django.newforms to django.forms . This will be a backwards-incompatible change, and anyone still using the old version of django.forms at that time will need to change their import statements as ... ... res, backwards incompatibilities, and deprecated features in the 1.1 branch, see the Django 1.1 リリースノート . Backwards incompatible changes Restricted filters in admin interface The Django administrative interface, django.contrib.admin , supports filteri ... ve been explicitly allowed by the application developer using the preexisting mechanism mentioned above. This is backwards-incompatible for any users relying on the prior ability to insert arbitrary lookups. ... ... res, backwards incompatibilities, and deprecated features in the 1.1 branch, see the Django 1.1 リリースノート . Backwards incompatible changes CSRF exception for AJAX requests Django includes a CSRF-protection mechanism, which makes use of a token inserted ... ngo will now apply full CSRF validation to all requests, regardless of apparent AJAX origin. This is technically backwards-incompatible, but the security risks have been judged to outweigh the compatibility concerns in this case. Additionally, Django will no ... ... res, backwards incompatibilities, and deprecated features in the 1.2 branch, see the Django 1.2 リリースノート . Backwards incompatible changes Restricted filters in admin interface The Django administrative interface, django.contrib.admin , supports filteri ... ve been explicitly allowed by the application developer using the preexisting mechanism mentioned above. This is backwards-incompatible for any users relying on the prior ability to insert arbitrary lookups. One new feature Ordinarily, a point release would ... ... r any 1.X release. See the API stability guide for full 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 gui ... de: Porting your apps from Django 0.96 to 1.0 A complete list of backwards-incompatible changes can be found at https://code.djangoproject.com/wiki/BackwardsIncompatibleChanges . Django 1.0 の新機能 A lot ! Sin ... few minor changes, but most of the updates took place in the ORM's internals. A guide to the changes, including backwards-incompatible modifications and mentions of new features opened up by this refactoring, is available on the Django wiki . テンプレート変 ... ... r API stability policy policy. However, a handful of features have changed in ways that, for some users, will be backwards-incompatible. The big changes are: Support for Python 2.3 has been dropped. See the full notes below. The new CSRF protection framework ... ystem is removed in Django 1.4. However, upgrading to the new CSRF protection framework requires a few important backwards-incompatible changes, detailed in CSRF Protection , below. Authors of custom Field subclasses should be aware that a number of methods ... t users. Users upgrading from previous versions of Django are heavily encouraged to consult the complete list of backwards-incompatible changes and the list of deprecated features . Python バージョン間の互換性 While not a new feature, it's important to note ... ... prevented that form submission from raising a "Permission Denied" error for users without the "add" permission. Backwards incompatible change: .py-tpl files rewritten in project/app templates The addition of some Django template language syntax to the defau ... ... res, backwards incompatibilities, and deprecated features in the 1.2 branch, see the Django 1.2 リリースノート . Backwards incompatible changes CSRF exception for AJAX requests Django includes a CSRF-protection mechanism, which makes use of a token inserted ... ngo will now apply full CSRF validation to all requests, regardless of apparent AJAX origin. This is technically backwards-incompatible, but the security risks have been judged to outweigh the compatibility concerns in this case. Additionally, Django will no ... 2026年10月08日