added links to project urls
parent
6358a2a2b4
commit
242235cf69
|
|
@ -14,12 +14,14 @@ Including another URLconf
|
|||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.urls import include, path
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('', include('core.urls', namespace='core')),
|
||||
path('articles/', include('articles.urls', namespace='articles')),
|
||||
path('markdownx/', include('markdownx.urls')),
|
||||
path("admin/", admin.site.urls),
|
||||
path("", include("core.urls", namespace="core")),
|
||||
path("articles/", include("articles.urls", namespace="articles")),
|
||||
path("websites/", include("links.urls", namespace="links")),
|
||||
path("markdownx/", include("markdownx.urls")),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue