Skip to content

Feature/auth#11

Merged
yeezy-na-izi merged 29 commits intodevfrom
feature/auth
Nov 3, 2022
Merged

Feature/auth#11
yeezy-na-izi merged 29 commits intodevfrom
feature/auth

Conversation

@yakser
Copy link
Member

@yakser yakser commented Nov 3, 2022

No description provided.

@yakser yakser requested a review from yeezy-na-izi November 3, 2022 19:26
Copy link
Contributor

@yeezy-na-izi yeezy-na-izi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали селери


```bash
celery -A procollab.celery worker --pool=solo -l info
``` No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

# Django starts so that shared_task will use this app.
from .celery import app as celery_app

__all__ = ("celery_app",)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

# Set the default Django settings module for the 'celery' program.
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "procollab.settings")

app = Celery("procollab")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

"corsheaders",
"django_filters",
"drf_yasg",
"django_celery_results",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

CELERY_TASK_SERIALIZER = "json"
CELERY_RESULT_SERIALIZER = "json"
# CELERY_TIMEZONE = ''
CELERY_RESULT_BACKEND = "django-db"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

pyproject.toml Outdated
six = "^1.16.0"
redis = "^4.3.4"
django-celery-results = "^2.4.0"
celery = "^5.2.7"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

users/tasks.py Outdated
from celery import shared_task
from django.core.mail import EmailMessage


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

Copy link
Contributor

@yeezy-na-izi yeezy-na-izi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Молодец

pyproject.toml Outdated
uvicorn = "^0.19.0"
whitenoise = "^6.2.0"
six = "^1.16.0"
redis = "^4.3.4"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Удали

@yeezy-na-izi yeezy-na-izi merged commit fa23800 into dev Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants