... n of simplejson no longer used As explained below , Django 1.5 deprecates django.utils.simplejson in favor of Python 2.6's built-in json module. In theory, this change is harmless. Unfortunately, because of incompatibilities between versions of simplejso ... A system version of simplejson , if one was available (i.e. import simplejson works), if it was more recent than Django's built-in copy or it had the C speedups, or The json module from the standard library, if it was available (i.e. Python 2.6 or great ... er), or A built-in copy of version 2.0.7 of simplejson . In Django 1.5, those features use Python's json module, which is based on version 2. ... ... e's credentials, is also covered. Messages framework Django now includes a robust and configurable messages framework with built-in support for cookie- and session-based messaging, for both anonymous and authenticated clients. The messages framework repl ... authorization/authentication backend. See the authentication docs for more details. Relaxed requirements for usernames The built-in User model's username field now allows a wider range of characters, including @ , + , . and - characters. E メールのバック ... issues; as of Django 1.2, however, they may also cause problems when used with the new cached template loader . All of the built-in Django template tags are safe to use with the cached loader, but if you're using custom template tags that come from third ... ... continue to receive security support until the release of Django 1.8. Django 1.7 の新機能 Schema migrations Django now has built-in support for schema migrations. It allows models to be updated, changed, and deleted by creating migration files that repre ... onstruct() method if your subclass changes the method signature of __init__ in any way. If your field just inherits from a built-in Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good p ... lace to start is the built-in Django fields ( django/db/models/fields/__init__.py ) as several fields, including DecimalField and DateField , override i ... ... he initial project layout, containing a simple WSGI application that can be used for deploying with WSGI app servers . The built-in development server now supports using an externally-defined WSGI callable, which makes it possible to run runserver with t ... l add a password reset link if you include a URL with the name 'admin_password_reset' in your urls.py , so plugging in the built-in password reset mechanism and making it available is now much easier. For details, see パスワードリセット機能を追加する . T ... ... ually be removed. Multiple template engines Django 1.8 defines a stable API for integrating template backends. It includes built-in support for the Django template language and for Jinja2 . It supports rendering templates with multiple engines within the ... retrieve the object before deletion. Default autoescaping of functions in django.template.defaultfilters In order to make built-in template filters that output HTML "safe by default" when calling them in Python code, the following functions in django.te ... CONTEXT_PROCESSORS TEMPLATE_DEBUG TEMPLATE_DIRS TEMPLATE_LOADERS TEMPLATE_STRING_IF_INVALID django.core.context_processors Built-in template context processors have been moved to django.template.context_processors . django.test.SimpleTestCase.urls The at ... ... ing their own handling of the help_text attribute. Applications that use Django model form facilities together with Django built-in form fields and widgets aren't affected but need to be aware of what's described in Munging of help text of model form fie ... ... will only be issued by the browser if the policy explicitly includes a valid reporting directive. Django does not provide built-in functionality to receive, store, or process violation reports. To collect and analyze them, you must implement your own re ... ... asn't prevented a few fairly significant new features from landing, including: A framework for writing class-based views . Built-in support for using Python's logging facilities . Contrib support for easy handling of static files . Django's testing frame ... special translator comments in the source. For more information, see 文脈マーカー and 翻訳者へのコメント . Improvements to built-in template tags A number of improvements have been made to Django's built-in template tags: The include tag now accepts a wi ... technique used to implement this profanities list was woefully naive, and prone to the Scunthorpe problem . Improving the built-in filter to fix this problem would require significant effort, and since natural language processing isn't the normal domain ... ... _ascii=True to JSON serializer, or allow_unicode=False to YAML serializer. The auto-reloader no longer monitors changes in built-in Django translation files. The minimum supported version of mysqlclient is increased from 1.3.13 to 1.4.0. The undocumented ... l use cases, but if you need to continue using these tags, they can be extracted from Django to a module and included as a built-in tag in the 'builtins' option in OPTIONS . DEFAULT_HASHING_ALGORITHM transitional setting is deprecated. Features removed i ... ... ts an optional {% empty %} clause, to be displayed when {% for %} is asked to loop over an empty sequence. See the list of built-in template tags for examples of this. The dumpdata management command now accepts individual model names as arguments, allow ... 2026年10月08日