type object 'Article' has no attribute 'object'
这个应该怎么修改啊……
django:2.1.7
code:
from django.urls import path from . import views urlpatterns = [ path('', views.index), path('article/<int:article_id>/', views.article_page), ]
这个应该怎么修改啊……
django:2.1.7
code:
from django.urls import path from . import views urlpatterns = [ path('', views.index), path('article/<int:article_id>/', views.article_page), ]
2019-03-12
举报