From 0a20b8a472b8c1167040036a97be74c02ff133f2 Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Mon, 25 Apr 2016 16:45:56 +0300 Subject: [PATCH] Fix typos --- sqlalchemy_utils/functions/database.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sqlalchemy_utils/functions/database.py b/sqlalchemy_utils/functions/database.py index 6557563..2ca4a63 100644 --- a/sqlalchemy_utils/functions/database.py +++ b/sqlalchemy_utils/functions/database.py @@ -250,7 +250,9 @@ def has_index(column_or_constraint): has_index(table.c.id) # True - This function supports foreign key constraints as well: + This function supports foreign key constraints as well + + :: class User(Base): @@ -344,7 +346,9 @@ def has_unique_index(column_or_constraint): has_unique_index(table.c.id) # True - This function supports foreign key constraints as well: + This function supports foreign key constraints as well + + :: class User(Base):