Skip to content
Snippets Groups Projects
Unverified Commit 83de2e19 authored by Calen Pennington's avatar Calen Pennington Committed by GitHub
Browse files

Update common/lib/xmodule/xmodule/docs/decisions/0001-move-due-dates-to-db.rst


Co-Authored-By: default avatardavestgermain <dave@st.germa.in>
parent 571b2a72
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ This approach anticipates other date-related functions in the future, such as AP
+ ``DatePolicy``: contains course_key, absolute date and a time delta
+ ``ContentDate``: contains DatePolicy id and content id + field
+ ``UserDate``: contains user id, DatePolicy id, and absolute date + relative date. It will also record an audit trail for the override.
- The app will hook in to the ``LmsModuleSystem`` with a custom ``FieldDate`` implementation.
- The app will hook in to the ``LmsModuleSystem`` with a custom ``FieldData`` implementation.
+ If the date exists in the relational database (whether in UserDate or ContentDate), it'll use that date; otherwise, it'll use the one stored in the XBlock.
- The app will expose a REST API for retrieving and updating dates in the database.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment