Document directory
- Steps
- Trouble Shooting
- Package List
Steps
- Download and install Python
- Download and install setuptool, please choose right setuptool version which matches python version
- Make a virtualenv
- Install pip
- Make a requirement file, a file indicates packages required by your virtual environment, save it to requirement.txt and put it in directory yourenvname
Django-pagination
Django-registration
Django
South
Flup
- Install packages required
- Yourenvname> pip install-r requirement.txt
- Start your django project and django application
- Yourenvname> django-admin.py startproject yourprojectname
- Yourprojectname> django-admin.py mange. py yourappname
- Yourprojectname> python mange. py syncdb
Trouble Shooting
<> </>
| Action |
Error |
Solution |
| Run django-admin.py |
Type 'django-admin. py help' for usage |
Modify registry of file association: "C: \ Python25 \ python.exe" "% 1" % * |
| |
|
|
Package List
Previusly, some packages I recommend are listed in requirement file. Forget about my recommendation, you can have any package you want in it. Here is description for some package.
| Name |
Description |
| Django-registration |
This application enables a common user-registration workflow: registration with a email Various methods of extending and customizing the registration process are also provided. |
| Django-pagination |
A set of utilities for creating robust pagination tools throughout a django application. |
| South |
South, likes migration of Ruby on Rails, is a tool to provide consistent, easy-to-use and database-agnostic migrations for Django applications. |
| Flup |
Make your django web site support FastCGI, SCGI and AJP and work with nginx, apache and lighttpd |