add first url

add first url
This commit is contained in:
jnfire 2022-08-02 09:04:23 +02:00
parent 2a80349e50
commit bb5423fcc4
2 changed files with 9 additions and 2 deletions

7
apps/website/urls.py Normal file
View File

@ -0,0 +1,7 @@
from django.urls import path
from apps.web.views import home
urlpatterns = [
path("", home, name="home"),
]

View File

@ -14,9 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import path from django.urls import path, include
from app.website import views as website_views
urlpatterns = [ urlpatterns = [
path("", include("apps.web.urls")),
path("admin/", admin.site.urls), path("admin/", admin.site.urls),
] ]