Add reminders

This commit is contained in:
Roberto Rosario
2014-10-03 16:35:36 -04:00
parent 831b63ba77
commit 79e7bdc860

View File

@@ -103,8 +103,10 @@ class Source(models.Model):
document.save()
# TODO: move this to the Document model
apply_default_acls(document, user)
# TODO: move this to the Document model
if user:
document.add_as_recent_document_for_user(user)
create_history(HISTORY_DOCUMENT_CREATED, document, {'user': user})