From 58a8ea330992c97bb0c1eae6d268acc976a72feb Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Tue, 7 Mar 2017 22:24:55 -0500 Subject: [PATCH] Fix 'relationship' alias Closes #134 --- {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/database.py b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/database.py index 18f4faf..74594ca 100644 --- a/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/database.py +++ b/{{cookiecutter.app_name}}/{{cookiecutter.app_name}}/database.py @@ -7,7 +7,7 @@ from .extensions import db # Alias common SQLAlchemy names Column = db.Column -relationship = relationship +relationship = db.relationship class CRUDMixin(object):