Simple application that allows you to organize pages in a tree
Project description
# Django Clever Pages [![Tests](https://travis-ci.org/artofhuman/django-clever-pages.png)](https://travis-ci.org/artofhuman/django-clever-pages)
# RU
Простое приложение для организации статичных страниц.
* Умеет строить древовидную структуру страниц на основе mptt.
* Генерирует урл начиная от родительской страницы
* Имеет drag-n-drop управление страницами в админке
* Определены индексы для haystack, sphinx в планах
* Метатеги на основе django-meta
# 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 djago-meta
## Instalation
Add to your `reqs.txt` file and make `pip install -r reqs.txt`
pip install git+git://github.com/artofhuman/django-clever-pages
Add this line to your settings.py
~~~~ Python
INSTALLED_APPS = (
"page",
)
~~~~
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
<head>
{% if meta.title %}
<title>{{ meta.title }}</title>
{% else %}
<title>{% block title %}{% endblock %}</title>
{% endif %}
{% if meta.description %}{% meta 'description' meta.description %}{% endif %}
{% if meta.keywords %}{% meta_list 'keywords' meta.keywords %}{% endif %}
</head>
~~~~
# TODO
- Add test
- Add section about haystack
- Add sphinx integration
- Add dependences
- Add screenshot
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")
# RU
Простое приложение для организации статичных страниц.
* Умеет строить древовидную структуру страниц на основе mptt.
* Генерирует урл начиная от родительской страницы
* Имеет drag-n-drop управление страницами в админке
* Определены индексы для haystack, sphinx в планах
* Метатеги на основе django-meta
# 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 djago-meta
## Instalation
Add to your `reqs.txt` file and make `pip install -r reqs.txt`
pip install git+git://github.com/artofhuman/django-clever-pages
Add this line to your settings.py
~~~~ Python
INSTALLED_APPS = (
"page",
)
~~~~
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
<head>
{% if meta.title %}
<title>{{ meta.title }}</title>
{% else %}
<title>{% block title %}{% endblock %}</title>
{% endif %}
{% if meta.description %}{% meta 'description' meta.description %}{% endif %}
{% if meta.keywords %}{% meta_list 'keywords' meta.keywords %}{% endif %}
</head>
~~~~
# TODO
- Add test
- Add section about haystack
- Add sphinx integration
- Add dependences
- Add screenshot
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
Close
Hashes for django-clever-pages-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99613976bc433441e9316e5089b3c88685f353e05175fd70fc53cc0e2e19599e |
|
MD5 | 616a95fcf50910d1a0dd9d105780fc4e |
|
BLAKE2b-256 | a7769bda1f612cd7d9182fb8ba3e3143f1bbfe5606e8b76e84d266927d40419a |