Tony Tan tonytan748.github.io
1.

The Samplest Django Project

Create a Django project in a python file project_name.py 12345678910111213141516171819202122232425262728import osimport sysBASE_PATH = os.path.dirname(__file__)from django.conf ...
2.

Dajngo Episode 3 Introduction to South Migrations

Introduction to South Migrations Install SOUTH: pip install South vim settings.py In "INSTALLED_APP" Add 'south', python manage.py syncdb Create a new app. python man...
3.

Django Episode 5 RSS With the Syndication Framework

RSS With the Syndication Framework Create feed.py vim post/feed.py from django.contrib.syndication.views import Feed from post.models import * class LastestPostFeed(Feed): ...