Skip to content

Commit 2cfbc2f

Browse files
committed
테스트 코드 삭제
1 parent 39ffce2 commit 2cfbc2f

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

account/views.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,3 @@ def logout_api(request):
7676
}
7777
return Response(response_data)
7878

79-
@api_view(["GET"])
80-
def login_api_test(request):
81-
82-
if request.user.is_authenticated:
83-
return Response({"msg": "already logged in"})
84-
85-
user = authenticate(
86-
request,
87-
username="admin",
88-
password="admin"
89-
)
90-
91-
login(request, user)
92-
93-
response_data = {
94-
"msg": "ok"
95-
}
96-
return Response(response_data)

0 commit comments

Comments
 (0)