demo / config /urls.py
AIVLAD's picture
feat: enable DRF browsable API and add root redirect
d13a9a9
raw
history blame contribute delete
306 Bytes
"""URL configuration for Wall Construction API."""
from __future__ import annotations
from django.urls import include, path
from django.views.generic import RedirectView
urlpatterns = [
path("", RedirectView.as_view(url="/api/", permanent=False)),
path("api/", include("apps.profiles.urls")),
]