Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

global: revert django 5 changes #114

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backoffice/backoffice/workflows/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ResolutionDags(models.TextChoices):
accept_curate = "accept_curate", "author_create_approved_dag"


DECISION_CHOICES = ResolutionDags
DECISION_CHOICES = ResolutionDags.choices


class AuthorCreateDags(models.TextChoices):
Expand Down
4 changes: 2 additions & 2 deletions backoffice/backoffice/workflows/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ class Workflow(models.Model):

workflow_type = models.CharField(
max_length=30,
choices=WorkflowType,
choices=WorkflowType.choices,
default=DEFAULT_WORKFLOW_TYPE,
)
data = models.JSONField()
status = models.CharField(
max_length=30,
choices=StatusChoices,
choices=StatusChoices.choices,
default=DEFAULT_STATUS_CHOICE,
)
core = models.BooleanField(default=False)
Expand Down
54 changes: 24 additions & 30 deletions backoffice/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions backoffice/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ argon2-cffi = "23.1.0"
redis = "5.0.1"
hiredis = "2.2.3"
celery = "5.3.4"
django-celery-beat = "2.7.0"
django-celery-beat = "2.5.0"
flower = "2.0.1"
uvicorn = {version = "0.23.2", extras = ["standard"]}
django = "5.1.0"
django = "4.2.6"
django-environ = "0.11.2"
django-model-utils = "4.3.1"
django-allauth = "0.57.0"
Expand Down Expand Up @@ -149,7 +149,7 @@ opensearch-dsl = "^2.1.0"
opensearch-py = "2.6.0"
djangorestframework-simplejwt = "^5.3.1"
django-json-widget = "^2.0.1"
sentry-sdk = "^1.45.1"
sentry-sdk = "1.19.1"

[tool.poetry.dev-dependencies]
factory-boy = "3.3.0"
Expand Down
Loading