- Django Design Patterns and Best Practices
- Arun Ravindran
- 122字
- 2021-07-23 19:36:21
Before starting the project
While preparing a development environment, make sure that you have the following in place:
- A fresh Python virtual environment: Python 3 includes the
venv
module or you can installvirtualenv
. Both of them prevent polluting your global Python library. - Version control: Always use a version control tool such as Git or Mercurial. They are life savers. You can also make changes much more confidently and fearlessly.
- Choose a project template: Django's default project template is not the only option. Based on your needs try others such as
twoscoops
(https://github.com/twoscoops/django-twoscoops-project) oredge
(https://github.com/arocks/edge). - Deployment pipeline: I usually worry about this a bit later, but having an easy deployment process helps to show early progress. I prefer Fabric or Ansible.
推薦閱讀
- JavaScript前端開(kāi)發(fā)模塊化教程
- 數(shù)字媒體應(yīng)用教程
- 名師講壇:Java微服務(wù)架構(gòu)實(shí)戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- Amazon S3 Cookbook
- JavaScript by Example
- concrete5 Cookbook
- BIM概論及Revit精講
- 硅谷Python工程師面試指南:數(shù)據(jù)結(jié)構(gòu)、算法與系統(tǒng)設(shè)計(jì)
- Mastering ROS for Robotics Programming
- ASP.NET程序開(kāi)發(fā)范例寶典
- Python+Tableau數(shù)據(jù)可視化之美
- 零基礎(chǔ)學(xué)C語(yǔ)言第2版
- 并行編程方法與優(yōu)化實(shí)踐
- Visual Basic程序設(shè)計(jì)基礎(chǔ)
- MongoDB Administrator’s Guide