Skip to main content

Simple blogging application

Project description

Simple blogging application

django-blawg is a very basic blogging app that was mainly made to practice generic views and mixins. It supports multiple blogs for users, date-based listings and comments. An already existing user authentication system is assumed and utilized. django-blawg is not optimized or built for large-scale usage.


  • Download and install from PyPI:
pip install django-blawg

This will also install django-mptt and django-autoslug, as they are dependencies.

  • Add it to your INSTALLED_APPS, as well as ‘mptt’:
  • Include the urlconf of the app in your project’s
from django.conf.urls import url, include

urlpatterns = [
    url(r'blog/', include('blawg.urls', namespace='blawg')),

Of course, you can put it under any url you want, like r’’ or r’^mysite/myblog/’.


The starting URL is some user’s username, his home page, which lists the user’s blogs. The root URL redirects to the currently logged in user’s home page.


All of the app settings are optional but you may want to modify them to customize to your needs.

  • BLAWG_TITLE_MAX_LENGTH: Maximum allowed characters for blog and entry title.

    Default: 100

  • BLAWG_DESCRIPTION_MAX_LENGTH: Maximum allowed characters for blog description.

    Default: 200

  • BLAWG_GUEST_NAME_MAX_LENGTH: Maximum allowed characters for anonymous commenter name.

    Default: 30

  • BLAWG_FORBIDDEN_SLUGS: List of words not allowed to be used as slugs.

    Default: [‘create’, ‘update’, ‘delete’]

  • BLAWG_SLUG_MODIFIER: String to be appended to an invalid slug.

    Default: ‘-‘




Aristotelis Mikropoulos <>

Project details

Download files

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

Files for django-blawg, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django_blawg-0.0.1-py2-none-any.whl (52.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size django-blawg-0.0.1.win32.exe (248.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (55.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page