- Learning Website Development with Django
- Ayman Hourieh
- 199字
- 2021-07-02 11:41:16
Summary
In this chapter, we have prepared our development environment, created our first project, and learned how to launch the Django development server. We are now ready to start building our social bookmarking application!
Here is a quick summary of the Django features covered in this chapter:
- Here is a quick summary of the Django features covered in this chapter:
- Django can be downloaded from the official Django website at http://www.djangoproject.com/. Given that it is written in Python, the same package works on all major operating systems.
- To start a new Django project, issue the following command:
$ django-admin.py startproject <project-name>
- To create database tables, issue the following command:
$ python manage.py syncdb
- To start the development server, issue the following command:
$ python manage.py runserver
- Django project settings are stored in
settings.py
. This file is a regular Python source file that can be edited using any source code editor. To change a variable, simply assign the desired value to it.
The next chapter takes you through a tour of the main Django components and develops a working prototype for our bookmark sharing application. It's going to be a fun chapter with many new things to learn, so keep reading!
推薦閱讀
- RAW攝影后期從入門到精通:Photoshop+Lightroom雙修精解
- PS職場達(dá)人煉成記:人人都能學(xué)會的Photoshop辦公設(shè)計技巧
- Creo 6.0快速入門、進(jìn)階與精通(升級版)
- Photoshop 平面廣告設(shè)計從入門到精通
- 中文版3ds Max 2016實用教程
- Creo 4.0從入門到精通
- Photoshop CS6完美創(chuàng)意設(shè)計:不一樣的圖像藝術(shù)處理
- Photoshop+AE UI動效設(shè)計從新手到高手
- CAD/CAE技術(shù)應(yīng)用
- 電腦寫作與定制五筆(第2版)
- 選擇的藝術(shù):Photoshop圖像處理深度剖析(第3版)
- Microsoft Dynamics Sure Step 2010
- Premiere視頻編輯案例教程:Premiere Pro 2020(微課版·第2版)
- 中文版CATIA V5 技術(shù)大全
- Photoshop 圖形圖像處理