Blog

    [Django Tutorial] Blog 만들기 (3)

    urls.py mysite/urls.py from django.contrib import admin from django.urls import path from . import views from django.conf.urls import include urlpatterns = [ path('admin/', admin.site.urls), path('', views.HomeView.as_view(), name='home'), # 홈 패스 path('blog/', include('blog.urls')), # 블로그 패스 #from django.conf.urls import include 주의 ] blog/urls.py (생성해준다) * urlpatterns에 path() 넣어줄때 ctrl+space*2 하..