Skip to content

Commit fea2f4c

Browse files
Docs
1 parent cdd4fb8 commit fea2f4c

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

CONTRIBUTING.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
### Adding migrations
2+
3+
To generate migrations:
4+
```bash
5+
export DJANGO_SETTINGS_MODULE=moonsheep.tests.migrations_settings
6+
django-admin makemigrations moonsheep
7+
```

moonsheep/tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from .mapper import klass_from_name
66
from .verifiers import MIN_CONFIDENCE, DEFAULT_DICT_VERIFIER
7-
from .registry import register_task # pylint: disable=unused-import # For easier import in apps
7+
from .registry import register_task # NOQA # pylint: disable=unused-import # For easier import in apps
88
from .settings import (
99
TASK_SOURCE, RANDOM_SOURCE
1010
)
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from .test_settings import * #NOQA
2+
3+
INSTALLED_APPS = [
4+
'django.contrib.auth',
5+
'django.contrib.contenttypes',
6+
'moonsheep'
7+
]

0 commit comments

Comments
 (0)