一万小时 / 自己的一个小项目Django Startpoint

远没到拼智商的时候

自己的一个小项目Django Startpoint

2012-09-17 posted in [点滴技术] with tags: [project and django]

使用Django已经有几年了,每当遇到一个新项目 便要start project等一系列的准备工作,而这些工作着实 没有一点技术含量,根据程序员美德之一的lazy,便有了 此项目。

django startpoint logo

相关资源

  1. 项目地址
  2. 提交Issue

This project is to ease the start of a new django project which is called start point in this project.

And it should:

  1. easy to start from
  2. easy to customize
  3. add some useful toolkits

Features

Now the current project supports:

  1. django debug toolbar supports - to ease development/bugfixing
  2. django evolution - to migrate the models when fields changed. I prefer this to south
  3. basic setup: admin, static files, etc.
  4. a reasonable directories layout, at least for me.

Usage

To use this tool, you can:

  1. clone or download the source code
  2. 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
  3. 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.

comments powered by Disqus
Top

Press q to hide the help

Key Action Key Action
Small Scroll j Scroll Down k Scroll Up
Big Scroll b Scroll to Bottom t Scroll to Top
Post Navigation n Next Post(if exists) p Previous Post(if exists)
Page Navigation h Go to Blog's Home Page a Go to Blog's Archive Page
Page Navigation c Go to Blog's Category Page ? Show this help
Misc s Go to Search Box q hide the help