edx/edx-platform — pull request #6052 by stephensanchez (2014-11-25 14:28:31+00:00)
Title: Update UserCourseTag model to have modified and created timestamps.

This is for ECOM-525, sub-task ECOM-682 to update the UserCourseTag model to have a modified and created timestamp. Added tests to ensure they are updated as expected with interactions for the models. Cleaned up another test in the file while I was in there.

@rlucioni @wedaly @dianakhuang

Re: UserCourseTag model @shnayder I was curious if there was a specific desire to use this model for the "Email Opt-In" setting versus creating a new UserOrgTag Model. As I understand it, we want to use theUserCourseTag model so we could audit which course a user enrolled in when they decided to opt in/out of emails. Otherwise, I just wanted to check to see if it's possible we want a UserOrgTag Model instead, which links a user preference to an organization.