Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Ticket #7219


Ignore:
Timestamp:
11/11/11 11:18:29 (12 years ago)
Author:
atarkowska
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7219

    • Property Priority changed from minor to major
    • Property Component changed from General to Web
    • Property Remaining Time changed from to 0.5
  • Ticket #7219 – Description

    initial v1  
    11settings.py needs to be configured in order to support django.contrib.staticfiles 
     2 
     3 
     4{{{ 
     5# Static file handler 
     6STATICFILES_FINDERS = ( 
     7    "django.contrib.staticfiles.finders.FileSystemFinder", 
     8    "django.contrib.staticfiles.finders.AppDirectoriesFinder" 
     9) 
     10 
     11STATIC_URL = '/static/' 
     12 
     13STATIC_ROOT = os.path.join(os.path.dirname(__file__), 'custom_static').replace('\\','/') 
     14 
     15STATICFILES_DIRS = ( 
     16    ("alias", os.path.dirname('my_static_dir').replace('\\','/')), 
     17    '/home/example.com/static/, 
     18) 
     19 
     20# Template file handler 
     21TEMPLATE_CONTEXT_PROCESSORS = ( 
     22    ... 
     23    "django.core.context_processors.static", 
     24) 
     25 
     26INSTALLED_APPS = ( 
     27    'django.contrib.staticfiles', 
     28    ... 
     29}}} 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.12611 sec.)

We're Hiring!