Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

example to use the more practical URL start thing

  • Loading branch information...
commit a62b105bc2832f23fe7240f74a40c89fcbce9853 1 parent a8e2fa1
Peter Bengtsson authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 README.md
4 README.md
Source Rendered
@@ -118,7 +118,7 @@ Another option is to let django_static take care of setting your
118 118 But if you're feeling lazy and what django_static to automatically
119 119 take care of it set `DJANGO_STATIC_MEDIA_URL`. In settings.py:
120 120
121   - DJANGO_STATIC_MEDIA_URL = "http://static.example.com"
  121 + DJANGO_STATIC_MEDIA_URL = "//static.example.com"
122 122
123 123 In your template:
124 124
@@ -126,7 +126,7 @@ In your template:
126 126
127 127 And you get this result:
128 128
129   - <img src="http://static.example.com/foo.1247785534.png"/>
  129 + <img src="//static.example.com/foo.1247785534.png"/>
130 130
131 131 Right out of the box, `DJANGO_STATIC_MEDIA_URL` will not be active
132 132 if `DJANGO_STATIC = False`. If you want it to be, set

0 comments on commit a62b105

Please sign in to comment.
Something went wrong with that request. Please try again.