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-10 18:23:01 -04:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
22aff482a88a2c4336b3260a55acb11b2e2bb712
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