Python & Django
01 MySQL
- Setup Mysql
- Create Database
- Grant new user
01 PostgreSQL
8.4 这个是最新版本
- Set up & Configure
- Basic operation
- Python Connector for PostgreSQL
02 Install Django
- Download Source
- Install Django
- Linux/Mac Privileges Issues
- django-admin.py
03 Django Tutorial
- Start Project
- Admin Console
- MySite
- Creation of a basic Django Project
- Automatically generated admin site
- Creating public interface
- Form processing & Cutting down our code
最近研究发现Django多用PostgreSQL数据库,所以,需要修改上述内容。
最新Django相关的图书为:The Definitive Guide to Django 2nd Edition.pdf
可以在itpub搜索到。
为什么学习Django
1. Python不但轻量,而且不乏企业支持
2. 性能好
3. 自己喜欢
希望我自己的学习过程能够给大家带来一些思想和技术上的分享。
from django.http import HttpResponse # a view is just a python function # a view method must to two things # 1. take an HttpRequest as its first parameter # 2. return a instance of HttpResponse def hello(request) return HttpResponse("Hello World");