Commits

Dmitri Lebedev committed 07d9b68

more static folders (img, js)

Comments (0)

Files changed (3)

project/settings.py

 ADMIN_MEDIA_PREFIX = '/s/admin/'
 
 # Additional locations of static files
-STATICFILES_DIRS = (
-	# Put strings here, like "/home/html/static" or "C:/www/django/static".
-	# Always use forward slashes, even on Windows.
-	# Don't forget to use absolute paths, not relative paths.
-	('css', os.path.join(STATIC_ROOT, 'css')),
-)
+STATICFILES_DIRS = ((i, os.path.join(STATIC_ROOT, i)) for i in 'css img js'.split())
 
 # List of finder classes that know how to find static files in
 # various locations.

project/static/img/.placeholder

Empty file added.

project/static/js/.placeholder

Empty file added.