Update movie_lister example

This commit is contained in:
Roman Mogilatov 2016-04-05 00:26:32 +03:00
parent c6e9dbd84c
commit 9116b57de3
2 changed files with 8 additions and 8 deletions

View File

@ -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):

View File

@ -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."""