sandiegopython / test-driven-django-development

This repository contains materials for a San Diego Python workshop on learning Django with test inspired development
http://test-driven-django-development.readthedocs.org/
Other
102 stars 35 forks source link

Under section, Creating a model #143

Closed riseriyo closed 9 years ago

riseriyo commented 9 years ago

Change from: First let’s create a blog entry model.... to: First, let's create a blog entry model by writing the code below in our blog/models.py file. Models are objects used to interface with your data, and are described in the Django model documentation. Our model will correspond to a database table which will hold the data for our blog entry.