Skip to content

Commit

Permalink
feat: add support for python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
escaped committed Nov 15, 2018
1 parent 32bf6df commit ac8a1b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Unreleased

* Example for Form usage
* Switched to poetry for dependency management and packaging
* Support for Python 3.7
* Support for Django 2.1
* Dropped Support for Django <1.11

Expand Down
6 changes: 2 additions & 4 deletions test_proj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,14 @@
'test_proj.media_library',
)

MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
# not available in django 1.7
# 'django.middleware.security.SecurityMiddleware',
)

ROOT_URLCONF = 'test_proj.urls'
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ envlist =
py27-{1.11},
py35-{1.11,2.0,2.1}
py36-{1.11,2.0,2.1}
py37-{2.0,2.1}


[testenv]
Expand Down

0 comments on commit ac8a1b4

Please sign in to comment.