Commits

Luke Plant  committed 88a97e7

Renamed local dir used for storing protected downloads

  • Participants
  • Parent commits 62eb730

Comments (0)

Files changed (2)

File cciw/settings.py

 SECUREDOWNLOAD_TIMEOUT = 3600
 
 if DEVBOX:
-    SECUREDOWNLOAD_SOURCE = os.path.join(parentdir, "protected_downloads_src")
-    SECUREDOWNLOAD_SERVE_ROOT = os.path.join(parentdir, "protected_downloads")
+    SECUREDOWNLOAD_SOURCE = os.path.join(parentdir, "secure_downloads_src")
+    SECUREDOWNLOAD_SERVE_ROOT = os.path.join(parentdir, "secure_downloads")
 else:
     from cciw.settings_priv import SECUREDOWNLOAD_SOURCE, SECUREDOWNLOAD_SERVE_ROOT
 
 #
 #  usermedia/  - corresponds to MEDIA_ROOT
 #
-#  protected_downloads/     - corresponds to SECUREDOWNLOAD_SERVE_ROOT
+#  secure_downloads/     - corresponds to SECUREDOWNLOAD_SERVE_ROOT
 #
-#  protected_downloads_src/ - corresponds to SECUREDOWNLOAD_SOURCE
+#  secure_downloads_src/ - corresponds to SECUREDOWNLOAD_SOURCE
 #
 # === Deployment ===
 #
 
 def _copy_protected_downloads():
     # We currently don't need this to be separate for staging and production
-    rsync_dir(join(parent_dir, "protected_downloads_src"),
+    rsync_dir(join(parent_dir, "secure_downloads_src"),
               join(webapps_root, 'cciw_protected_downloads_src'))