Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkqk/django-bland
a bland file based cms for django
https://github.com/pkqk/django-bland
Last synced: 9 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 12 years ago)
- Default Branch: master
- Last Pushed: 2012-09-20T22:32:27.000Z (over 12 years ago)
- Last Synced: 2024-12-12T00:14:21.836Z (about 1 month ago)
- Language: Python
- Size: 109 KB
- Stars: 0
- Watchers: 2
- 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.txtif not-found.txt is present then it will be rendered for 404s
otherwise the standard django 404 will be rendered