Skip to main content

An easy way to start writing blog posts.

Project description


What is it?

django-simple-blog is a simple Django app for fast integrating your
current project with a blog-system

You can easily write blog posts, let users comment the posts if you'd like to.


You can do any of the following to install ``django-simple-blog``

- Run ``pip install django-simple-blog``.
- Run ``easy_install django-simple-blog``.
- Download or "git clone" the package and run ````.
- Download or "git clone" the package and add ``simpleblog`` to your PYTHONPATH.


1. Add ``simpleblog`` and `django.contrib.sites` to your INSTALLED_APPS setting like this::


Note: if you want to customize the templates, please add ``el_pagination`` ``markdown_deux`` ``pagedown`` to your INSTALLED_APPS setting.

2. Add `SITE_ID = 1` in your
3. Run ``python migrate``
4. Include the ``simpleblog urls`` like this to have your "home page" as the blog index::


urlpatterns =[
path('blog/', include('simpleblog.urls')),

``django-simple-blog`` has one setting at the moment::

# How long the length of the textarea should be.

MAX_LENGTH_TEXTAREA = 120 (defaults to None)


``django-simple-blog`` comes with one templatetag for getting
the latest desired number of posts. Just do this in any template::
{% load blog_tags %}

{% latest_blog_posts 5 %}


``django-simple-blog`` is available in ``english``, ``swedish`` and ``french``
at the moment, feel free to translate the application in another

For writing posts we will use django's admin application.

The templates

The templates is just there as examples for how your templates
could look like, but they work excellent as well, but if you don't
like them, just override them with your own templates simply.







If you have problem getting the right versions of these packages,
clone them from their github repository.

Project details

Download files

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

Source Distribution

django-simple-blog-0.3.0.tar.gz (12.5 kB view hashes)

Uploaded source

Built Distribution

django_simple_blog-0.3.0-py3-none-any.whl (17.7 kB view hashes)

Uploaded py3

Supported by

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