1. Kenneth Love
  2. Lightning Talks

Source

Lightning Talks / lightning / settings / base.py

Diff from to

File lightning/settings/base.py

 
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Example: "/home/media/media.lawrence.com/media/"
-MEDIA_ROOT = Path(PROJECT_ROOT.ancestor(1), 'media')
+MEDIA_ROOT = Path(PROJECT_ROOT.ancestor(1), 'media/')
 
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
 # trailing slash.
 # Don't put anything in this directory yourself; store your static files
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
 # Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = Path(PROJECT_ROOT.ancestor(1), 'staticfiles')
+STATIC_ROOT = Path(PROJECT_ROOT.ancestor(1), 'staticfiles/')
 
 # URL prefix for static files.
 # Example: "http://media.lawrence.com/static/"
 
 # Additional locations of static files
 STATICFILES_DIRS = (
-    Path(PROJECT_ROOT, 'static'),
+    Path(PROJECT_ROOT, 'static/'),
 )
 
 # List of finder classes that know how to find static files in