Toggle navigation
Toggle navigation
This project
Loading...
Sign in
cse437_e
/
smartdoorlock-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김유현
2020-11-27 14:29:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a9a60d2eab4b7c5455cd312e3fb3b55c241ba15
8a9a60d2
1 parent
2d533e89
Update views.py
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
api/views.py
api/views.py
View file @
8a9a60d
...
...
@@ -90,7 +90,7 @@ class Devices(APIView) :
},
status
=
status
.
HTTP_400_BAD_REQUEST
)
# 기기 추가 요청
def
put
(
self
,
request
,
device_id
,
format
=
None
)
:
def
put
(
self
,
request
,
format
=
None
)
:
try
:
if
request
.
auth
==
None
:
raise
PermissionDenied
...
...
Please
register
or
login
to post a comment