Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using contrib version of staticfiles, which is new to Django 1.3

  • Loading branch information...
commit f6f7b7cfc2c2f19ce09c72d5df5b0a28df247683 1 parent ec1181a
@ktonon ktonon authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 mingus/settings.py
View
5 mingus/settings.py
@@ -8,7 +8,6 @@
#staticfiles app values
STATIC_URL = '/static/'
-STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static', 'mingus')
STATICFILES_DIRS = (
os.path.join(PROJECT_ROOT, 'static', 'betweenconcepts'),
os.path.join(PROJECT_ROOT, 'static', 'mingus'),
@@ -47,9 +46,9 @@
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
"django.core.context_processors.media",
+ "django.core.context_processors.static",
"basic.blog.context_processors.blog_settings",
"navbar.context_processors.navbars",
- "staticfiles.context_processors.static_url",
)
INSTALLED_APPS = (
@@ -61,6 +60,7 @@
'django.contrib.sitemaps',
'django.contrib.flatpages',
'django.contrib.redirects',
+ 'django.contrib.staticfiles',
'django_extensions',
'tagging',
@@ -90,7 +90,6 @@
'mingus.core',
'debug_toolbar',
- 'staticfiles',
'tinymce',
'django_wysiwyg',
'cropper',
Please sign in to comment.
Something went wrong with that request. Please try again.