django-autodisco 0.1.1

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangoautodisco 0.1.1

django-autodisco
Micro django lib that helps auto-loading app modules.
Why this lib?
I am used to grouping signal connectors and receivers in a module called receivers.py. I didn't want add the module import in the ready method of all the apps anymore.

Installation
pip install django-autodisco

Or, for the latest git version
python -m pip install 'django-autodisco @ git+https://github.com/etchegom/django-autodisco.git'


Usage
Add the autodisco django app:
INSTALLED_APPS = [
...
"autodisco",
]

Define the modules to auto-load in settings:
AUTODISCO_MODULES = [
"receivers",
...
]


Run example
make example


Run tests
make tests

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.