----------
This is simple-lightweight-zen Django CMS without magic.
Install
-------------
1. Install django-zen
```shell
pip install django-zen
```
2. Add to INSTALLED_APPS
```python
INSTALLED_APPS = (
...
'django_zen',
'mptt',
'feincms',
'redactor',
...
)
```
3. Add TinyMCE config
```python
REDACTOR_OPTIONS = {'lang': 'en'}
REDACTOR_UPLOAD = 'uploads/'
```
4. Add Django Zen urls
```python
url(r'', include('django_zen.urls')),
```
Menus
---------
1. Go to Django admin, add menu items. Add Menu ID for root-level menu, e.g. 'main'
2. In templates render menu
```html
{% load menu_tags %}
<ul>
{% menu main %}
<li class="{% active request menu_item.url %}">
<a href="{{ menu_item.url }}">{{ menu_item.name }}</a>
{% if not menu_item.is_leaf_node %}
<ul>
<div>
{{ children }}
</div>
</ul>
{% endif %}
</li>
{% endmenu %}
</ul>
```
Pages
----------
1. In templates directory create 'pages' direcotry for templates.
2. In Django admin add pages (You may add page to menu or create menu item for page).
3. Go to page url.
Metadata
Release files for django-zen 0.1.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-zen-0.1.14.tar.gz | 6.5 kB | Without provenance | Details for django-zen-0.1.14.tar.gz |
Release files / django-zen-0.1.14.tar.gz
| Download URL | django-zen-0.1.14.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676e54b490a01af152647ee2656f81f051d57a881c3492f97a136a2f1e3423fd
|
|
BLAKE2b-256 checksum How to use checksums |
1549ed731a05138321d4deff5b5a8c8fbdcfd1d7f8bfb50022088b9f4dcd34d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-zen 0.1.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.