pagekite: 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.
This commit is contained in:
Sunil Mohan Adapa 2016-06-04 08:30:08 +05:30 committed by James Valleroy
parent fbb2f4c3df
commit 5a0e2c0b91
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 7 additions and 7 deletions

View File

@ -26,14 +26,14 @@ from . import utils
version = 1
depends = ['apps', 'names']
depends = ['system', 'names']
title = _('Public Visibility (PageKite)')
def init():
"""Intialize the PageKite module"""
menu = cfg.main_menu.get('apps:index')
menu = cfg.main_menu.get('system:index')
menu.add_urlname(title, 'glyphicon-flag', 'pagekite:index')
# Register kite name with Name Services module.

View File

@ -26,13 +26,13 @@ from .views import StandardServiceView, CustomServiceView, ConfigurationView, \
urlpatterns = [
url(r'^apps/pagekite/$', index, name='index'),
url(r'^apps/pagekite/configure/$', ConfigurationView.as_view(),
url(r'^sys/pagekite/$', index, name='index'),
url(r'^sys/pagekite/configure/$', ConfigurationView.as_view(),
name='configure'),
url(r'^apps/pagekite/services/standard$', StandardServiceView.as_view(),
url(r'^sys/pagekite/services/standard$', StandardServiceView.as_view(),
name='standard-services'),
url(r'^apps/pagekite/services/custom$', CustomServiceView.as_view(),
url(r'^sys/pagekite/services/custom$', CustomServiceView.as_view(),
name='custom-services'),
url(r'^apps/pagekite/services/custom/delete$', DeleteServiceView.as_view(),
url(r'^sys/pagekite/services/custom/delete$', DeleteServiceView.as_view(),
name='delete-custom-service'),
]