创建页面的应用程序

django-clever-pages的Python项目详细描述


#django聪明的页面

[![PYPI版本](https://badge.fury.io/py/django-clever pages.png)(http://badge.fury.io/py/django-clever pages)
[![特拉维斯建设](https://travis ci.org/artofhuman/django clever pages.png)(https://travis ci.org/artofhuman/django clever pages)
[![覆盖状态](https://workalls.io/repos/artofhuman/django-clever pages/badge.png)(https://workalls.io/r/artofhuman/django-clever pages)
[![PYPI下载](https://pypip.in/d/django-clever-pages/badge.png)](https://crate.io/packages/django-clever-pages)


>允许您在树中组织页面的简单应用程序位于顶级主页。其他页面链接到主页。从而得到一棵树。基于字段slug和父页面生成保存时的路径。在视图中,按数据库中的唯一路径获取页面。

计划中的Sphinx包括通过django meta




<<<<








pip install django智能网页安装django智能网页

<





>在计划中添加这一行到您的设置中。py


~~~~ python
已安装的应用程序=(
'feincms',
'meta',
'ckeditor',
'page',

~~~~


将其添加到结束url。py
~~~~ python
urlpatterns=patterns('',
('',包括('page.url'))


~~~~~
您可以在设置中定义更多的模板。py
~~~~~~~~~~ python
网页模板=(
('contacts,u'contacts'),

~~~~~~~


>基本元标签中基本元标签中基本元标签。html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>;
{%if meta.description%}{%meta'description'meta.description%}{%endif%}
{%if meta.keywords%}{%meta_list'keywords'meta.keywords%}{%endif%}
<;/head>;
~~~~

[比特德利徽章](https://d2weczhvl823v0.cloudfront.net/artofhuman/django clever pages/trend.png)(https://bitdeli.com/free“比特德利徽章”)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Jsonify使用Jackson来定义嵌套对象   在Swing中禁用java图形调试   java Selenium Webdriver拖放在Jenkins上不起作用   java我对一个显示器的问题有一个非常不切实际的询问   java增强的“for”循环导致ArrayIndexOutOfBoundsException   ArrayAdapter适用于Java中的安卓编程,字符串数组   linux在Ubuntu上通过PulseAudio播放Java音频文件时出错   java在Spring应用程序中加载内部(类路径)和外部属性文件   java使用Maven连接到mySQL   Java应用程序的设计   websocket在电报api java中与dc的连接   java XMLStreamException,因为xml中的(&N)   java从控制台输出到JTextArea   Java导出文本文件   java实现parseInt方法   java为什么servlet容器会同步对特定资源/servlet的多个请求的访问?   循环中的Java“while”变量   用Java编程一个国际象棋游戏,gameOver布尔不起作用   java如何获得真正的JPanel大小?