Skip to main content

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.

Installation

  • 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’:

INSTALLED_APPS = (
    ...
    'mptt',
    ...
    'blawg',
    ...
)
  • Include the urlconf of the app in your project’s urls.py:

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/’.

Usage

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.

Settings

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: ‘-’

License

BSD

Author

Aristotelis Mikropoulos <amikrop@gmail.com>

Release files for django-blawg 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-blawg 0.0.1
File Size Uploaded
django-blawg-0.0.1.zip 55.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for django-blawg 0.0.1
File Interpreter ABI Platform
django_blawg-0.0.1-py2-none-any.whl Python 2 none any Details
django-blawg-0.0.1.win32.exe Details

Total release size: 356.4 kB

Release files / django-blawg-0.0.1.zip

Download URL django-blawg-0.0.1.zip
Size 55.3 kB
Tags Source
SHA-256 checksum
How to use checksums
13e4f1c1dfb6ad018d2082027ab51e6dba9abd0d85541778ad12d5d30998a5cd
BLAKE2b-256 checksum
How to use checksums
165b97251c27e999dd0ac3abdb4c2ee17d4e0436dce85058d029cffa1dd8dedd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_blawg-0.0.1-py2-none-any.whl

Download URL django_blawg-0.0.1-py2-none-any.whl
Size 52.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
bcd4c9f52c25e29448798fea3b21839717000a1bbc2a4f02fcb2d000b79c2209
BLAKE2b-256 checksum
How to use checksums
a87471408ebe6e82dfad9f60b97bbb2258931963377ed9b685323b77a68ee38a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django-blawg-0.0.1.win32.exe

Download URL django-blawg-0.0.1.win32.exe
Size 248.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1d1f43ae00eb206bdd1e38bf72e04aac929e1a638e35511d0e5af00b00e4e21f
BLAKE2b-256 checksum
How to use checksums
a8ef87f8cc81544a982ca9fb822e6d0db6147b03b0433b7dd471b0fb52117f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page