Yuge heifer-like bloated CMS - now with more django, S3, Lambda friendliness!
Project description
Yuge heifer-like bloated CMS - now with more django, S3, Lambda friendliness!
Documentation
Cow lives in lambda and breathes S3, and loves to ingest your waste and uselessly regurgitate your API calls. It provides no end to its own waste, and offers all the bloat your money can’t buy.
Quickstart
Install cow:
pip install cow
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'rest_framework',
'cow',
...
)
Add cow’s URL patterns:
from cow import urls as cow_urls
urlpatterns = [
...
url(r'^', include(cow_urls)),
...
]
Migrate app:
./manage.py migrate cow
Usage
After installation, add a urls endpoint, and edit menu, page, and plugins
This should leave you with a hierarchy of pages (and their content)
The API should give you a sitemap-like structure, and upon navigation, a further API call would give all the specific content for plugin
Check examples for working samples of use!
TODO
Unit tests - menus and some basic view checks
Add deliciously overweight but relatable cow icon, as an endearing and manipulating draw in for suckers wanted to support literal and metaphorical dead weight
Features
Big fat bloated heifer offering content
Configure menu, page, plugin content for mobile consumption
Running Tests
Does the code actually work?:
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
License
Copyright Jon Robison 2017, see LICENSE for details
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 Distribution
Built Distribution
File details
Details for the file cow-1.0.7.tar.gz
.
File metadata
- Download URL: cow-1.0.7.tar.gz
- Upload date:
- Size: 328.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38f121fe307deafa57e9600a175383e2382e6c44f701ff900a03a3b6dfa5a3a3 |
|
MD5 | b18b230f181d05c0116fb7e963ee2d9f |
|
BLAKE2b-256 | 9d53a63f811bbe763fcec1224d728a5a812ec52cc4ef615a450bd923750c7ea8 |
File details
Details for the file cow-1.0.7-py2.py3-none-any.whl
.
File metadata
- Download URL: cow-1.0.7-py2.py3-none-any.whl
- Upload date:
- Size: 390.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a73090dab1c95f431e0bff7b569c1099526d85fde1c5fdfc6f18abd2360eae |
|
MD5 | ae74002407cb738c47817ab3199e69b7 |
|
BLAKE2b-256 | 921b245ada2d8e150a59d2c53ef57f14dda2ee089ba188eec20f7973f7366d65 |