From fbb2f4c3df45eae93ca55fc7146a1226746cf928 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 4 Jun 2016 08:27:26 +0530 Subject: [PATCH] dynamicdns: Move app to system configuration This app rightfully belongs in system configuration section instead of the application section. It is setup once and not used regularly. It is not service but enabler for other services. Closes: #441. --- plinth/modules/dynamicdns/__init__.py | 4 ++-- plinth/modules/dynamicdns/urls.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plinth/modules/dynamicdns/__init__.py b/plinth/modules/dynamicdns/__init__.py index 3a0b59c3e..7b3e99f69 100644 --- a/plinth/modules/dynamicdns/__init__.py +++ b/plinth/modules/dynamicdns/__init__.py @@ -26,7 +26,7 @@ from plinth.utils import format_lazy version = 1 -depends = ['apps'] +depends = ['system'] title = _('Dynamic DNS Client') @@ -51,7 +51,7 @@ description = [ def init(): """Initialize the module.""" - menu = cfg.main_menu.get('apps:index') + menu = cfg.main_menu.get('system:index') menu.add_urlname(title, 'glyphicon-refresh', 'dynamicdns:index') diff --git a/plinth/modules/dynamicdns/urls.py b/plinth/modules/dynamicdns/urls.py index 871205a0a..e884b250c 100644 --- a/plinth/modules/dynamicdns/urls.py +++ b/plinth/modules/dynamicdns/urls.py @@ -25,7 +25,7 @@ from . import dynamicdns as views urlpatterns = [ - url(r'^apps/dynamicdns/$', views.index, name='index'), - url(r'^apps/dynamicdns/configure/$', views.configure, name='configure'), - url(r'^apps/dynamicdns/statuspage/$', views.statuspage, name='statuspage'), + url(r'^sys/dynamicdns/$', views.index, name='index'), + url(r'^sys/dynamicdns/configure/$', views.configure, name='configure'), + url(r'^sys/dynamicdns/statuspage/$', views.statuspage, name='statuspage'), ]