Commit 0795077c authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Added snf-app entry points for static files

parent 8de23e53
......@@ -210,6 +210,7 @@ setup(
'web_apps = synnefo.app_settings:synnefo_web_apps',
'web_middleware = synnefo.app_settings:synnefo_web_middleware',
'urls = synnefo.app_settings.urls:urlpatterns',
'web_static = synnefo.app_settings:synnefo_static_files',
]
},
)
......
......@@ -19,3 +19,8 @@ synnefo_web_middleware = [
]
}
]
synnefo_static_files = {
'synnefo.ui': '',
'synnefo.admin': 'admin',
}
......@@ -20,21 +20,11 @@ USE_L10N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''
MEDIA_ROOT = '/usr/share/synnefo/'
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/media/'
# app/directory static files map, used by link_static command to create
# appropriate symlinks for static files
STATIC_FILES = {
'synnefo.ui': '',
'synnefo.admin': 'admin',
}
STATIC_FILES = {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment