2 from django.conf import settings
4 # this is where the end user puts new files
6 NEW_PATH = settings.ARCHIVE_NEW_PATH
8 NEW_PATH = os.path.abspath(os.path.join(settings.MEDIA_ROOT,
11 # here the application keeps its managed files
13 FILES_PATH = settings.ARCHIVE_FILES_PATH
14 except AttributeError:
15 FILES_PATH = os.path.abspath(os.path.join(settings.MEDIA_ROOT,
19 # here the app keeps the unmanaged (archive) files
21 UNMANAGED_PATH = settings.ARCHIVE_UNMANAGED_PATH
22 except AttributeError:
23 UNMANAGED_PATH = os.path.abspath(os.path.join(settings.MEDIA_ROOT,
27 # here the app keeps the resulting (published) files
29 FINAL_PATH = settings.ARCHIVE_FINAL_PATH
30 except AttributeError:
31 FINAL_PATH = os.path.abspath(os.path.join(settings.MEDIA_ROOT,