gipsy-pages
gipsy-pages is a software for things. Short description here.
Installation
pip install gipsy-pages
or
git clone ssh://git@git.revsquare.com/seler/gipsy-pages
cd gipsy-pages
python setup.py install
or for development
git clone ssh://git@git.revsquare.com/seler/gipsy-pages
cd gipsy-pages
pip install -r requirements/dev.txt
python setup.py develop
Usage
Add to requirements gipsy-pages, gipsy-sections and other used libraries:
'filebrowser',
'gipsy.sections',
'gipsy.pages',
'mptt',
'django_extensions',
List templates for pages and sections:
GIPSY_PAGES_PAGE_TEMPLATE_NAME_ARTICLE = 'pages/article.html'
GIPSY_PAGES_PAGE_TEMPLATE_NAME_SIMPLE = 'pages/simple.html'
GIPSY_PAGES_PAGE_TEMPLATE_NAME_CHOICES = (
(GIPSY_PAGES_PAGE_TEMPLATE_NAME_ARTICLE, 'Article'),
(GIPSY_PAGES_PAGE_TEMPLATE_NAME_SIMPLE, 'Simple'),
)
GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_TEXT = 'sections/text.html'
GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_IMAGE = 'sections/image.html'
GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_CHOICES = (
(GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_TEXT, 'Text'),
(GIPSY_SECTIONS_SECTION_TEMPLATE_NAME_IMAGE, 'Image'),
)
add pages to urls:
url(r'^', include('gipsy.pages.urls', namespace='pages')),
# or
url(r'^pages/', include('gipsy.pages.urls', namespace='pages')),
and then run migrations:
django-admin migrate
Metadata
Release files for gipsy-pages 0.4.5
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 |
|---|---|---|---|---|
| gipsy-pages-0.4.5.tar.gz | 9.2 kB | Without provenance | Details for gipsy-pages-0.4.5.tar.gz |
Release files / gipsy-pages-0.4.5.tar.gz
| Download URL | gipsy-pages-0.4.5.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db7fe51082b203cf37e2301853733340a51cf6896be5a7de1fc7beeab501cd0c
|
|
BLAKE2b-256 checksum How to use checksums |
096090c0ddc3ccc953b781689a098910ad7ce377ea3318e40856c62bd7fec420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gipsy-pages 0.4.5
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.