Metadata-Version: 2.1
Name: django-autodisco
Version: 0.1.0
Summary: Django autodiscover modules utils
Home-page: https://github.com/etchegom/django-fsm-admin-lite
License: MIT
Keywords: django,fsm
Author: Matthieu Etchegoyen
Author-email: etchegom@gmail.com
Maintainer: Matthieu Etchegoyen
Maintainer-email: etchegom@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Framework :: Django :: 4
Classifier: Framework :: Django :: 4.0
Classifier: Framework :: Django :: 4.1
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: django (>=3.2,<5.0)
Project-URL: Documentation, https://github.com/etchegom/django-fsm-admin-lite
Project-URL: Repository, https://github.com/etchegom/django-fsm-admin-lite
Description-Content-Type: text/markdown

# 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

```bash
python -m pip install 'django-autodisco @ git+https://github.com/etchegom/django-autodisco.git'
```

---

## Usage

Add the `autodisco` django app:

```python
INSTALLED_APPS = [
    ...
    "autodisco",
]
```

Define the modules to auto-load in settings:

```python

AUTODISCO_MODULES = [
    "receivers",
    ...
]

```

---

## Run example

```bash
make example
```

---

## Run tests

```bash
make tests
```

