一万小时 / 自己的一个小项目Django Startpoint
自己的一个小项目Django Startpoint
使用Django已经有几年了,每当遇到一个新项目 便要start project等一系列的准备工作,而这些工作着实 没有一点技术含量,根据程序员美德之一的lazy,便有了 此项目。
相关资源
This project is to ease the start of a new django project which is called start point in this project.
And it should:
- easy to start from
- easy to customize
- add some useful toolkits
Features
Now the current project supports:
- django debug toolbar supports - to ease development/bugfixing
- django evolution - to migrate the models when fields changed. I prefer this to south
- basic setup: admin, static files, etc.
- a reasonable directories layout, at least for me.
Usage
To use this tool, you can:
- clone or download the source code
- cd to the root directory of the source code, and run the rename.py to change the project name to what you want. python rename.py -h will show you the usage of that script
- after syncdb and runserver you’ll see your page in http://localhost:8000/sample/ for the builtin sample app
TODO
Check To Do List here.