From 38b64c9eff958e7daf30dc73b6eed8e9d128ef16 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Fri, 29 Aug 2014 06:01:10 +0200 Subject: [PATCH] Update readme --- Makefile | 8 ++++---- README.rst | 21 +++++++++++++-------- cms_helper.py | 4 +++- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 868793a..f035e23 100644 --- a/Makefile +++ b/Makefile @@ -24,18 +24,18 @@ clean-pyc: lint: flake8 djangocms_blog + djangocms-helper djangocms_blog pyflakes --cms test: - python runtests.py test + djangocms-helper djangocms_blog test --cms --nose test-all: tox coverage: - coverage run --source djangocms-blog setup.py test + coverage erase + coverage run `which djangocms-helper` djangocms_blog test --cms --nose coverage report -m - coverage html - open htmlcov/index.html release: clean python setup.py sdist upload diff --git a/README.rst b/README.rst index eaf58c9..0ac52b7 100644 --- a/README.rst +++ b/README.rst @@ -2,17 +2,21 @@ djangocms-blog ============== -.. image:: https://badge.fury.io/py/djangocms-blog.png - :target: http://badge.fury.io/py/djangocms-blog - -.. image:: https://travis-ci.org/nephila/djangocms-blog.svg?branch=develop - :target: https://travis-ci.org/nephila/djangocms-blog +.. image:: https://pypip.in/v/djangocms-blog/badge.png + :target: https://pypi.python.org/pypi/djangocms-blog + :alt: Latest PyPI version + +.. image:: https://travis-ci.org/nephila/djangocms-blog.png?branch=master + :target: https://travis-ci.org/nephila/djangocms-blog + :alt: Latest Travis CI build status .. image:: https://pypip.in/d/djangocms-blog/badge.png :target: https://pypi.python.org/pypi/djangocms-blog + :alt: Monthly downloads -.. image:: https://coveralls.io/repos/nephila/djangocms-blog/badge.png?branch=develop - :target: https://coveralls.io/r/nephila/djangocms-blog?branch=develop +.. image:: https://coveralls.io/repos/nephila/djangocms-blog/badge.png?branch=master + :target: https://coveralls.io/r/nephila/djangocms-blog?branch=master + :alt: Test coverage A djangoCMS 3 blog application. @@ -112,12 +116,13 @@ suited for your deployment. url(r'^taggit_autosuggest/', include('taggit_autosuggest.urls')), * To start your blog create a new page from the CMS and hook it to the blog application: - + * Create a new django CMS page * Go to Advanced settings and sele select Blog from the Application selector; * Eventually customise the Application instance name; * Restart the project instance to properly load blog urls. + Templates +++++++++ diff --git a/cms_helper.py b/cms_helper.py index 5e07b29..143403e 100644 --- a/cms_helper.py +++ b/cms_helper.py @@ -3,7 +3,9 @@ from tempfile import mkdtemp gettext = lambda s: s HELPER_SETTINGS = { - 'NOSE_ARGS':['-s'], + 'NOSE_ARGS':[ + '-s', + ], 'ROOT_URLCONF':'tests.test_utils.urls', 'INSTALLED_APPS':[ 'django_nose',