Merged
Conversation
…into feature/auth
Static fixed
…d_vacancies' into feature/auth
yeezy-na-izi
reviewed
Nov 3, 2022
|
|
||
| ```bash | ||
| celery -A procollab.celery worker --pool=solo -l info | ||
| ``` No newline at end of file |
procollab/__init__.py
Outdated
| # Django starts so that shared_task will use this app. | ||
| from .celery import app as celery_app | ||
|
|
||
| __all__ = ("celery_app",) |
procollab/celery.py
Outdated
| # Set the default Django settings module for the 'celery' program. | ||
| os.environ.setdefault("DJANGO_SETTINGS_MODULE", "procollab.settings") | ||
|
|
||
| app = Celery("procollab") |
procollab/settings.py
Outdated
| "corsheaders", | ||
| "django_filters", | ||
| "drf_yasg", | ||
| "django_celery_results", |
procollab/settings.py
Outdated
| CELERY_TASK_SERIALIZER = "json" | ||
| CELERY_RESULT_SERIALIZER = "json" | ||
| # CELERY_TIMEZONE = '' | ||
| CELERY_RESULT_BACKEND = "django-db" |
pyproject.toml
Outdated
| six = "^1.16.0" | ||
| redis = "^4.3.4" | ||
| django-celery-results = "^2.4.0" | ||
| celery = "^5.2.7" |
users/tasks.py
Outdated
| from celery import shared_task | ||
| from django.core.mail import EmailMessage | ||
|
|
||
|
|
yeezy-na-izi
reviewed
Nov 3, 2022
pyproject.toml
Outdated
| uvicorn = "^0.19.0" | ||
| whitenoise = "^6.2.0" | ||
| six = "^1.16.0" | ||
| redis = "^4.3.4" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.