Django 1.7 發布
Django是一個開放源代碼的Web應用框架,由Python寫成。采用了MVC的軟件設計模式,即模型M,視圖V和控制器C。
Django的主要目標是使得開發復雜的、數據庫驅動的網站變得簡單。Django注重組件的重用性和“可插拔性”,敏捷開發和DRY法則(Don't Repeat Yourself)。在Django中Python被普遍使用,甚至包括配置文件和數據模型。
Django框架的核心包括:一個 面向對象 的映射器,用作數據模型(以Python類的形式定義)和關聯性數據庫間的媒介;一個基于正則表達式的URL分發器;一個視圖系統,用于處理請求;以及一個模板系統。
核心框架中還包括:
- 一個輕量級的、獨立的Web服務器,用于開發和測試。
- 一個表單序列化及驗證系統,用于HTML表單和適于數據庫存儲的數據之間的轉換。
- 一個緩存框架,并有幾種緩存方式可供選擇。
- 中間件支持,允許對請求處理的各個階段進行干涉。
- 內置的分發系統允許應用程序中的組件采用預定義的信號進行相互間的通信。
- 一個序列化系統,能夠生成或讀取采用XML或JSON表示的Django模型實例。
- 一個用于擴展模板引擎的能力的系統。 </ul>
- A new built-in database migration system. Notes on upgrading from South (a popular third-party application providing migration functionality) are also available.
- A refactored concept of Django applications. Django applications are no longer tied to the existence of a models files, and can now specify both configuration data and code to be executed as Django starts up.
- Improvements to the model Field API to support migrations and, in the future, to enable easy addition of composite-key support to Django's ORM.
- Improvements for custom Manager and QuerySet classes, allowing reverse relationship traversal to specify the Manager to use, and creation of a Manager from a custom QuerySet class.
- A extensible system check framework which can assist developers in detecting and diagnosing errors. </ul>
- Django 1.4.15 (download 1.4.15 | 1.4.15 checksums)
- Django 1.5.10 (download 1.5.10 | 1.5.10 checksums)
- Django 1.6.7 (download 1.6.7 | 1.6.7 checksums)
It's here!
After nearly a year of development, today we're proud to announce the release of Django 1.7.
As always, the release notes cover everything in-depth, but some of the major highlights of Django 1.7 are:
And that's just the tip of the iceberg; Django 1.7 is jam-packed with useful new features and functionality, and they're all covered in the 1.7 release notes.
You can get Django 1.7 right now from our downloads page (along with checksums), or from the Python Package Index.
Bugfix releases
Alongside Django 1.7, today we are issuing bugfix releases in the 1.4, 1.5 and 1.6 series, which correct some bugs which existed after the most recent security releases.
Today's releases are:
Also, with the release of Django 1.7, Django 1.5 has reached end-of-life. As such, Django 1.5.10 is the final release of the 1.5 series. Django 1.6 will continue to receive support until the release of Django 1.8. Django 1.4 is a long-term support release, and will be supported until at least March of 2015.