mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 02:53:56 +03:00
14 lines
236 B
Python
14 lines
236 B
Python
|
"""Application config module."""
|
||
|
|
||
|
from django.apps import AppConfig
|
||
|
|
||
|
from githubnavigator import container
|
||
|
from . import views
|
||
|
|
||
|
|
||
|
class WebConfig(AppConfig):
|
||
|
name = 'web'
|
||
|
|
||
|
def ready(self):
|
||
|
container.wire(modules=[views])
|