From 176cd25eecc70b8a4d9d5f2a9e8d3bdd08afe42e Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sat, 6 Jun 2015 14:06:10 +0200 Subject: [PATCH] Rename controller into views. --- accountant/api/__init__.py | 2 +- accountant/api/{controller => views}/__init__.py | 0 accountant/api/{controller => views}/accounts.py | 0 accountant/api/{controller => views}/entries.py | 0 accountant/api/{controller => views}/scheduled_operations.py | 0 accountant/api/{controller => views}/users.py | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename accountant/api/{controller => views}/__init__.py (100%) rename accountant/api/{controller => views}/accounts.py (100%) rename accountant/api/{controller => views}/entries.py (100%) rename accountant/api/{controller => views}/scheduled_operations.py (100%) rename accountant/api/{controller => views}/users.py (100%) 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