官术网_书友最值得收藏!

Introduction

In this chapter, we will see a few good practices when starting a new project with Django 1.8 on Python 2.7 or Python 3. Some of the tricks introduced here are the best ways to deal with the project layout, settings, and configurations. However, for some tricks, you might have to find some alternatives online or in other books about Django. Feel free to evaluate and choose the best bits and pieces for yourself while digging deep into the Django world.

I am assuming that you are already familiar with the basics of Django, Subversion and Git version control, MySQL and PostgreSQL databases, and command-line usage. Also, I am assuming that you are probably using a Unix-based operating system, such as Mac OS X or Linux. It makes more sense to develop with Django on Unix-based platforms as the websites will most likely be published on a Linux server, therefore, you can establish routines that work the same while developing as well as deploying. If you are locally working with Django on Windows, the routines are similar; however, they are not always the same.

主站蜘蛛池模板: 潮州市| 尼木县| 介休市| 铜川市| 堆龙德庆县| 乌海市| 灵寿县| 新兴县| 鱼台县| 池州市| 呼和浩特市| 扬中市| 临城县| 西林县| 新郑市| 平湖市| 仁寿县| 甘南县| 宜都市| 六盘水市| 辽阳市| 临洮县| 泰宁县| 林州市| 雅安市| 荆门市| 岱山县| 永吉县| 广宗县| 海口市| 嘉善县| 深水埗区| 嵩明县| 营口市| 巴塘县| 绥化市| 南京市| 武威市| 永嘉县| 崇信县| 从化市|