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
|
1. Import the include() function: from django.urls import include, path
|
||||||
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, include
|
from django.urls import include, path
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path('', include('core.urls', namespace='core')),
|
path("", include("core.urls", namespace="core")),
|
||||||
path('articles/', include('articles.urls', namespace='articles')),
|
path("articles/", include("articles.urls", namespace="articles")),
|
||||||
path('markdownx/', include('markdownx.urls')),
|
path("websites/", include("links.urls", namespace="links")),
|
||||||
|
path("markdownx/", include("markdownx.urls")),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue