Skip to content

Commit 58c15e4

Browse files
Merge branch 'master' into extensible
2 parents d05b2c1 + 0362ed2 commit 58c15e4

File tree

15 files changed

+68
-24
lines changed

15 files changed

+68
-24
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,18 @@ matrix:
3636
python: "3.5"
3737
- env: TOX_ENV=py36-django20-postgis
3838
python: "3.6"
39+
- env: TOX_ENV=py35-django21-postgis
40+
python: "3.5"
41+
- env: TOX_ENV=py36-django21-postgis
42+
python: "3.6"
3943
- env: TOX_ENV=py35-django-master-postgis
4044
python: "3.5"
4145
- env: TOX_ENV=py36-django-master-postgis
4246
python: "3.6"
47+
- env: TOX_ENV=py37-django-master-postgis
48+
python: "3.7"
4349
allow_failures:
4450
# Django master is allowed to fail
4551
- env: TOX_ENV=py35-django-master-postgis
4652
- env: TOX_ENV=py36-django-master-postgis
53+
- env: TOX_ENV=py37-django-master-postgis

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ Authors
66
* Adam Lawrence (`alaw005 <https://github.com/alaw005>`_, [email protected])
77
* Dave Kroondyk (`davekaro <https://github.com/davekaro>`_, [email protected])
88
* Joshua Goodwin (`jclgoodwin <https://github.com/jclgoodwin>`_, [email protected])
9+
* Jakub Dorňák (`misli <https://github.com/misli>`, [email protected])

CHANGELOG.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
Changelog
22
=========
33

4-
Next (unreleased)
5-
~~~~~~~~~~~~~~~~~
4+
1.1.2 (2018-08-26)
5+
------------------
6+
* Add support for Django 2.0 and 2.1
67
* Handle latitude and longitudes with initial `+` sign.
78
(`issue #70`_).
9+
* Use ``.iterator()`` to save memory during export (`PR #80`_)
10+
* Fix validation error in admin for Frequency.exact_times
811

912
.. _`issue #70`: https://github.com/tulsawebdevs/django-multi-gtfs/issues/70
13+
.. _`PR #80`: https://github.com/tulsawebdevs/django-multi-gtfs/pull/80
1014

1115
1.1.1 (2017-08-02)
1216
------------------

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3
1+
FROM python:3.6
22
ENV PYTHONUNBUFFERED 1
33

44
RUN apt-get update

examples/explore/docker_run.sh

100644100755
File mode changed.

multigtfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# limitations under the License.
1515
from __future__ import unicode_literals
1616

17-
__version__ = str('1.1.1')
17+
__version__ = str('1.1.2')

multigtfs/compat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def _get_blank_value_19(field):
3131
else:
3232
return ''
3333

34+
3435
if DJ_VERSION >= LooseVersion('1.9'):
3536
get_blank_value = _get_blank_value_19
3637
else:

multigtfs/migrations/0002_add_on_delete.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# flake8: noqa
23
from __future__ import unicode_literals
34

45
from django.db import migrations, models
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.15 on 2018-08-26 20:41
3+
# flake8: noqa
4+
from __future__ import unicode_literals
5+
6+
from django.db import migrations, models
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('multigtfs', '0002_add_on_delete'),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name='frequency',
18+
name='exact_times',
19+
field=models.CharField(blank=True, choices=[('0', 'Trips are not exactly scheduled'), ('1', 'Trips are exactly scheduled from start time')], help_text='Should frequency-based trips be exactly scheduled?', max_length=1),
20+
),
21+
]

multigtfs/models/frequency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class Frequency(Base):
3333
help_text="Time in seconds before returning to same stop")
3434
exact_times = models.CharField(
3535
max_length=1, blank=True,
36-
choices=((0, 'Trips are not exactly scheduled'),
37-
(1, 'Trips are exactly scheduled from start time')),
36+
choices=(('0', 'Trips are not exactly scheduled'),
37+
('1', 'Trips are exactly scheduled from start time')),
3838
help_text="Should frequency-based trips be exactly scheduled?")
3939
extra_data = JSONField(default={}, blank=True, null=True)
4040

0 commit comments

Comments
 (0)