2008-07-22 09:27:16 +08:00
|
|
|
================================
|
|
|
|
Django 1.0 alpha release notes
|
|
|
|
================================
|
|
|
|
|
|
|
|
Welcome to Django 1.0 alpha!
|
|
|
|
|
|
|
|
This is the first in a series of preview/development releases leading
|
|
|
|
up to the eventual release of Django 1.0, currently scheduled to take
|
|
|
|
place in early September 2008. This release is primarily targeted at
|
|
|
|
developers who are interested in testing the Django codebase and
|
|
|
|
helping to identify and resolve bugs prior to the final 1.0 release.
|
|
|
|
|
|
|
|
As such, this release is *not* intended for production use, and any
|
|
|
|
such use is strongly discouraged.
|
|
|
|
|
|
|
|
|
|
|
|
What's new in Django 1.0 alpha
|
|
|
|
==============================
|
|
|
|
|
|
|
|
Django's development trunk has been the site of nearly constant
|
|
|
|
activity over the past year, with several major new features landing
|
|
|
|
since the 0.96 release. Some of the highlights include:
|
|
|
|
|
|
|
|
Refactored admin application (newforms-admin)
|
|
|
|
The Django administrative interface (``django.contrib.admin``) has
|
|
|
|
been completely refactored; 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 ``django.forms``)
|
|
|
|
and redesigned with extensibility and customization in mind. Full
|
|
|
|
documentation for the admin application is available online in the
|
2008-07-22 10:02:40 +08:00
|
|
|
official Django documentation:
|
2008-09-03 00:42:13 +08:00
|
|
|
|
2011-10-10 23:32:01 +08:00
|
|
|
* :doc:`admin reference </ref/contrib/admin/index>`
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
Improved Unicode handling
|
|
|
|
Django's internals have been refactored to use Unicode throughout;
|
|
|
|
this drastically simplifies the task of dealing with
|
|
|
|
non-Western-European content and data in Django. Additionally,
|
2008-07-22 10:33:16 +08:00
|
|
|
utility functions have been provided to ease interoperability with
|
2008-07-22 09:27:16 +08:00
|
|
|
third-party libraries and systems which may or may not handle
|
|
|
|
Unicode gracefully. Details are available in Django's
|
2008-07-22 10:02:40 +08:00
|
|
|
Unicode-handling documentation:
|
2008-09-03 00:42:13 +08:00
|
|
|
|
2011-10-10 23:32:01 +08:00
|
|
|
* :doc:`unicode reference </ref/unicode>`
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
An improved Django ORM
|
|
|
|
Django's object-relational mapper -- the component which provides
|
|
|
|
the mapping between Django model classes and your database, and
|
|
|
|
which mediates your database queries -- has been dramatically
|
|
|
|
improved by a massive refactoring. For most users of Django this
|
|
|
|
is backwards-compatible; the public-facing API for database
|
|
|
|
querying underwent a 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
|
2008-07-22 10:02:40 +08:00
|
|
|
wiki:
|
2011-10-10 23:32:01 +08:00
|
|
|
|
2012-03-14 01:53:31 +08:00
|
|
|
* https://code.djangoproject.com/wiki/QuerysetRefactorBranch
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
Automatic escaping of template variables
|
|
|
|
To provide improved security against cross-site scripting (XSS)
|
|
|
|
vulnerabilities, Django's template system now automatically
|
2008-07-22 10:33:16 +08:00
|
|
|
escapes the output of variables. This behavior is configurable,
|
2008-07-22 09:27:16 +08:00
|
|
|
and allows both variables and larger template constructs to be
|
|
|
|
marked as safe (requiring no escaping) or unsafe (requiring
|
|
|
|
escaping). A full guide to this feature is in the documentation
|
2008-09-03 00:42:13 +08:00
|
|
|
for the :ttag:`autoescape` tag.
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
There are many more new features, many bugfixes and many enhancements
|
2008-07-22 10:33:16 +08:00
|
|
|
to existing features from previous releases. The ``newforms`` library,
|
2008-07-22 09:27:16 +08:00
|
|
|
for example, has undergone massive improvements including several
|
|
|
|
useful add-ons in ``django.contrib`` which complement and build on
|
|
|
|
Django's form-handling capabilities, and Django's file-uploading
|
|
|
|
handlers have been refactored to allow finer-grained control over the
|
|
|
|
uploading process as well as streaming uploads of large files.
|
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
Along with these improvements and additions, we've made a number of
|
2014-04-23 07:05:14 +08:00
|
|
|
backwards-incompatible changes to the framework, as features have been
|
2008-07-22 09:27:16 +08:00
|
|
|
fleshed out and APIs have been finalized for the 1.0 release. A
|
|
|
|
complete guide to these changes will be available as part of the final
|
|
|
|
Django 1.0 release, and a comprehensive list of backwards-incompatible
|
|
|
|
changes is also available on the Django wiki for those who want to
|
2008-07-22 10:02:40 +08:00
|
|
|
begin developing and testing their upgrade process:
|
2008-09-03 00:42:13 +08:00
|
|
|
|
2012-03-14 01:53:31 +08:00
|
|
|
* https://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
The Django 1.0 roadmap
|
|
|
|
======================
|
|
|
|
|
|
|
|
One of the primary goals of this alpha release is to focus attention
|
|
|
|
on the remaining features to be implemented for Django 1.0, and on the
|
2008-07-22 10:33:16 +08:00
|
|
|
bugs that need to be resolved before the final release. Following
|
2008-07-22 09:27:16 +08:00
|
|
|
this release, we'll be conducting a series of sprints building up to a
|
2008-07-22 10:33:16 +08:00
|
|
|
series of beta releases and a release-candidate stage, followed soon
|
|
|
|
after by Django 1.0. The timeline is projected to be:
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
* August 1, 2008: Sprint (based in Washington, DC, and online).
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
* August 5, 2008: Django 1.0 beta 1 release. This will also constitute
|
2008-07-22 10:33:16 +08:00
|
|
|
the feature freeze for 1.0. Any feature to be included in 1.0 must
|
2008-07-22 09:27:16 +08:00
|
|
|
be completed and in trunk by this time.
|
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
* August 8, 2008: Sprint (based in Lawrence, KS, and online).
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
* August 12, 2008: Django 1.0 beta 2 release.
|
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
* August 15, 2008: Sprint (based in Austin, TX, and online).
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
* August 19, 2008: Django 1.0 release candidate 1.
|
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
* August 22, 2008: Sprint (based in Portland, OR, and online).
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
* August 26, 2008: Django 1.0 release candidate 2.
|
|
|
|
|
|
|
|
* September 2, 2008: Django 1.0 final release. The official Django 1.0
|
|
|
|
release party will take place during the first-ever DjangoCon, to be
|
2008-07-22 10:33:16 +08:00
|
|
|
held in Mountain View, CA, September 6-7.
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
Of course, like any estimated timeline, this is subject to change as
|
|
|
|
requirements dictate. The latest information will always be available
|
2008-07-22 10:02:40 +08:00
|
|
|
on the Django project wiki:
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2012-03-14 01:53:31 +08:00
|
|
|
* https://code.djangoproject.com/wiki/VersionOneRoadmap
|
2008-07-22 09:27:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
What you can do to help
|
|
|
|
=======================
|
|
|
|
|
|
|
|
In order to provide a high-quality 1.0 release, we need your
|
|
|
|
help. Although this alpha release is, again, *not* intended for
|
|
|
|
production use, you can help the Django team by trying out the alpha
|
|
|
|
codebase in a safe test environment and reporting any bugs or issues
|
|
|
|
you encounter. The Django ticket tracker is the central place to
|
2008-07-22 10:33:16 +08:00
|
|
|
search for open issues:
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2012-03-14 01:53:31 +08:00
|
|
|
* https://code.djangoproject.com/timeline
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
Please open new tickets if no existing ticket corresponds to a problem
|
|
|
|
you're running into.
|
|
|
|
|
2008-07-22 09:27:16 +08:00
|
|
|
Additionally, discussion of Django development, including progress
|
|
|
|
toward the 1.0 release, takes place daily on the django-developers
|
2008-07-22 10:02:40 +08:00
|
|
|
mailing list:
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2011-10-10 23:32:01 +08:00
|
|
|
* http://groups.google.com/group/django-developers
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
...and in the ``#django-dev`` IRC channel on ``irc.freenode.net``. If
|
2008-07-22 09:27:16 +08:00
|
|
|
you're interested in helping out with Django's development, feel free
|
2008-07-22 10:33:16 +08:00
|
|
|
to join the discussions there.
|
|
|
|
|
|
|
|
Django's online documentation also includes pointers on how to
|
|
|
|
contribute to Django:
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2011-10-10 23:32:01 +08:00
|
|
|
* :doc:`contributing to Django </internals/contributing/index>`
|
2008-07-22 09:27:16 +08:00
|
|
|
|
2008-07-22 10:33:16 +08:00
|
|
|
Contributions on any level -- developing code, writing
|
|
|
|
documentation or simply triaging tickets and helping to test proposed
|
|
|
|
bugfixes -- are always welcome and appreciated.
|