Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 2.1 support #32

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open

Django 2.1 support #32

wants to merge 10 commits into from

Conversation

cblignaut
Copy link

Added support for Django 2.1 and included coveralls

@phala phala changed the title Feature/django 2.1 support Django 2.1 support Jan 7, 2019
.travis.yml Outdated
- TOXENV=django110-py36
- TOXENV=django111-py36
include:
- python: 2.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List these envs the same way please. No need for the separation the be this granular.

@@ -0,0 +1,2 @@
Django~=1.11.15
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These requirements can be listed directly in the tox.ini file. No need for separate files for two requirements.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -0,0 +1,2 @@
Django>=2.0,<2.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above about requirements

@@ -0,0 +1,2 @@
Django>=2.1,<2.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above about requirements

export/tools.py Outdated
@@ -101,4 +101,5 @@ def view(self, request, extra_context=None, process_form=True):
context,
)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP 8: expected 2 blank lines after class or function definition, found 1

deps =
coverage
django111: django>=1.11,<2.0
django110: django>=1.10,<1.11
django19: django>=1.9,<1.10
django20: django>=2.0,<2.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing that you have these here, all the requirements files for the tests can be removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants