Step 1: Install Python (preferably Install Version 2.x, and version 3.x does not support Django currently)
I installed python2.7. Download URL:
Http://www.python.org/getit/releases/2.7/
The installation process is relatively simple.
Step 2: Install PostgreSQL and psycopy
Django supports PostgreSQL, MySQL, and SQLite databases. PostgreSQL is the recommended data. It is:
Http://www.postgresql.org/download/
Or a little more accurate one-click installation edition http://www.enterprisedb.com/products-services-training/pgdownload
I downloaded sql-9.1.1-1-windows.pdf and double-click sql-9.1.1-1-1-windows.exe.
To allow python to access the database, install psycopg, which is:
Http://www.stickpeople.com/projects/python/win-psycopg/#Version2
The installation is relatively simple.
Step 3: Install Django
1. Download Django (I downloaded a Django-1.3.1), address: https://www.djangoproject.com/download/
2: Decompress the package to the C:/python26 directory.
3: Switch to C:/python26/Django-1.3.1
Run: Python setup. py install
4: Django installation is complete.
5. Add c: \ python26 \ scripts to the environment variable path.
Step 4: Install pycharm
It seems that the installation has not been attempted. After the .exe file is downloaded, it is installed step by step;
:
Http://www.jetbrains.com/pycharm/
After installation, you only need to use it directly.
Author jetway_wmn
Reference: http://www.2cto.com/kf/201111/110478.html