Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

example to use the more practical URL start thing

  • Loading branch information...
commit a62b105bc2832f23fe7240f74a40c89fcbce9853 1 parent a8e2fa1
Peter Bengtsson authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -118,7 +118,7 @@ Another option is to let django_static take care of setting your
But if you're feeling lazy and what django_static to automatically
take care of it set `DJANGO_STATIC_MEDIA_URL`. In settings.py:
- DJANGO_STATIC_MEDIA_URL = "http://static.example.com"
+ DJANGO_STATIC_MEDIA_URL = "//static.example.com"
In your template:
@@ -126,7 +126,7 @@ In your template:
And you get this result:
- <img src="http://static.example.com/foo.1247785534.png"/>
+ <img src="//static.example.com/foo.1247785534.png"/>
Right out of the box, `DJANGO_STATIC_MEDIA_URL` will not be active
if `DJANGO_STATIC = False`. If you want it to be, set
Please sign in to comment.
Something went wrong with that request. Please try again.