Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
capfirst(_("settings")),
{
"fields": (
"menu",
"language_code",
"template_key",
"application",
"optional",
),
"classes": ("tabbed",),
},
),
]
inlines = [
richtext.RichTextInline.create(model=models.RichText),
image.ImageInline.create(model=models.Image),
snippet.SnippetInline.create(model=models.Snippet),
external.ExternalInline.create(model=models.External),
html.HTMLInline.create(model=models.HTML),
]
class Media:
css = {
"all": (
"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css", # noqa
)
}
js = ("app/plugin_buttons.js",)
),
'classes': ('tabbed',),
}),
(capfirst(_('settings')), {
'fields': (
'menu',
'language_code',
'template_key',
'application',
),
'classes': ('tabbed',),
}),
]
inlines = [
richtext.RichTextInline.create(model=models.RichText),
image.ImageInline.create(model=models.Image),
]
class Media:
js = (
JS('https://use.fontawesome.com/releases/v5.0.10/js/all.js', {
'async': 'async',
'integrity': 'sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+', # noqa
'crossorigin': 'anonymous',
}, static=False),
'app/plugin_buttons.js',
)