App for create pages
Project description
# Django Clever Pages
[![Tests](https://travis-ci.org/artofhuman/django-clever-pages.png)](https://travis-ci.org/artofhuman/django-clever-pages)
[![Coverage Status](https://coveralls.io/repos/artofhuman/django-clever-pages/badge.png)](https://coveralls.io/r/artofhuman/django-clever-pages)
# EN
Simple application that allows you to organize pages in a tree
* Organize pages in tree structure
* Generate page url, include all parents
* Drag-n-dtop interface in admin
* Include Search indices for haystack. Sphinx in plans
* Include meta tags via django-meta
# RU
Простое приложение для организации статичных страниц.
* Умеет строить древовидную структуру страниц на основе mptt.
* Генерирует урл начиная от родительской страницы
* Имеет drag-n-drop управление страницами в админке
* Определены индексы для haystack, sphinx в планах
* Метатеги на основе django-meta
## Instalation
## From Pypi
pip install django-clever-pages
## From github
pip install git+git://github.com/artofhuman/django-clever-pages
Add this line to your settings.py
~~~~ Python
INSTALLED_APPS = (
"page",
"meta",
)
~~~~
Add it to end urls.py
~~~~ Python
urlpatterns = patterns('',
('', include('page.urls'))
)
~~~~
You can define more templates in settings.py
~~~~ Python
PAGE_TEMPLATES = (
('contacts', u'Contacts'),
)
~~~~
Meta tags in base.html
~~~~ Django
{% load meta %}
<head>
<title>{{ meta.title }}</title>
{% if meta.description %}{% meta 'description' meta.description %}{% endif %}
{% if meta.keywords %}{% meta_list 'keywords' meta.keywords %}{% endif %}
</head>
~~~~
# TODO
- Add locales
- Add section about haystack
- Add sphinx integration
- Add Etag cache
P.S. Sorry for my bad english :)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/artofhuman/django-clever-pages/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
[![Tests](https://travis-ci.org/artofhuman/django-clever-pages.png)](https://travis-ci.org/artofhuman/django-clever-pages)
[![Coverage Status](https://coveralls.io/repos/artofhuman/django-clever-pages/badge.png)](https://coveralls.io/r/artofhuman/django-clever-pages)
# EN
Simple application that allows you to organize pages in a tree
* Organize pages in tree structure
* Generate page url, include all parents
* Drag-n-dtop interface in admin
* Include Search indices for haystack. Sphinx in plans
* Include meta tags via django-meta
# RU
Простое приложение для организации статичных страниц.
* Умеет строить древовидную структуру страниц на основе mptt.
* Генерирует урл начиная от родительской страницы
* Имеет drag-n-drop управление страницами в админке
* Определены индексы для haystack, sphinx в планах
* Метатеги на основе django-meta
## Instalation
## From Pypi
pip install django-clever-pages
## From github
pip install git+git://github.com/artofhuman/django-clever-pages
Add this line to your settings.py
~~~~ Python
INSTALLED_APPS = (
"page",
"meta",
)
~~~~
Add it to end urls.py
~~~~ Python
urlpatterns = patterns('',
('', include('page.urls'))
)
~~~~
You can define more templates in settings.py
~~~~ Python
PAGE_TEMPLATES = (
('contacts', u'Contacts'),
)
~~~~
Meta tags in base.html
~~~~ Django
{% load meta %}
<head>
<title>{{ meta.title }}</title>
{% if meta.description %}{% meta 'description' meta.description %}{% endif %}
{% if meta.keywords %}{% meta_list 'keywords' meta.keywords %}{% endif %}
</head>
~~~~
# TODO
- Add locales
- Add section about haystack
- Add sphinx integration
- Add Etag cache
P.S. Sorry for my bad english :)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/artofhuman/django-clever-pages/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-clever-pages-0.2.4.tar.gz
(10.7 kB
view hashes)
Close
Hashes for django-clever-pages-0.2.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 127cffda797426539a027affcdf1420797010a3b6959027251278c617e7f79c5 |
|
MD5 | e78aba5bcea2a3114ff2ea252330e4fb |
|
BLAKE2b-256 | 4bbc1134781a6a1ef7555edb2b027263e529c2758541808b53c40bbb0f6aa408 |