- Django Design Patterns and Best Practices
- Arun Ravindran
- 183字
- 2021-06-25 21:31:59
Removing the magic
Due to its humble origins as an internal tool, Django had a lot of Lawrence Journal-World-specific oddities. To make Django truly general purpose, an effort dubbed Removing the Lawrence had already been underway.
However, the most significant refactoring effort that Django developers had to undertake was called Removing the Magic. This ambitious project involved cleaning up all the warts Django had accumulated over the years, including a lot of magic (an informal term for implicit features) and replacing them with a more natural and explicit Pythonic code. For example, the model classes used to be imported from a magic module called django.models.*, rather than being directly imported from the models.py module they were defined in.
At that time, Django had about a hundred thousand lines of code, and it was a significant rewrite of the API. On May 1, 2006, these changes, almost the size of a small book, were integrated into Django's development version trunk and released as Django release 0.95. This was a significant step toward the Django 1.0 milestone.
- The Complete Rust Programming Reference Guide
- Django+Vue.js商城項目實戰
- Learning Apex Programming
- Learn Type:Driven Development
- 軟件架構設計:大型網站技術架構與業務架構融合之道
- C#編程入門指南(上下冊)
- React Native Cookbook
- 快人一步:系統性能提高之道
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(1)
- Yii Project Blueprints
- Arduino計算機視覺編程
- Maker基地嘉年華:玩轉樂動魔盒學Scratch
- 單片機原理及應用技術
- C編程技巧:117個問題解決方案示例
- SQL Server 入門很輕松(微課超值版)