Skip to content
This repository has been archived by the owner on Jul 4, 2022. It is now read-only.

DemocracyClub/django-hermes

 
 

Repository files navigation

https://travis-ci.org/DemocracyClub/django-hermes.svg?branch=master

django-hermes

A light-weight blogging app for Django.

Installation

Download

pip install django-hermes

Add To Installed Apps

In your django settings file, add hermes to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'hermes',
    ...
)

If you want to create your blog templates in a specific app directory (other than hermes), make sure that that app comes before hermes in your INSTALLED_APPS. Otherwise, Django will render the templates that are in the hermes app itself and not yours.

Setup URLs

Include hermes.urls in your ROOT_URLCONF:

url(r'^blog/', include('hermes.urls')),

Create Templates

Hermes expects three templates:

  1. hermes/post_list.html
  2. hermes/post_detail.html
  3. hermes/random_post_list.html

TODO

  1. Create Sphinx Documentation
  2. Support tagging
  3. Annotations ala Medium?

About

A light-weight blogging app for Django.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.9%
  • HTML 1.1%