semvec/pypi-packages huggingface dataset:
django-command-debug 2021.8.20
Django management command debug
License: Unlicense

[![](https://img.shields.io/badge/released-2021.8.20-green.svg?longCache=True)](https://pypi.org/project/django-command-debug/)
[![](https://img.shields.io/badge/license-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)

### Installation
```bash
$ pip install django-command-debug
```

### How it works
+   `DebugCommand` command class or `DebugMixin` command mixin
+   admin interface

#### `settings.py`
```python
INSTALLED_APPS+=['django_command_debug']
```

#### `migrate`
```bash
$ python manage.py migrate
```

### Examples
`DebugCommand`
```python
from django_command_debug.management.base import DebugCommand

class Command(DebugCommand):
    def handle(self, *args, **options):
        self.debug('message')
```

`DebugMixin`
```python
from django.core.management.base import BaseCommand
from django_command_debug.management.base import DebugMixin

class Command(DebugMixin,BaseCommand):
    def handle(self, *args, **options):
        self.debug('message')
```