diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-07-05 21:38:02 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-07-05 21:38:02 +0000 |
| commit | a8a09adc5ccd704f34bbd5f176740e73278bc9c3 (patch) | |
| tree | 98c603b2583750c54b11c4e613bd415ee7c24e57 /docs/tutorials/bfgwiki/definingmodels.rst | |
| parent | 6c7d9a79a57064ea93829b5a84e6614c33a4f0ed (diff) | |
| download | pyramid-a8a09adc5ccd704f34bbd5f176740e73278bc9c3.tar.gz pyramid-a8a09adc5ccd704f34bbd5f176740e73278bc9c3.tar.bz2 pyramid-a8a09adc5ccd704f34bbd5f176740e73278bc9c3.zip | |
Delete the database.
Diffstat (limited to 'docs/tutorials/bfgwiki/definingmodels.rst')
| -rw-r--r-- | docs/tutorials/bfgwiki/definingmodels.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/tutorials/bfgwiki/definingmodels.rst b/docs/tutorials/bfgwiki/definingmodels.rst index 61eb5f112..699763ae4 100644 --- a/docs/tutorials/bfgwiki/definingmodels.rst +++ b/docs/tutorials/bfgwiki/definingmodels.rst @@ -11,6 +11,17 @@ objects. A single instance of the "Wiki" class will serve as a container for "Page" objects, which will be instances of the "Page" class. +Deleting the Database +--------------------- + +We're going to remove a Python model class. Since this class is +referred to within our persistent storage (within ``Data.fs``), we'll +have strange things happen the next time we want to visit the +application in a browser. Remove the ``Data.fs`` from the +``tutorial`` directory before proceeding any further. It's always +fine to do this as long as you don't care about the content of the +database; the database itself will be recreated as necessary. + Adding Model Classes -------------------- |
