Browse Source

Allow to set STATIC_URL

Mehdi Abaakouk 7 years ago
parent
commit
d4b78ae900
1 changed files with 2 additions and 1 deletions
  1. 2 1
      wifiwithme/settings/prod.py

+ 2 - 1
wifiwithme/settings/prod.py

@@ -10,7 +10,8 @@ try:
 except ImportError:
     pass
 
-STATIC_URL = '/{}assets/'.format(URL_PREFIX)
+if "STATIC_URL" not in locals():
+    STATIC_URL = '/{}assets/'.format(URL_PREFIX)
 
 
 LOGGING = {