kopia lustrzana https://github.com/wagtail/wagtail
static path for wagtail.contrib.settings should be 'wagtailsettings' to avoid name clashes
rodzic
66f595cb5d
commit
ed84057b07
|
@ -54,7 +54,9 @@ var apps = [
|
|||
'wagtailstyleguide/scss/styleguide.scss'
|
||||
],
|
||||
}),
|
||||
new App('wagtail/contrib/settings'),
|
||||
new App('wagtail/contrib/settings', {
|
||||
'appName': 'wagtailsettings',
|
||||
}),
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
|
|
|
@ -11,7 +11,7 @@ class SiteSwitchForm(forms.Form):
|
|||
|
||||
class Media:
|
||||
js = [
|
||||
'settings/js/site-switcher.js',
|
||||
'wagtailsettings/js/site-switcher.js',
|
||||
]
|
||||
|
||||
def __init__(self, current_site, model, **kwargs):
|
||||
|
|
Ładowanie…
Reference in New Issue