diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7eebe86..76bc7b2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: django-upgrade args: [--target-version, "4.1"] - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black args: [--target-version, py311] @@ -50,7 +50,7 @@ repos: - id: prettier types_or: [javascript, css] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.0.0-alpha.1 + rev: v9.0.0-alpha.2 hooks: - id: eslint args: [--fix] diff --git a/src/checkout/settings.py b/src/checkout/settings.py index 24ebf94..04a4504 100644 --- a/src/checkout/settings.py +++ b/src/checkout/settings.py @@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ + import os from pathlib import Path diff --git a/src/checkout/urls.py b/src/checkout/urls.py index ff117d3..61ed6a9 100644 --- a/src/checkout/urls.py +++ b/src/checkout/urls.py @@ -13,6 +13,7 @@ Including another URLconf 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('checkout/', include('checkout.urls')) """ + from django.conf.urls.static import static from django.contrib import admin from django.urls import include, path