From 9116b57de34fdc0ae49cb697d12cf496ee2651c7 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Tue, 5 Apr 2016 00:26:32 +0300 Subject: [PATCH] Update movie_lister example --- examples/stories/movie_lister/app_csv.py | 8 ++++---- examples/stories/movie_lister/app_db.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/stories/movie_lister/app_csv.py b/examples/stories/movie_lister/app_csv.py index 3530ccbc..a3ff0826 100644 --- a/examples/stories/movie_lister/app_csv.py +++ b/examples/stories/movie_lister/app_csv.py @@ -9,15 +9,15 @@ This mini application uses ``movies`` library, that is configured to work with csv file movies database. """ +from dependency_injector import catalogs +from dependency_injector import providers +from dependency_injector import injections + from movies import MoviesModule from movies import finders from settings import MOVIES_CSV_PATH -from dependency_injector import catalogs -from dependency_injector import providers -from dependency_injector import injections - @catalogs.override(MoviesModule) class MyMoviesModule(catalogs.DeclarativeCatalog): diff --git a/examples/stories/movie_lister/app_db.py b/examples/stories/movie_lister/app_db.py index 3fb919ba..20dfa522 100644 --- a/examples/stories/movie_lister/app_db.py +++ b/examples/stories/movie_lister/app_db.py @@ -11,15 +11,15 @@ sqlite movies database. import sqlite3 +from dependency_injector import catalogs +from dependency_injector import providers +from dependency_injector import injections + from movies import MoviesModule from movies import finders from settings import MOVIES_DB_PATH -from dependency_injector import catalogs -from dependency_injector import providers -from dependency_injector import injections - class ApplicationModule(catalogs.DeclarativeCatalog): """Catalog of application component providers."""