-
Andreas Ellewsen authored
The post_save signal now checks if the instance is a Role, and queues a django q task to produce a Notification on the start and end dates for the Role. The future task checks if the date has changed after it was queued and only produces a Notification if today's date matches the date for the task. Resolves: GREG-65
Andreas Ellewsen authoredThe post_save signal now checks if the instance is a Role, and queues a django q task to produce a Notification on the start and end dates for the Role. The future task checks if the date has changed after it was queued and only produces a Notification if today's date matches the date for the task. Resolves: GREG-65
[mypy]
python_version = 3.9
plugins = mypy_django_plugin.main, mypy_drf_plugin.main
warn_unused_ignores = True
warn_no_return = True
warn_return_any = True
warn_redundant_casts = True
no_error_summary = True
[mypy.plugins.django-stubs]
django_settings_module = gregsite.settings.dev
[mypy-*.migrations.*]
# Ignore problems in auto generated modules.
ignore_errors = True
[mypy-dirtyfields]
ignore_missing_imports = True
[mypy-django_extensions.db.fields]
ignore_missing_imports = True
[mypy-django_q.*]
ignore_missing_imports = True
[mypy-django_filters.*]
ignore_missing_imports = True
[mypy-faker.*]
ignore_missing_imports = True
[mypy-reversion.*]
ignore_missing_imports = True
[mypy-daemon.*]
ignore_missing_imports = True
[mypy-lockfile.*]
ignore_missing_imports = True
[mypy-pika_context_manager.*]
ignore_missing_imports = True
[mypy-orgreg_client.*]
ignore_missing_imports = True