From 84cbc83911d3be82fe5baa95bf38412f37005fbf Mon Sep 17 00:00:00 2001 From: Toby Date: Thu, 10 May 2012 14:43:12 +0100 Subject: [PATCH] setup fanstatic for css and javascript libs --- ckan/html_resources/__init__.py | 3 ++- setup.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ckan/html_resources/__init__.py b/ckan/html_resources/__init__.py index e7a8b24f18e..d09f4bf15ff 100644 --- a/ckan/html_resources/__init__.py +++ b/ckan/html_resources/__init__.py @@ -139,4 +139,5 @@ def create_resource(filename): # create our library here -create_library('resources', 'resources') +create_library('javascript', 'javascript') +create_library('css', 'css') diff --git a/setup.py b/setup.py index 2eb548fc4e8..f756bea272f 100644 --- a/setup.py +++ b/setup.py @@ -106,7 +106,8 @@ domain_object_mods = ckan.model.modification:DomainObjectModificationExtension [fanstatic.libraries] - resource = html_resources:resources + css = html_resources:css + javascript = html_resources:javascript """, # setup.py test command needs a TestSuite so does not work with py.test