Skip to content

Instantly share code, notes, and snippets.

@glenrobertson
Created February 13, 2012 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glenrobertson/1812512 to your computer and use it in GitHub Desktop.
Save glenrobertson/1812512 to your computer and use it in GitHub Desktop.
# The root directory of this project; also the directory where this file lives
import os
SETTINGS_DIR = os.path.abspath(os.path.dirname(__file__))
# A list of locations of additional static files
STATICFILES_DIRS = [os.path.join(SETTINGS_DIR, 'static')]
# List of finder classes that know how to find static files in
# various locations.
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment