X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d5da2664b063711aee28851f41062e3666963fb3..e66808bc9a56116a8b13dc7445c3b5a4fa76148e:/apps/sponsors/widgets.py diff --git a/apps/sponsors/widgets.py b/apps/sponsors/widgets.py index 3bb586bcf..72aaf0a83 100644 --- a/apps/sponsors/widgets.py +++ b/apps/sponsors/widgets.py @@ -10,11 +10,11 @@ class SponsorPageWidget(forms.Textarea): js = ( 'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js', - settings.MEDIA_URL + 'sponsors/js/jquery.json.min.js', - settings.MEDIA_URL + 'sponsors/js/footer_admin.js', + settings.STATIC_URL + 'sponsors/js/jquery.json.min.js', + settings.STATIC_URL + 'sponsors/js/footer_admin.js', ) css = { - 'all': (settings.MEDIA_URL + 'sponsors/css/footer_admin.css',), + 'all': (settings.STATIC_URL + 'sponsors/css/footer_admin.css',), } def render(self, name, value, attrs=None):