File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 55server = Server ()
66server .watch (
77 '**/*.rst' ,
8- shell ('cd .. && make html' )
8+ shell ('make html' )
99)
10- server .serve (root = '../ build/html' )
10+ server .serve (root = 'build/html' )
Original file line number Diff line number Diff line change 22Transactions
33============
44
5- Transactions allow multiple queries to be comitted only once successful.
5+ Transactions allow multiple queries to be committed only once successful.
66
77This is useful for things like migrations, where you can't have it fail in an inbetween state.
88
99Usage
1010=====
1111
12- .. code::python
12+ .. code-block :: python
13+
1314 transaction = Pokemon.Meta.db.transaction()
1415 transaction.add(Trainer.create())
1516 transaction.add(Match.create())
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Welcome to Aragorm's documentation!
1717 aragorm/supported-databases
1818 aragorm/tests
1919 aragorm/tuning-postgres
20+ aragorm/transactions
2021
2122Indices and tables
2223==================
You can’t perform that action at this time.
0 commit comments