From 79e7bdc8603b94cb1dca3d6f8c7d08bbb5f414e0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Fri, 3 Oct 2014 16:35:36 -0400 Subject: [PATCH] Add reminders --- mayan/apps/sources/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/sources/models.py b/mayan/apps/sources/models.py index a99aae686f..187243153f 100644 --- a/mayan/apps/sources/models.py +++ b/mayan/apps/sources/models.py @@ -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})