add first url
add first url
This commit is contained in:
parent
2a80349e50
commit
bb5423fcc4
7
apps/website/urls.py
Normal file
7
apps/website/urls.py
Normal file
@ -0,0 +1,7 @@
|
||||
from django.urls import path
|
||||
|
||||
from apps.web.views import home
|
||||
|
||||
urlpatterns = [
|
||||
path("", home, name="home"),
|
||||
]
|
@ -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),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user