from django import forms
from .models import Script


class ScriptForm(forms.ModelForm):
    class Meta:
        model = Script

    class Media:
        css = {
            'all': (
                'css/codemirror.css',
                'css/highlight.min.css'
            )
        }
        js = (
            'js/codemirror.js',
            'js/python.js',
            'js/highlight.min.js',
        )
@@ -120,16 +120,52 @@
 = Script
+%0A        fields = %5B'name', 'source'%5D
 %0A%0A    cl

Fix form fields definition