Django

Code

root/django/tags/releases/0.95/docs/release_notes_0.95.txt

Revision 3488, 5.4 kB (checked in by adrian, 2 years ago)

Formatted docs/release_notes_0.95.txt in our ReST format, with titles

Line 
1 =================================
2 Django version 0.95 release notes
3 =================================
4
5
6 Welcome to the Django 0.95 release.
7
8 This represents a significant advance in Django development since the 0.91
9 release in January 2006. The details of every change in this release would be
10 too extensive to list in full, but a summary is presented below.
11
12 Suitability and API stability
13 =============================
14
15 This release is intended to provide a stable reference point for developers
16 wanting to work on production-level applications that use Django.
17
18 However, it's not the 1.0 release, and we'll be introducing further changes
19 before 1.0. For a clear look at which areas of the framework will change (and
20 which ones will *not* change) before 1.0, see the api-stability.txt file, which
21 lives in the docs/ directory of the distribution.
22
23 You may have a need to use some of the features that are marked as
24 "subject to API change" in that document, but that's OK with us as long as it's
25 OK with you, and as long as you understand APIs may change in the future.
26
27 Fortunately, most of Django's core APIs won't be changing before version 1.0.
28 There likely won't be as big of a change between 0.95 and 1.0 versions as there
29 was between 0.91 and 0.95.
30
31 Changes and new features
32 ========================
33
34 The major changes in this release (for developers currently using the 0.91
35 release) are a result of merging the 'magic-removal' branch of development.
36 This branch removed a number of constraints in the way Django code had to be
37 written that were a consequence of decisions made in the early days of Django,
38 prior to its open-source release. It's now possible to write more natural,
39 Pythonic code that works as expected, and there's less "black magic" happening
40 behind the scenes.
41
42 Aside from that, another main theme of this release is a dramatic increase in
43 usability. We've made countless improvements in error messages, documentation,
44 etc., to improve developers' quality of life.
45
46 The new features and changes introduced in 0.95 include:
47
48     * Django now uses a more consistent and natural filtering interface for
49       retrieving objects from the database.
50
51     * User-defined models, functions and constants now appear in the module
52       namespace they were defined in. (Previously everything was magically
53       transferred to the django.models.* namespace.)
54
55     * Some optional applications, such as the FlatPage, Sites and Redirects
56       apps, have been decoupled and moved into django.contrib. If you don't
57       want to use these applications, you no longer have to install their
58       database tables.
59
60     * Django now has support for managing database transactions.
61
62     * We've added the ability to write custom authentication and authorization
63       backends for authenticating users against alternate systems, such as
64       LDAP.
65
66     * We've made it easier to add custom table-level functions to models,
67       through a new "Manager" API.
68
69     * It's now possible to use Django without a database.
70
71     * It's now more explicit and natural to override save() and delete()
72       methods on models, rather than needing to hook into the pre_save() and
73       post_save() method hooks.
74
75     * Individual pieces of the framework now can be configured without
76       requiring the setting of an environment variable. This permits use of,
77       for example, the Django templating system inside other applications.
78
79     * More and more parts of the framework have been internationalized, as
80       we've expanded internationalization (i18n) support. The Django
81       codebase, including code and templates, has now been translated, at least
82       in part, into 31 languages. From Arabic to Chinese to Hungarian to Welsh,
83       it is now possible to use Django's admin site in your native language.
84
85 The number of changes required to port from 0.91-compatible code to the 0.95
86 code base are significant in some cases. However, they are, for the most part,
87 reasonably routine and only need to be done once. A list of the necessary
88 changes is described in the 'Removing The Magic`_ wiki page. There is also an
89 easy checklist_ for reference when undertaking the porting operation.
90
91 .. _Removing The Magic: http://code.djangoproject.com/wiki/RemovingTheMagic
92 .. _checklist: http://code.djangoproject.com/wiki/MagicRemovalCheatSheet1
93
94 Problem reports and getting help
95 ================================
96
97 Need help resolving a problem with Django? The documentation in the
98 distribution is also available online_ at the `Django website`_. The FAQ_
99 document is especially recommended, as it contains a number of issues that
100 come up time and again.
101
102 For more personalized help, the `django-users` mailing list is a very active
103 list, with more than 2,000 subscribers who can help you solve any sort of
104 Django problem. We recommend you search the archives first, though, because
105 many common questions appear with some regularity, and any particular problem
106 may already have been answered.
107
108 Finally, for those who prefer the more immediate feedback offered by IRC,
109 there's a #django channel or irc.freenode.net that is regularly populated by
110 Django users and developers from around the world. Friendly people are usually
111 available at any hour of the day -- to help, or just to chat.
112
113 .. _online: http://www.djangoproject.com/documentation/
114 .. _Django website: http://www.djangoproject.com/
115 .. _FAQ: http://www.djangoproject.com/documentation/faq/
116 .. _django-users: http://groups.google.com/group/django-users
117
118 Thanks for using Django!
119
120 The Django Team
121 July 2006
Note: See TracBrowser for help on using the browser.