diff --git a/accountant/api/__init__.py b/accountant/api/__init__.py index ddfb551..d3bcba0 100644 --- a/accountant/api/__init__.py +++ b/accountant/api/__init__.py @@ -19,4 +19,4 @@ from flask import Blueprint api = Blueprint('api', __name__) # Load all views. -from .controller import * +from .views import * diff --git a/accountant/api/controller/__init__.py b/accountant/api/views/__init__.py similarity index 100% rename from accountant/api/controller/__init__.py rename to accountant/api/views/__init__.py diff --git a/accountant/api/controller/accounts.py b/accountant/api/views/accounts.py similarity index 100% rename from accountant/api/controller/accounts.py rename to accountant/api/views/accounts.py diff --git a/accountant/api/controller/entries.py b/accountant/api/views/entries.py similarity index 100% rename from accountant/api/controller/entries.py rename to accountant/api/views/entries.py diff --git a/accountant/api/controller/scheduled_operations.py b/accountant/api/views/scheduled_operations.py similarity index 100% rename from accountant/api/controller/scheduled_operations.py rename to accountant/api/views/scheduled_operations.py diff --git a/accountant/api/controller/users.py b/accountant/api/views/users.py similarity index 100% rename from accountant/api/controller/users.py rename to accountant/api/views/users.py