diff options
Diffstat (limited to 'chimere/forms.py')
-rw-r--r-- | chimere/forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chimere/forms.py b/chimere/forms.py index e465a8f..a2a721b 100644 --- a/chimere/forms.py +++ b/chimere/forms.py @@ -110,6 +110,10 @@ class CategoryAdminForm(forms.ModelForm): Main form for categories """ description = forms.CharField(widget=TextareaWidget, required=False) + class Media: + js = list(settings.JQUERY_JS_URLS) + [ + '%schimere/js/menu-sort.js' % settings.STATIC_URL, + ] class Meta: model = Category |