8

Merge branch 'release/0.10.3'

This commit is contained in:
nathanbegbie
2018-01-05 19:17:18 +02:00
6 changed files with 11 additions and 13 deletions

View File

@@ -4,9 +4,8 @@ language: python
matrix:
include:
# Django 1.9, Wagtail 1.9
- python: 2.7
env: TOXENV=py27-django19-wagtail19
env: TOXENV=py27-django111-wagtail113
install:
- pip install tox codecov

View File

@@ -55,10 +55,10 @@ author = 'Lab Digital BV'
# built documents.
#
# The short X.Y version.
version = '0.10.2'
version = '0.10.3'
# The full version, including alpha/beta/rc tags.
release = '0.10.2'
release = '0.10.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.2
current_version = 0.10.3
commit = true
tag = true
tag_name = {new_version}

View File

@@ -2,7 +2,7 @@ import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=1.9,<1.11',
'wagtail>=1.10,<1.14',
'user-agents>=1.0.1',
'wagtailfontawesome>=1.0.6',
]
@@ -32,7 +32,7 @@ with open('README.rst') as fh:
setup(
name='wagtail-personalisation-molo',
version='0.10.2',
version='0.10.3',
description='A forked version of Wagtail add-on for showing personalized content',
author='Praekelt.org',
author_email='dev@praekeltfoundation.org',

View File

@@ -22,7 +22,7 @@
<div class="nice-padding block_container">
{% if all_count %}
{% for segment in object_list %}
<div class="block block--{{ segment.status }}" onclick="location.href = 'edit/{{ segment.pk }}'">
<div class="block block--{{ segment.status }}" onclick="location.href = '{% url 'wagtail_personalisation_segment_modeladmin_edit' segment.pk %}'">
<h2>{{ segment }}</h2>
<div class="inspect_container">
<ul class="inspect segment_stats">
@@ -90,7 +90,7 @@
{% elif segment.status == segment.STATUS_ENABLED %}
<li><a href="{% url 'segment:toggle' segment.pk %}" title="{% trans "Disable this segment" %}">disable</a></li>
{% endif %}
<li><a href="edit/{{ segment.pk }}" title="{% trans "Configure this segment" %}">configure this</a></li>
<li><a href="{% url 'wagtail_personalisation_segment_modeladmin_edit' segment.pk %}" title="{% trans "Configure this segment" %}">configure this</a></li>
</ul>
{% endif %}
</div>

View File

@@ -1,13 +1,12 @@
[tox]
envlist = py{27}-django{19}-wagtail{19},lint
envlist = py{27}-django{111}-wagtail{113},lint
[testenv]
commands = coverage run --parallel -m pytest {posargs}
extras = test
deps =
django19: django>=1.9,<1.10
wagtail19: wagtail>=1.9,<1.10
wagtail110: wagtail>=1.10,<1.11
django111: django>=1.11,<1.12
wagtail19: wagtail>=1.13,<1.14
[testenv:coverage-report]
basepython = python2.7