[extensions-web/feature/static-manifests: 3/4] settings: cleanup static settings



commit 497540442a96671ca4bbe6290c355ecdf0772f98
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sun Jan 29 23:11:36 2017 +0400

    settings: cleanup static settings

 sweettooth/settings.py |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index 220e92a..c5b1f4f 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -128,12 +128,6 @@ USE_L10N = True
 
 USE_TZ = False
 
-
-# Static files (CSS, JavaScript, Images)
-# https://docs.djangoproject.com/en/1.8/howto/static-files/
-
-STATIC_URL = '/static/'
-
 ADMINS = (
     ('Administrator', 'admin@localhost.local'),
 )
@@ -151,14 +145,9 @@ MEDIA_ROOT = os.path.join(SITE_ROOT, '..', 'uploaded-files')
 # Examples: "http://media.lawrence.com/media/";, "http://example.com/media/";
 MEDIA_URL = '/extension-data/'
 
-# Absolute path to the directory static files should be collected to.
-# Don't put anything in this directory yourself; store your static files
-# in apps' "static/" subdirectories and in STATICFILES_DIRS.
-# Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = ''
+# Static files (CSS, JavaScript, Images)
+# https://docs.djangoproject.com/en/1.8/howto/static-files/
 
-# URL prefix for static files.
-# Example: "http://media.lawrence.com/static/";
 STATIC_URL = '/static/'
 
 STATICFILES_DIRS = (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]