Note: This is not quite ready for production. Working on an admin interface in the near future.
This basic blog template includes:
- Posts
- Categories
- Tags
- Feeds
- Basic Templates
- Optional comments via Disqus
Version: 0.2.2
This is set up to work with cp-project-template by the same author.
pip install http://github.com/colbypalmer/django-cp-blog/dist/django-cp-blog-0.01a.tar.gz
-
Add "grappelli" to the beginning of your INSTALLED_APPS and "blog", "epiceditor", "taggit", and "taggit-tags" to the end:
INSTALLED_APPS = ( 'grappelli', ... OTHER SETTINGS ... 'blog', 'epiceditor', 'taggit', 'taggit_templatetags', )
-
To use with Disqus comment integration, add
'DISQUS_SHORTNAME' = 'xxxxx'
to your settings.py. -
Include the blog URLconf in your project urls.py like this::
url(r'^blog/', include('blog.urls')),
-
Run
python manage.py migrate
to create the blog models. -
Start the development server and visit http://127.0.0.1:8000/admin/blog/blogentry/ to create a blog entry (you'll need the Admin app enabled).
-
Visit http://127.0.0.1:8000/blog/ to see your blog.
TODO: Document OpenGraph tags and location of base.html