Roberto Rosario
50e72fdb4e
Style: Move document model functions
...
Move the document UUID and document hash functions
to the documents.utils module.
Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com >
2018-12-07 18:08:47 -04:00
Roberto Rosario
146ebb7032
Documents: Update cache size on setting update
...
Add a setting callback to update the size of the document
cache when the DOCUMENTS_CACHE_MAXIMUM_SIZE setting is
updated.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com >
2018-12-04 15:48:44 -04:00
Roberto Rosario
1e746c700a
PEP8 cleanups.
2015-07-27 23:53:14 -04:00
Roberto Rosario
33b56ac5e6
Add unicode_literal import
2015-06-08 15:55:38 -04:00
Roberto Rosario
87216eb444
Move the parse_range function to the only app that uses it, documents app
2015-04-07 16:06:04 -04:00
Roberto Rosario
8200204ddc
Convert the 'document_save_to_temp_dir' utility function into a method of the Document model
2014-10-13 17:51:28 -04:00
Roberto Rosario
b761037d99
Move all settings files from <app>/conf/settings.py to <app>/settings.py
2014-09-11 05:02:40 -04:00
Roberto Rosario
ec1745b50b
Initial changes to support the new Django 1.6 project structure
2014-06-15 13:13:21 +02:00