From 888e01cb438a2e98fdebf8a5d38cd44cba8ccadd Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 23 Oct 2017 15:56:13 +1100 Subject: [PATCH] Actually use STATIC_URL in a way that will work with compress --- lemoncurry/settings/dev.py | 2 ++ lemoncurry/templates/lemoncurry/layout.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lemoncurry/settings/dev.py b/lemoncurry/settings/dev.py index 16e6aab..ef5e948 100644 --- a/lemoncurry/settings/dev.py +++ b/lemoncurry/settings/dev.py @@ -1,3 +1,5 @@ from .base import * ALLOWED_HOSTS = ['*'] +STATIC_URL = 'https://static.00dani.dev/' +MEDIA_URL = STATIC_URL + 'media/' diff --git a/lemoncurry/templates/lemoncurry/layout.html b/lemoncurry/templates/lemoncurry/layout.html index 23cd92e..4ae16d2 100644 --- a/lemoncurry/templates/lemoncurry/layout.html +++ b/lemoncurry/templates/lemoncurry/layout.html @@ -8,7 +8,7 @@ {% compress css %} - + {% endcompress %}