Skip to main content

DJANGO KELOVE 内容管理系统

Project description

KELOVE 内容管理系统

项目地址:

【Coding:】https://xqitw.coding.net/public/django-kelove-cms/django-kelove-cms/git

安装说明:

需要加载的应用模块

INSTALLED_APPS = [
    ...
    'django_kelove_cms',
    ...
]

需要添加的路由

# 根url下添加以下路由
urlpatterns = [
    ...
     # kelove CMS
     path('cms/', include('django_kelove_cms.urls', namespace='django_kelove_cms')),
    ...
]

添加配置配置

# 路由配置(可选)
KELOVE_CMS_URL_SETTINGS = {
    "tag_url": r'^tag/(?P<pk>[\w-]+)/page/(?P<page>[\w-]+)/$',
    "tag_home_url": r'^tag/(?P<pk>[\w-]+)/$',

    "category_url": r'^category/(?P<pk>[\w-]+)/page/(?P<page>[\w-]+)/$',
    "category_home_url": r'^category/(?P<pk>[\w-]+)/$',

    "document_url": r'^(?P<pk>[\w-]+)/page/(?P<page>[\w-]+)/$',
    "document_home_url": r'^(?P<pk>[\w-]+).html$',

    "search_url": r'^search/page/(?P<page>[\w-]+)/$',
    "search_home_url": r'^search/$',
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

django_kelove_cms-0.4.0-py3-none-any.whl (24.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page