diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index 8e18d24c0..c45481ddb 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: rev: '1.22.2' hooks: - id: django-upgrade - args: ['--target-version', '5.0'] + args: ['--target-version', '5.1'] # Run the Ruff linter. - repo: https://github.com/astral-sh/ruff-pre-commit diff --git a/{{cookiecutter.project_slug}}/requirements/base.txt b/{{cookiecutter.project_slug}}/requirements/base.txt index bdd9cc1e0..829fced21 100644 --- a/{{cookiecutter.project_slug}}/requirements/base.txt +++ b/{{cookiecutter.project_slug}}/requirements/base.txt @@ -29,7 +29,7 @@ uvicorn-worker==0.3.0 # https://github.com/Kludex/uvicorn-worker # Django # ------------------------------------------------------------------------------ -django==5.0.13 # pyup: < 5.1 # https://www.djangoproject.com/ +django==5.1.7 # pyup: < 5.2 # https://www.djangoproject.com/ django-environ==0.12.0 # https://github.com/joke2k/django-environ django-model-utils==5.0.0 # https://github.com/jazzband/django-model-utils django-allauth[mfa]==65.4.1 # https://github.com/pennersr/django-allauth @@ -43,6 +43,9 @@ django-redis==5.4.0 # https://github.com/jazzband/django-redis # Django REST Framework djangorestframework==3.15.2 # https://github.com/encode/django-rest-framework django-cors-headers==4.7.0 # https://github.com/adamchainz/django-cors-headers +dj-rest-auth==7.0.1 # https://github.com/iMerica/dj-rest-auth +djangorestframework-simplejwt==5.5.0 # https://github.com/jazzband/djangorestframework-simplejwt +django-push-notifications[apns_async,FCM]==3.2.1 # https://github.com/jazzband/django-push-notifications # DRF-spectacular for api documentation drf-spectacular==0.28.0 # https://github.com/tfranzel/drf-spectacular {%- endif %} diff --git a/{{cookiecutter.project_slug}}/requirements/local.txt b/{{cookiecutter.project_slug}}/requirements/local.txt index 7c301684a..074791ade 100644 --- a/{{cookiecutter.project_slug}}/requirements/local.txt +++ b/{{cookiecutter.project_slug}}/requirements/local.txt @@ -16,6 +16,7 @@ watchfiles==1.0.4 # https://github.com/samuelcolvin/watchfiles mypy==1.15.0 # https://github.com/python/mypy django-stubs[compatible-mypy]==5.1.3 # https://github.com/typeddjango/django-stubs pytest==8.3.5 # https://github.com/pytest-dev/pytest +pytest-mock==3.14.0 # https://github.com/pytest-dev/pytest-mock/ pytest-sugar==1.0.0 # https://github.com/Frozenball/pytest-sugar {%- if cookiecutter.use_drf == "y" %} djangorestframework-stubs==3.15.3 # https://github.com/typeddjango/djangorestframework-stubs @@ -35,8 +36,7 @@ pre-commit==4.2.0 # https://github.com/pre-commit/pre-commit # Django # ------------------------------------------------------------------------------ -factory-boy==3.3.2 # https://github.com/FactoryBoy/factory_boy - +factory-boy==3.3.3 # https://github.com/FactoryBoy/factory_boy django-debug-toolbar==5.0.1 # https://github.com/jazzband/django-debug-toolbar django-extensions==3.2.3 # https://github.com/django-extensions/django-extensions django-coverage-plugin==3.1.0 # https://github.com/nedbat/django_coverage_plugin