summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/basiclayout.rst
diff options
context:
space:
mode:
authorChris Shenton <chris@koansys.com>2012-03-13 15:56:42 -0700
committerChris Shenton <chris@koansys.com>2012-03-13 15:56:42 -0700
commit1e5ba8a07c583073f1d885156c92a266ceb8dce9 (patch)
tree025a05d9a3970407b9dc03e5fb645a8de8792c70 /docs/tutorials/wiki2/basiclayout.rst
parent352f6adf5e55b1c2f4a0332056a6ef31984b2d30 (diff)
downloadpyramid-1e5ba8a07c583073f1d885156c92a266ceb8dce9.tar.gz
pyramid-1e5ba8a07c583073f1d885156c92a266ceb8dce9.tar.bz2
pyramid-1e5ba8a07c583073f1d885156c92a266ceb8dce9.zip
Show modification to scripts/populate.py to accept memory DB URI
The text didn't describe editing the populate.py to accept an optional ``settings`` argument, which _callFUT() in tests.py passed in. This is used to specify a memory-backed SQLite DB which we can wipe-n-load during testing. Show how to replace main() in populate.py per our source code to accept this argument, and use it to set the DB URI; it also uses our Page model.
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
0 files changed, 0 insertions, 0 deletions