URLs which render specified templates, controlled via models and the admin
Project description
- Version:
- 0.2.0
Release |
Status |
---|---|
stable (0.2.0) |
|
master |
An implementation of models, views etc. that can act as pages, though they have no content fields to speak of. Bring Your Own Content.
Pages consist only of a URL and a way to render a template at that URL. The default model implementation uses django-templateselector to provide template selection from HTML files within <templatedir>/varlet/pages/layouts
The application uses swapper to theoretically allow for using a different model.
If the application is mounted at the project root /, Pages may not have URLs which collide with those of another application in the urlconf.
The license
It’s the FreeBSD. There’s should be a LICENSE file in the root of the repository, and in any archives.
Copyright (c) 2017, Keryn Knight All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Change history for django-varlet
0.2.0
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file django_varlet-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_varlet-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d4d6d3fa346b9e1c160e25b948e866d0b2d374da49491adc2d51604fd92c8a5 |
|
MD5 | becde98e94560d50ab7d48d607541301 |
|
BLAKE2b-256 | 90ef9e17ea07af454ed0ec27f1d6fa4c26e8ff9e25d62b9bc21c94bf58883ef1 |