Skip to content

Commit

Permalink
formatted with black
Browse files Browse the repository at this point in the history
  • Loading branch information
bugman80 committed Jan 14, 2025
1 parent 6d71543 commit d9b1466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bookinghub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
MEDIA_URL = '/media/'
MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")

# Quick-start development settings - unsuitable for production
Expand Down Expand Up @@ -181,4 +181,4 @@
"USE_SESSION_AUTH": False, # Disabilita il login di Django
}

APPEND_SLASH = True
APPEND_SLASH = True
2 changes: 1 addition & 1 deletion bookinghub/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
router.register(r"users", UserViewSet)

urlpatterns = [
path('', lambda request: redirect('/admin/')),
path("", lambda request: redirect("/admin/")),
path("api/", include(router.urls)),
path("admin/", admin.site.urls),
path("api/token/", CustomTokenObtainPairView.as_view(), name="token_obtain_pair"),
Expand Down

0 comments on commit d9b1466

Please sign in to comment.