Django 0.95 へようこそ!
このリリースでは、2006年1月にリリースされた 0.91 から Django の開発が大幅に進んでいます。このリリースのすべての変更点を詳細に書くことはできませんが、以下にその要点を列挙します。
This release is intended to provide a stable reference point for developers wanting to work on production-level applications that use Django.
However, it's not the 1.0 release, and we'll be introducing further changes
before 1.0. For a clear look at which areas of the framework will change (and
which ones will not change) before 1.0, see the api-stability.txt
file,
which lives in the docs/ directory of the distribution.
You may have a need to use some of the features that are marked as "subject to API change" in that document, but that's OK with us as long as it's OK with you, and as long as you understand APIs may change in the future.
Fortunately, most of Django's core APIs won't be changing before version 1.0. There likely won't be as big of a change between 0.95 and 1.0 versions as there was between 0.91 and 0.95.
The major changes in this release (for developers currently using the 0.91 release) are a result of merging the 'magic-removal' branch of development. This branch removed a number of constraints in the way Django code had to be written that were a consequence of decisions made in the early days of Django, prior to its open-source release. It's now possible to write more natural, Pythonic code that works as expected, and there's less "black magic" happening behind the scenes.
Aside from that, another main theme of this release is a dramatic increase in usability. We've made countless improvements in error messages, documentation, etc., to improve developers' quality of life.
The new features and changes introduced in 0.95 include:
django.models.*
namespace.)django.contrib
. If you don't
want to use these applications, you no longer have to install their
database tables.save()
and delete()
methods on models, rather than needing to hook into the pre_save()
and
post_save()
method hooks.The number of changes required to port from 0.91-compatible code to the 0.95 code base are significant in some cases. However, they are, for the most part, reasonably routine and only need to be done once. A list of the necessary changes is described in the Removing The Magic wiki page. There is also an easy checklist for reference when undertaking the porting operation.
Need help resolving a problem with Django? The documentation in the distribution is also available online at the Django website. The FAQ document is especially recommended, as it contains a number of issues that come up time and again.
For more personalized help, the django-users mailing list is a very active list, with more than 2,000 subscribers who can help you solve any sort of Django problem. We recommend you search the archives first, though, because many common questions appear with some regularity, and any particular problem may already have been answered.
Finally, for those who prefer the more immediate feedback offered by IRC,
there's a #django
channel on irc.libera.chat
that is regularly
populated by Django users and developers from around the world. Friendly people
are usually available at any hour of the day -- to help, or just to chat.
Thanks for using Django!
The Django Team July 2006
2022年6月01日