diff --git a/django_hstore/static/admin/css/django-hstore-widget.css b/django_hstore/static/admin/css/django-hstore-widget.css deleted file mode 100755 index 0931081..0000000 --- a/django_hstore/static/admin/css/django-hstore-widget.css +++ /dev/null @@ -1,4 +0,0 @@ -.grp-tools li a.hstore-remove-handler{ background-position: 0 -3003px } -.grp-tools li a.hstore-remove-handler:hover{ background-position: 0 -3047px } -.grp-tools li a.hstore-add-handler { background-position: 0 -2563px } -.grp-tools li a.hstore-add-handler:hover { background-position: 0 -2959px } diff --git a/django_hstore/templates/hstore_grappelli_widget.html b/django_hstore/templates/hstore_grappelli_widget.html index 677af66..ea1a1ea 100755 --- a/django_hstore/templates/hstore_grappelli_widget.html +++ b/django_hstore/templates/hstore_grappelli_widget.html @@ -11,7 +11,7 @@ placeholder="{% trans 'value' %}"> @@ -23,7 +23,7 @@

<%= label %>

<% if(help && help != '') { %> diff --git a/django_hstore/widgets.py b/django_hstore/widgets.py index 96b11cc..8163dcc 100755 --- a/django_hstore/widgets.py +++ b/django_hstore/widgets.py @@ -19,7 +19,7 @@ class BaseAdminHStoreWidget(AdminTextareaWidget): Base admin widget class for default-admin and grappelli-admin widgets """ admin_style = 'default' - + @property def media(self): # load underscore from CDNJS (popular javascript content delivery network) @@ -33,11 +33,7 @@ def media(self): js = external_js + [static("admin/js/%s" % path) for path in internal_js] - css = { - 'all': [static("admin/css/django-hstore-widget.css")] - } - - return forms.Media(js=js, css=css) + return forms.Media(js=js) def render(self, name, value, attrs=None): if attrs is None: