Skip to main content

An easy way to start writting blog posts.

Project description

==========================
django-simple-blog
==========================

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.

Installation
============

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 ``setup.py``.
- Download or "git clone" the package and add ``simpleblog`` to your PYTHONPATH.


Usage
=====

1. Add ``simpleblog`` to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'simpleblog',
)
2. Run ``syncdb``
3. Include the ``simpleblog urls`` like this to have your "home page" as the blog index::

...
from simpleblog.views import BlogListView
...

urlpatterns = patterns('',
url(r'^$', BlogListView.as_view(), name='home'),
url(r'^blog/', include('simpleblog.urls')),
url(r'^admin/', include(admin.site.urls)),
)

Templatetags
===========

``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 %}


Translation
===========

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

Admin
=====
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.

Requirements
============

`Django>=1.5
<https://github.com/django/django/>`_

`endless-pagination>=2.0
<https://github.com/frankban/django-endless-pagination/>`_

`simplemathcaptcha>=1.0.2
<https://github.com/alsoicode/django-simple-math-captcha/>`_

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.1.0.zip (19.0 kB view details)

Uploaded Source

File details

Details for the file django-simple-blog-0.1.0.zip.

File metadata

File hashes

Hashes for django-simple-blog-0.1.0.zip
Algorithm Hash digest
SHA256 db72632259f02258909d8b92a452c7f3281b4d0e138464b16efa1af87bbf7910
MD5 120c48cf4210706c062403eb665c019f
BLAKE2b-256 657300b3be4d5029c3caca5c6bd3332911c9a0f74a1a52f7a328c3a0caf75fd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page