Skip to content

Commit

Permalink
Upgrade django-celery-results
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasternak committed Aug 7, 2022
1 parent c5b397a commit 0068825
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 31 deletions.
34 changes: 14 additions & 20 deletions poetry.lock

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

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ django-autoslug = "1.9.8"
django-autocomplete-light = "3.9.4"
django-admin-tools = "0.9.0"
xlrd = "2.0.1"
celery = {version = "5.2.2", extras = ["redis"]}
django-celery-results = "2.0.1"
celery = {version = "5.2.7", extras = ["redis"]}
django-celery-results = "2.4.0"
django-tables2 = "2.3.1"
django-sendfile = "0.3.11"
Unidecode = "0.4.20"
Expand All @@ -116,7 +116,6 @@ django-session-security-iplweb = "2.6.6"
django-password-policies-iplweb = "0.8.4"
dj-pagination = "2.4.0"
requests = "2.26.0"
pytz = "2018.4"
django-extensions = "3.1.3"
django-htmlmin = "0.11.0"
Pillow = "9.2.0"
Expand Down
8 changes: 4 additions & 4 deletions src/bpp/models/praca_doktorska.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ def opis_bibliograficzny_zapisani_autorzy_cache(self):
def slug(self):
return self.get_slug()

def clean(self):
DwaTytuly.clean(self)
ModelZOplataZaPublikacje.clean(self)


class _Praca_Doktorska_PropertyCache:
@cached_property
Expand All @@ -143,3 +139,7 @@ class Meta:
verbose_name_plural = "prace doktorskie"
app_label = "bpp"
ordering = ("rok", "tytul_oryginalny")

def clean(self):
DwaTytuly.clean(self)
ModelZOplataZaPublikacje.clean(self)
13 changes: 9 additions & 4 deletions src/bpp/models/praca_habilitacyjna.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# -*- encoding: utf-8 -*-
from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.db.models import CASCADE

from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation
from django.contrib.contenttypes.models import ContentType

from django.utils.functional import cached_property

from bpp.models import Autor, Charakter_Formalny
from bpp.models import Autor, Charakter_Formalny, DwaTytuly, ModelZOplataZaPublikacje
from bpp.models.praca_doktorska import Praca_Doktorska_Baza


Expand Down Expand Up @@ -52,3 +53,7 @@ class Meta:
verbose_name = "praca habilitacyjna"
verbose_name_plural = "prace habilitacyjne"
app_label = "bpp"

def clean(self):
DwaTytuly.clean(self)
ModelZOplataZaPublikacje.clean(self)

0 comments on commit 0068825

Please sign in to comment.