Django model : DB
1. Each model : a single database table
2. each attribute of the model : a column in the database table
3. attribute name : the column’s name
4. type of field (e.g., CharField) : database column type (e.g., varchar)
5. instance of model : row in the database table
Aug 022009
Jun 262009
At settings.py
DATABASE_ENGINE = ’sqlite3′
DATABASE_NAME = ‘myblogsite.db’
