===========
Hexia Pages
===========
Hexia Pages is a simple Django app for create pages editable within Admin. It is useful for things like
terms and conditions and privacy policy where you might want to edit the pages, don't need a full CMS
but don't want to be changing templates all the time.
Detailed documentation is needs writing.
Quick start
-----------
1. pip install hexia-pages
2. Add "hexia_pages" and dependencies to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'ckeditor',
'ckeditor_uploader',
'hexia_pages',
]
3. Include the hexia_pages URLconf in your project urls.py like this::
path('pages/', include('hexia_pages.urls', namespace='hexia_pages')),
4. Run `python manage.py migrate` to create the hexia_pages models.
5. Start the development server and visit http://127.0.0.1:8000/admin/
to create a Page (you'll need the Admin app enabled). Simple create a page with a unique slug.
6. Add a link to your template.
<a href="{% url 'hexia_pages:page_view' object.slug %}">Link Text</a> provides the detail of a specific page.
Template: hexia_pages/page_detail.html
7. Visit http://127.0.0.1:8000/.
Hexia Pages
===========
Hexia Pages is a simple Django app for create pages editable within Admin. It is useful for things like
terms and conditions and privacy policy where you might want to edit the pages, don't need a full CMS
but don't want to be changing templates all the time.
Detailed documentation is needs writing.
Quick start
-----------
1. pip install hexia-pages
2. Add "hexia_pages" and dependencies to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'ckeditor',
'ckeditor_uploader',
'hexia_pages',
]
3. Include the hexia_pages URLconf in your project urls.py like this::
path('pages/', include('hexia_pages.urls', namespace='hexia_pages')),
4. Run `python manage.py migrate` to create the hexia_pages models.
5. Start the development server and visit http://127.0.0.1:8000/admin/
to create a Page (you'll need the Admin app enabled). Simple create a page with a unique slug.
6. Add a link to your template.
<a href="{% url 'hexia_pages:page_view' object.slug %}">Link Text</a> provides the detail of a specific page.
Template: hexia_pages/page_detail.html
7. Visit http://127.0.0.1:8000/.
Metadata
Release files for hexia-pages 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hexia-pages-1.0.6.tar.gz | 4.6 kB | Details |
Release files / hexia-pages-1.0.6.tar.gz
| Download URL | hexia-pages-1.0.6.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a96b572aad1c5aa58cd879bd084cc0c19581e5605ee7c18a074ee005f1cb7a4d
|
|
BLAKE2b-256 checksum How to use checksums |
0a99123da11ed1d515aeb8c44be100e40e850feb5c2731f28cab8d7656b74bf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2
|