Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2024
1 parent 7d57c90 commit 02353b0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

from pathlib import Path

INSTALLED_APPS = [
# other apps
"authentication",
Expand Down
3 changes: 1 addition & 2 deletions FaceRecoginitionProject/FaceRecoginitionProject/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""

from django.urls import include, path
from django.contrib import admin
from django.urls import path
from django.urls import include, path

urlpatterns = [
path("admin/", admin.site.urls),
Expand Down
8 changes: 4 additions & 4 deletions user_authentication/views.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from .forms import CustomUserCreationForm, LoginForm
from django.shortcuts import redirect, render
from django.contrib.auth.decorators import login_required
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import user_passes_test
from django.contrib.auth.decorators import login_required, user_passes_test
from django.shortcuts import redirect, render

from .forms import CustomUserCreationForm, LoginForm


def is_admin(user):
Expand Down

0 comments on commit 02353b0

Please sign in to comment.