Revision 7df4ecdc
b/snf-app/setup.py | ||
---|---|---|
210 | 210 |
'web_apps = synnefo.app_settings:synnefo_web_apps', |
211 | 211 |
'web_middleware = synnefo.app_settings:synnefo_web_middleware', |
212 | 212 |
'urls = synnefo.app_settings.urls:urlpatterns', |
213 |
'web_static = synnefo.app_settings:synnefo_static_files', |
|
213 | 214 |
] |
214 | 215 |
}, |
215 | 216 |
) |
b/snf-app/synnefo/app_settings/__init__.py | ||
---|---|---|
19 | 19 |
] |
20 | 20 |
} |
21 | 21 |
] |
22 |
|
|
23 |
synnefo_static_files = { |
|
24 |
'synnefo.ui': '', |
|
25 |
'synnefo.admin': 'admin', |
|
26 |
} |
b/snf-webproject/synnefo/webproject/settings/default/site.py | ||
---|---|---|
20 | 20 |
|
21 | 21 |
# Absolute path to the directory that holds media. |
22 | 22 |
# Example: "/home/media/media.lawrence.com/" |
23 |
MEDIA_ROOT = '' |
|
23 |
MEDIA_ROOT = '/usr/share/synnefo/'
|
|
24 | 24 |
|
25 | 25 |
# URL that handles the media served from MEDIA_ROOT. Make sure to use a |
26 | 26 |
# trailing slash if there is a path component (optional in other cases). |
27 | 27 |
# Examples: "http://media.lawrence.com", "http://example.com/media/" |
28 | 28 |
MEDIA_URL = '/static/' |
29 | 29 |
|
30 |
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a |
|
31 |
# trailing slash. |
|
32 |
# Examples: "http://foo.com/media/", "/media/". |
|
33 |
ADMIN_MEDIA_PREFIX = '/media/' |
|
34 |
|
|
35 |
# app/directory static files map, used by link_static command to create |
|
36 |
# appropriate symlinks for static files |
|
37 |
STATIC_FILES = { |
|
38 |
'synnefo.ui': '', |
|
39 |
'synnefo.admin': 'admin', |
|
40 |
} |
|
30 |
STATIC_FILES = {} |
Also available in: Unified diff