https://github.com/pkqk/django-bland
a bland file based cms for django
https://github.com/pkqk/django-bland
Last synced: 19 days ago
JSON representation
a bland file based cms for django
- Host: GitHub
- URL: https://github.com/pkqk/django-bland
- Owner: pkqk
- Created: 2012-09-19T23:30:07.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-20T22:32:27.000Z (over 13 years ago)
- Last Synced: 2025-09-22T12:58:18.243Z (8 months ago)
- Language: Python
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
The most basic possible cms for a django app
add bland.views.root('/path/to/your/txt/files') as a view
.txt files will be rendered using markdown in such a way that
these URLs will work based on this file structure
/ -> index.txt
/about -> about.html
/sub/ -> sub/index.txt
/sub/info -> sub/info.txt
if not-found.txt is present then it will be rendered for 404s
otherwise the standard django 404 will be rendered