質問編集履歴

1

追加

2021/05/20 07:26

投稿

rikuanpg9294
rikuanpg9294

スコア15

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,23 @@
55
55
  ModuleNotFoundError: No module named 'accounts'
56
56
 
57
57
  ```
58
+
59
+
60
+
61
+ ```python
62
+
63
+ from django.urls import path
64
+
65
+ from accounts import views
66
+
67
+
68
+
69
+ urlpatterns = [
70
+
71
+ path('login/', views.LoginView.as_view(),name='account_login')
72
+
73
+ ]
74
+
75
+
76
+
77
+ ```