# Django Clever Pages
[](http://badge.fury.io/py/django-clever-pages)
[](https://travis-ci.org/artofhuman/django-clever-pages)
[](https://coveralls.io/r/artofhuman/django-clever-pages)
[](https://crate.io/packages/django-clever-pages)
Simple application that allows you to organize pages in a tree
# Idea
Is located at the top level home page. Other pages are linked to the home page. Thus obtaining a tree. On the basis of field slug and parents pages generated path when saving. In the view gets page by unique path from the database.
# Features
* Organize pages in tree structure
* Includes CKEditor
* Auto build path by page slug
* Generate page url, include all parents
* Drag-n-dtop interface in admin
* Include Search indices for haystack (need haystack >= 2.x). Sphinx in plans
* Include meta tags via 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 = (
'feincms',
'meta',
'ckeditor',
'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
{% 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 :)
[](https://bitdeli.com/free "Bitdeli Badge")
[](http://badge.fury.io/py/django-clever-pages)
[](https://travis-ci.org/artofhuman/django-clever-pages)
[](https://coveralls.io/r/artofhuman/django-clever-pages)
[](https://crate.io/packages/django-clever-pages)
Simple application that allows you to organize pages in a tree
# Idea
Is located at the top level home page. Other pages are linked to the home page. Thus obtaining a tree. On the basis of field slug and parents pages generated path when saving. In the view gets page by unique path from the database.
# Features
* Organize pages in tree structure
* Includes CKEditor
* Auto build path by page slug
* Generate page url, include all parents
* Drag-n-dtop interface in admin
* Include Search indices for haystack (need haystack >= 2.x). Sphinx in plans
* Include meta tags via 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 = (
'feincms',
'meta',
'ckeditor',
'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
{% 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 :)
[](https://bitdeli.com/free "Bitdeli Badge")
Metadata
Release files for django-clever-pages 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-clever-pages-0.3.1.tar.gz | 8.1 kB | Details |
Release files / django-clever-pages-0.3.1.tar.gz
| Download URL | django-clever-pages-0.3.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55ec0b27d49133389c0782914610e03e7737781790ed40ba2a3aa0ed8970f866
|
|
BLAKE2b-256 checksum How to use checksums |
9ad4ef60657290f587ce48db12793967f537bb490459d83ff467179f58c5d73b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |