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.
- Timestamp:
-
11/11/11 11:18:29 (12 years ago)
- Author:
-
atarkowska
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Priority
changed from
minor
to
major
-
Property
Component
changed from
General
to
Web
-
Property
Remaining Time
changed from
to
0.5
-
initial
|
v1
|
|
1 | 1 | settings.py needs to be configured in order to support django.contrib.staticfiles |
| 2 | |
| 3 | |
| 4 | {{{ |
| 5 | # Static file handler |
| 6 | STATICFILES_FINDERS = ( |
| 7 | "django.contrib.staticfiles.finders.FileSystemFinder", |
| 8 | "django.contrib.staticfiles.finders.AppDirectoriesFinder" |
| 9 | ) |
| 10 | |
| 11 | STATIC_URL = '/static/' |
| 12 | |
| 13 | STATIC_ROOT = os.path.join(os.path.dirname(__file__), 'custom_static').replace('\\','/') |
| 14 | |
| 15 | STATICFILES_DIRS = ( |
| 16 | ("alias", os.path.dirname('my_static_dir').replace('\\','/')), |
| 17 | '/home/example.com/static/, |
| 18 | ) |
| 19 | |
| 20 | # Template file handler |
| 21 | TEMPLATE_CONTEXT_PROCESSORS = ( |
| 22 | ... |
| 23 | "django.core.context_processors.static", |
| 24 | ) |
| 25 | |
| 26 | INSTALLED_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.)