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-24 13:58:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
aa07b0ce708480bf7dcfe95925aa44ac246b5c4e
aa07b0ce
1 parent
1c619b4d
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 @
aa07b0c
...
...
@@ -65,7 +65,7 @@ class Login(APIView) :
Door
.
objects
.
create
(
door_id
=
12345
)
Lock
.
objects
.
create
(
id
=
1
)
Record
.
objects
.
create
(
id
=
1
)
AddDevice
(
id
=
1
)
AddDevice
.
objects
.
create
(
id
=
1
)
return
Response
({
'msg'
:
'doorid값 삽입 완료'
,
})
...
...
Please
register
or
login
to post a comment