diff --git a/django/home/management/commands/move_education_page.py b/django/home/management/commands/move_education_page.py index 330bb7b9f..997b631ba 100644 --- a/django/home/management/commands/move_education_page.py +++ b/django/home/management/commands/move_education_page.py @@ -165,8 +165,12 @@ def handle(self, *args, **options): # responsible practices page try: # first check for existence of a good-practices page - MarkdownPage.objects.filter(slug="good-practices").update(slug="responsible-practices") - responsible_practices_page = MarkdownPage.objects.get(slug="responsible-practices") + MarkdownPage.objects.filter(slug="good-practices").update( + slug="responsible-practices" + ) + responsible_practices_page = MarkdownPage.objects.get( + slug="responsible-practices" + ) responsible_practices_page.breadcrumbs.all().delete() except MarkdownPage.DoesNotExist: responsible_practices_page = MarkdownPage(slug="responsible-practices") diff --git a/django/requirements.txt b/django/requirements.txt index 3ea145196..c3660869e 100644 --- a/django/requirements.txt +++ b/django/requirements.txt @@ -1,11 +1,11 @@ bagit==1.8.1 bleach==4.1.0 -django-allauth==0.50.0 -django-anymail[mailgun]==8.5 +django-allauth==0.51.0 +django-anymail[mailgun]==8.6 django-cookie-law==2.2.0 -django-extensions==3.1.5 +django-extensions==3.2.1 django-guardian==2.4.0 -django-hcaptcha-field==1.3.0 +django-hcaptcha-field==1.4.0 django-ipware==4.0.2 django-location-field==2.1.0 django-markupfield==2.0.1 @@ -16,27 +16,27 @@ django-rest-swagger==2.2.0 django-reversion==5.0.2 django-robots==5.0 django-timezone-field==5.0 -django-waffle==2.4.1 -django-webpack-loader==1.5.0 +django-waffle==3.0.0 +django-webpack-loader==1.6.0 djangorestframework==3.13.1 djangorestframework-jwt==1.11.0 Django>=3.2.11,<4.0.0 elasticsearch-dsl>=7.0.0,<8.0.0 elasticsearch>=7.0.0,<8.0.0 html2text>=2016.9.19 -jinja2==3.0.3 -markdown==3.3.6 +jinja2==3.1.2 +markdown==3.4.1 nltk>=3.2.5,<4.0.0 psycopg2-binary==2.9.3 pytz==2022.1 requests==2.28.1 semver==2.13.0 -sentry-sdk==1.9.4 +sentry-sdk==1.9.8 shortuuid==1.0.9 tzdata==2022.1 uwsgi==2.0.20 uwsgitop==0.11 -wagtail==3.0.1 +wagtail==3.0.3 invoke ipython pgcli