Boston Python Workshop/Saturday/Web app project: Difference between revisions

imported>Paulproteus
imported>Paulproteus
Line 146:
The first step in writing a database Web app in Django is to define your models -- essentially, your database layout, with additional metadata.
 
=== Django Philosophy ===
 
A model is the single, definitive source of data about your data. It contains the essential fields and behaviors of the data you're storing. Django follows the DRY ("Don't Repeat Yourself") Principle. The goal is to define your data model in one place and automatically derive things from it.
Anonymous user