X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/bf8e7237a705e2db952d94e7acde3b9f7a99ef91..ad61c0ead793098e8c9cbec326cdd3a4163f25ba:/contrib/gilbert/plugins/models.py?ds=inline diff --git a/contrib/gilbert/plugins/models.py b/contrib/gilbert/plugins/models.py index 5bf2550..cf871d5 100644 --- a/contrib/gilbert/plugins/models.py +++ b/contrib/gilbert/plugins/models.py @@ -10,7 +10,7 @@ from django.utils import simplejson as json from django.utils.encoding import smart_unicode from .base import Plugin from ..extdirect import ext_action, ext_method -import operator, staticmedia +import operator @ext_action(name='models') @@ -24,8 +24,8 @@ class Models(Plugin): @property def index_js_urls(self): return super(Models, self).index_js_urls + [ - staticmedia.url('gilbert/extjs/examples/ux/SearchField.js'), - staticmedia.url('gilbert/plugins/models.js'), + settings.STATIC_URL + 'gilbert/extjs/examples/ux/SearchField.js', + settings.STATIC_URL + 'gilbert/plugins/models.js', ] @property