From 74a4f00ac39d8770e56bf3a81ad09d301757c11a Mon Sep 17 00:00:00 2001 From: James Turk Date: Wed, 4 Dec 2013 14:35:21 -0500 Subject: [PATCH] fix url tag --- markupwiki/templates/markupwiki/article.html | 10 ++-- .../templates/markupwiki/edit_article.html | 4 +- tox.ini | 54 +++++++++++++++++++ 3 files changed, 61 insertions(+), 7 deletions(-) create mode 100644 tox.ini diff --git a/markupwiki/templates/markupwiki/article.html b/markupwiki/templates/markupwiki/article.html index 307cb42..64c53b1 100644 --- a/markupwiki/templates/markupwiki/article.html +++ b/markupwiki/templates/markupwiki/article.html @@ -6,7 +6,7 @@ {% if article and mod_form %}
-
+
  • {{mod_form.status.label_tag}} {{ mod_form.status }}
  • @@ -16,7 +16,7 @@
-
+
    {{ rename_form.as_ul}}
  • @@ -31,7 +31,7 @@

    {% block article_title %} -{% if article.section_name %}{{article.section_name}} / {% endif %} +{% if article.section_name %}{{article.section_name}} / {% endif %} {{article.display_title}} {% if article.is_deleted %} [deleted] {% endif %} @@ -42,10 +42,10 @@ diff --git a/markupwiki/templates/markupwiki/edit_article.html b/markupwiki/templates/markupwiki/edit_article.html index 0e2ad14..05aad12 100644 --- a/markupwiki/templates/markupwiki/edit_article.html +++ b/markupwiki/templates/markupwiki/edit_article.html @@ -10,8 +10,8 @@ {% block article_meta %} {% if article %} - view article | - view history + view article | + view history {% endif %} {% endblock %} diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..3265887 --- /dev/null +++ b/tox.ini @@ -0,0 +1,54 @@ +[tox] +envlist = py27-django14, py27-django15, py27-django16, py33-django15, py33-django16, flake8 + +[testenv:flake8] +deps = flake8 +commands = flake8 markupfield + +[django14] +deps = + docutils + pygments + Markdown + django-markupfield + Django>=1.4,<1.5 + +[django15] +deps = + docutils + pygments + Markdown + django-markupfield + Django>=1.5,<1.6 + +[django16] +deps = + docutils + pygments + markdown + django-markupfield + Django>=1.6,<1.7 + +[testenv] +commands = + django-admin.py test --settings example.settings + +[testenv:py27-django14] +basepython = python2.7 +deps = {[django14]deps} + +[testenv:py27-django15] +basepython = python2.7 +deps = {[django15]deps} + +[testenv:py27-django16] +basepython = python2.7 +deps = {[django16]deps} + +[testenv:py33-django15] +basepython = python3.3 +deps = {[django15]deps} + +[testenv:py33-django16] +basepython = python3.3 +deps = {[django16]deps}