Add support for YAML configuration files. Add support for editing setting options and saving them using the new YAML configuration file support. Add new revertsettings management command. Add new permission to edit setting via the UI.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.conf.urls import url
|
||||
|
||||
from .views import NamespaceDetailView, NamespaceListView
|
||||
from .views import NamespaceDetailView, NamespaceListView, SettingEditView
|
||||
|
||||
urlpatterns = [
|
||||
url(
|
||||
@@ -13,4 +13,8 @@ urlpatterns = [
|
||||
r'^namespace/(?P<namespace_name>\w+)/$',
|
||||
NamespaceDetailView.as_view(), name='namespace_detail'
|
||||
),
|
||||
url(
|
||||
r'^edit/(?P<setting_global_name>\w+)/$',
|
||||
SettingEditView.as_view(), name='setting_edit_view'
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user