Skip to content

Commit

Permalink
Django 2.0 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemBernatskyy committed Mar 29, 2018
1 parent 62b858b commit 5142547
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- DJANGO_VERSION_MIN=1.9 DJANGO_VERSION_MAX=1.10
- DJANGO_VERSION_MIN=1.10 DJANGO_VERSION_MAX=1.11
- DJANGO_VERSION_MIN=1.11 DJANGO_VERSION_MAX=2.0
- DJANGO_VERSION_MIN=2.0 DJANGO_VERSION_MAX=2.1
install:
- pip install "django>=$DJANGO_VERSION_MIN,<$DJANGO_VERSION_MAX"
- "pip install -e ."
Expand All @@ -19,3 +20,7 @@ after_success:
- coverage report
- coveralls

matrix:
exclude:
- python: "2.7"
env: DJANGO_VERSION_MIN=2.0 DJANGO_VERSION_MAX=2.1
2 changes: 1 addition & 1 deletion django_prbac/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.5'
__version__ = '0.0.6'
4 changes: 2 additions & 2 deletions django_prbac/urls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

from django.conf.urls import include, url
from django.conf.urls import url
from django.contrib import admin

admin.autodiscover()

urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^admin/', admin.site.urls),
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_version():
packages=find_packages(),
zip_safe=False,
install_requires=[
'django>=1.8,<2.0',
'django>=1.8,<2.1',
'jsonfield>=1.0.3',
'simplejson',
'six',
Expand Down

0 comments on commit 5142547

Please sign in to comment.