django-tiniest-cms-0.9.1
توضیحات
django-tiniest-cms is a seriously minimalist Django CMS
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-tiniest-cms-0.9.1 |
| نام | django-tiniest-cms |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Gautier Hayoun |
| ایمیل نویسنده | ghayoun@gmail.com |
| آدرس صفحه اصلی | https://github.com/Gautier/django-tiniest-cms |
| آدرس اینترنتی | https://pypi.org/project/django-tiniest-cms/ |
| مجوز | MIT |
Django tiniest cms
==================
Installation
------------
#. The recommended way to install django-tiniest-cms package is with pip.
$ pip install django-tiniest-cms
#. Then add 'django-tiniest-cms' to `INSTALLED_APPS`.
Usage
-----
Assuming this would be the frontpage template of a website :
{% load tiniest_cms %}<html>
<head>
<title>{% content "website/frontpage/title" %}NO TITLE{% endcontent %}</title>
</head>
<body>
{% content "website/frontpage/main_content"%}
This is the website of ACME corporation
{% endcontent %}
</body>
</html>
Then in the administration you can add the content snippet matching the name
given to the `content` tags. The content will be rendered as markdown instead
of the default given to the `content` tags.
نحوه نصب
نصب پکیج whl django-tiniest-cms-0.9.1:
pip install django-tiniest-cms-0.9.1.whl
نصب پکیج tar.gz django-tiniest-cms-0.9.1:
pip install django-tiniest-cms-0.9.1.tar.gz