Skip to main content

A stupid-simple blog app.

Project description

# Django-Basic-Blog ![Build Status](

DBB is a dead simple blog app. It has entries and an RSS feed; not much else. Entries are expected to be in raw html.

## Quick start

Install with pip

pip install django-basic-blog

Add "blog" to your INSTALLED_APPS setting like this:


Include the blog URLconf in your project like this:

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

Run `python migrate` to create the blog models.

Add the settings vars for RSS fields:

BLOG_TITLE // Default "My Blog"
BLOG_DESCRIPTION // Default "I have a Django Blog!"

and the override the default entries/page and RSS pagination if you want


Start the development server and visit
to create an entry (you'll need the Admin app enabled).

Visit to see the blog.

*NOTE*: There is support for each entry having associated js, but you need work that into the templates yourself. Be careful.

## Development and Testing

### Development

Make a venv, install django.

Set env var to the test settings

export PYTHONPATH='/home/ben/Projects/django-basic-blog'
export DJANGO_SETTINGS_MODULE='sample_project.settings'

Start the server with `django-admin runserver`.

(If you want the admin to be pretty, try collecting statics.)

To poke around with creating and displaying entries:

Set up a superuser (`django-admin createsuperuser`) and hit the admin at `/admin` to try stuff out.

### Testing

`django-admin test blog --settings=sample_project.settings`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-basic-blog-0.17.tar.gz (10.4 kB) Copy SHA256 hash SHA256 Source None Jan 15, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page