Testing local toc

This commit is contained in:
Konsta Vesterinen
2013-11-08 16:22:18 +02:00
parent 8b021ec834
commit 0e81609e03
2 changed files with 3 additions and 5 deletions

View File

@@ -1,9 +1,7 @@
SQLAlchemy-Utils
================
.. toctree::
:maxdepth: 2
.. contents::
SQLAlchemy-Utils provides custom data types and various utility functions for SQLAlchemy.

View File

@@ -93,7 +93,7 @@ Custom aggregate expressions
def net_worth(self):
return sa.Column(sa.Integer)
@aggregated_attr.expression
@net_worth.expression
def net_worth(self):
return sa.func.sum(Product.price)
@@ -177,7 +177,7 @@ Multi-level aggregates
def net_worth(self):
return sa.Column(sa.Integer)
@aggregated_attr.expression
@net_worth.expression
def net_worth(self):
return sa.func.sum(Product.price)