Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Don't mention 'media' as a subdomain when talking about static files. Se... #111

Closed
wants to merge 1 commit into from

3 participants

Jonatan Littke Florian Apolloner Aymeric Augustin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
8  django/conf/project_template/project_name/settings.py
@@ -44,22 +44,22 @@
44 44
 USE_TZ = True
45 45
 
46 46
 # Absolute filesystem path to the directory that will hold user-uploaded files.
47  
-# Example: "/home/media/media.lawrence.com/media/"
  47
+# Example: "/var/www/example.com/media/"
48 48
 MEDIA_ROOT = ''
49 49
 
50 50
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
51 51
 # trailing slash.
52  
-# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
  52
+# Examples: "http://example.com/media/", "http://media.lawrence.com/media/"
53 53
 MEDIA_URL = ''
54 54
 
55 55
 # Absolute path to the directory static files should be collected to.
56 56
 # Don't put anything in this directory yourself; store your static files
57 57
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
58  
-# Example: "/home/media/media.lawrence.com/static/"
  58
+# Example: "/var/www/example.com/static/"
59 59
 STATIC_ROOT = ''
60 60
 
61 61
 # URL prefix for static files.
62  
-# Example: "http://media.lawrence.com/static/"
  62
+# Example: "http://example.com/static/"
63 63
 STATIC_URL = '/static/'
64 64
 
65 65
 # Additional locations of static files
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.