diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-05 02:38:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-05 02:38:30 -0700 |
| commit | 536caa6e0306be956a0bb281b6370effc476d38d (patch) | |
| tree | 1af84e37e9ad7bdb445786a0345822dcdfd851f0 /docs/narr/advanced-features.rst | |
| parent | f6becd23966248fb7fc4db218258be4364902f8f (diff) | |
| parent | 086198b5db7dcb86c2b4edbc5d3610dcade0332a (diff) | |
| download | pyramid-536caa6e0306be956a0bb281b6370effc476d38d.tar.gz pyramid-536caa6e0306be956a0bb281b6370effc476d38d.tar.bz2 pyramid-536caa6e0306be956a0bb281b6370effc476d38d.zip | |
Merge pull request #3346 from stloma/one_cc
updating docs for merging cookiecutters
Diffstat (limited to 'docs/narr/advanced-features.rst')
| -rw-r--r-- | docs/narr/advanced-features.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/advanced-features.rst b/docs/narr/advanced-features.rst index 191996c27..b169aad95 100644 --- a/docs/narr/advanced-features.rst +++ b/docs/narr/advanced-features.rst @@ -51,7 +51,7 @@ This approach allows you to develop view code that is simpler, more easily under Stop Worrying About Transactions -------------------------------- -:app:`Pyramid`\ 's :term:`cookiecutter`\ s render projects that include a *transaction management* system. When you use this system, you can stop worrying about when to commit your changes, :app:`Pyramid` handles it for you. The system will commit at the end of a request or abort if there was an exception. +:app:`Pyramid`\ 's :term:`cookiecutter` renders projects that include a *transaction management* system. When you use this system, you can stop worrying about when to commit your changes, :app:`Pyramid` handles it for you. The system will commit at the end of a request or abort if there was an exception. Why is that a good thing? Imagine a situation where you manually commit a change to your persistence layer. It's very likely that other framework code will run *after* your changes are done. If an error happens in that other code, you can easily wind up with inconsistent data if you're not extremely careful. @@ -327,4 +327,4 @@ Here's an example of using :app:`Pyramid`\ 's :term:`introspector` from within a .. seealso:: - See also :ref:`using_introspection`.
\ No newline at end of file + See also :ref:`using_introspection`. |
