# Path: pages/apps.py
# class PagesAppConfig(AppConfig):
#     name = 'pages'
#     verbose_name = _('Pages')
# 
# Path: pages/views.py
# class PageView(DetailView):
#     """
#     Show a page
# 
#     Template: ``page.html``
# 
#     Specific context variable: ``menu_link``
#     """
#     template_name = '{0}/page.html'.format(settings.CURRENT_SKIN)
#     queryset = MenuLink.objects.have_pages()
#     context_object_name = 'menu_link'


from django.conf.urls import url
from .apps import PagesAppConfig
from .views import PageView
# coding: utf-8
# Module: urls
# Created on: 17.11.2015
# Author: Roman Miroshnychenko aka Roman V.M. (romanvm@yandex.ua)



app_name = PagesAppConfig.name

urlpatterns = [
    url(r'^(?P<slug>[\w-]+)/$', PageView.as_view(), name='page')

# Path: pages/apps.py
# class PagesAppConfig(AppConfig):
#     name = 'pages'
#     verbose_name = _('Pages')
# 
# Path: pages/views.py
# class PageView(DetailView):
#     """
#     Show a page
# 
#     Template: ``page.html``
# 
#     Specific context variable: ``menu_link``
#     """
#     template_name = '{0}/page.html'.format(settings.CURRENT_SKIN)
#     queryset = MenuLink.objects.have_pages()
#     context_object_name = 'menu_link'


# Path: pages/urls.py
from django.conf.urls import url
from .apps import PagesAppConfig
from .views import PageView

# coding: utf-8
# Module: urls
# Created on: 17.11.2015
# Author: Roman Miroshnychenko aka Roman V.M. (romanvm@yandex.ua)



app_name = PagesAppConfig.name

urlpatterns = [
    url(r'^(?P<slug>[\w-]+)/$', PageView.as_view(), name='page')

]