diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5782bf..acca709 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 + rev: v4.6.0 hooks: - id: trailing-whitespace exclude: | @@ -29,6 +29,6 @@ repos: - id: check-toml - id: check-xml - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.3.0 hooks: - id: black diff --git a/hacktj_live/contrib/sites/migrations/0003_set_site_domain_and_name.py b/hacktj_live/contrib/sites/migrations/0003_set_site_domain_and_name.py index f7ed739..0fe543d 100644 --- a/hacktj_live/contrib/sites/migrations/0003_set_site_domain_and_name.py +++ b/hacktj_live/contrib/sites/migrations/0003_set_site_domain_and_name.py @@ -2,6 +2,7 @@ To understand why this file is here, please read: http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ + from django.conf import settings from django.db import migrations diff --git a/hacktj_live/settings.py b/hacktj_live/settings.py index 1c23973..01c993c 100644 --- a/hacktj_live/settings.py +++ b/hacktj_live/settings.py @@ -10,7 +10,6 @@ https://docs.djangoproject.com/en/3.0/ref/settings/ """ - from collections import OrderedDict from datetime import datetime from subprocess import run as run_cmd diff --git a/hacktj_live/urls.py b/hacktj_live/urls.py index c5cbe18..a103c31 100644 --- a/hacktj_live/urls.py +++ b/hacktj_live/urls.py @@ -13,6 +13,7 @@ 1. Import the include() function: from django.urls import include, path 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ + import allauth from django.contrib import admin