diff --git a/apps/website/urls.py b/apps/website/urls.py new file mode 100644 index 0000000..69b66f1 --- /dev/null +++ b/apps/website/urls.py @@ -0,0 +1,7 @@ +from django.urls import path + +from apps.web.views import home + +urlpatterns = [ + path("", home, name="home"), +] \ No newline at end of file diff --git a/core/urls.py b/core/urls.py index 38fd573..f3d2a8c 100644 --- a/core/urls.py +++ b/core/urls.py @@ -14,9 +14,9 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path -from app.website import views as website_views +from django.urls import path, include urlpatterns = [ + path("", include("apps.web.urls")), path("admin/", admin.site.urls), ]