This website requires JavaScript.
Explore
Help
Sign In
darkhelm
/
notifications-api
Watch
1
Star
0
Fork
0
mirror of
https://github.com/GSA/notifications-api.git
synced
2026-09-11 02:23:32 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
a9906bb8262be8918969c2fb8b49e20b6ed7d10a
notifications-api
/
app
/
dao
/
events_dao.py
T
7 lines
100 B
Python
Raw
Normal View
History
Unescape
Escape
Endpoint for recording events in api.
2016-04-27 10:27:05 +01:00
from
app
import
db
def
dao_create_event
(
event
):
db
.
session
.
add
(
event
)
db
.
session
.
commit
()
Reference in New Issue
Copy Permalink