مرحبًا،
لقد تابعت المدرب لكنني حصلت على هذا الخطأ. هل يستطيع احد مساعدتي؟
شكرًا,
Page not found (404)
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/login
Using the URLconf defined in projects_management.urls, Django tried these URL patterns, in this order:
__debug__/
admin/
[name='Project_list']
project/create [name='Project_create']
project/edit/<int:pk> [name='Project_update']
project/delete/<int:pk> [name='Project_delete']
task/create [name='Task_create']
task/edit/<int:pk> [name='Task_update']
task/delete/<int:pk> [name='Task_delete']
accounts login/ [name='login']
accounts logout/ [name='logout']
accounts password_change/ [name='password_change']
accounts password_change/done/ [name='password_change_done']
accounts password_reset/ [name='password_reset']
accounts password_reset/done/ [name='password_reset_done']
accounts reset/<uidb64>/<token>/ [name='password_reset_confirm']
accounts reset/done/ [name='password_reset_complete']
The current path, accounts/login, didn’t match any of these.
You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.
django-pm.zip