Django's equivalent to Rails 5 min blog demo
Some how some way I'm trying to get out of Ruby because things are just working and I don't necessarily know why. I'm taking the forest for the trees approach by which I mean I'm trying to get perspective by learning a new language; Python/Django seems to be the right way to go.
The first 开发者_如何转开发application I built in Rails was from the 5 min blog screencast by DHH and form there I was able to get by. I'm looking for a relevant resource for learning a Django application in particular I"m looking for a simple blog application.
With a little bit of google-fu I turned up this relatively recent example:
- Django Tutorial: A Simple Blog, Part 1
- Django Tutorial: A Simple Blog, Part 2
I would check out the official "writing your first..." tutorial on djangoproject.com: http://docs.djangoproject.com/en/dev/intro/tutorial01/
It's great and gets you started in no time.
The Django site provides a tutorial on how to build a poll, which can be easily modified to build a blog. James Bennett's book, Practical Django Projects, also explains in significant detail how to build a blog/cms.
精彩评论