urlpatterns = [
path('accounts', views.accounts,name='accounts'),
path('friends',views.friends,name='friends'),
path('about',views.about,name='about'),
path('photo',views.photo,name='photo'),
path('video',views.video,name='video'),
path('favpage',views.favpage,name='favpage'),
path('accountsetting', views.accountsetting, name='accountsetting'),
path('personalinfo', views.personalinfo, name='personalinfo'),
path('favpagecreate', views.favpagecreate, name='favpagecreate'),
path('friendgroup', views.friendgroup,name='friendgroup'),
path('Hobbies', views.Hobbies, name='Hobbies'),
path('notification', views.notification,'notification'), # this one
path('Education', views.Education, name='Education'),
path('changepass', views.changepass, name='changepass'),
path('chatmessage', views.chatmessage, name='chatmessage'),
path('friendrequest', views.friendrequest, name='friendrequest'),
]
コメントで述べたように、あなたはそのname=
部分が欠けているので、それはkwargs
関数を表示するためのキーワード引数を置くために使用される値として受け取られます。その部分を修正すれば、エラーはなくなるはずです。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加