Skip to content

Commit

Permalink
upgrades url reverse refs for django 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon McClure committed Feb 14, 2018
1 parent 45864a3 commit 0974e2b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions chartwerk/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.core.urlresolvers import NoReverseMatch, reverse
from django.db.models import Q
from django.http import (HttpResponseBadRequest, HttpResponseNotFound,
JsonResponse)
from django.db.models import Q
from django.urls import resolve
from django.urls import NoReverseMatch, resolve, reverse
from django.utils.decorators import method_decorator
from django.utils.six.moves.urllib.parse import urlparse
from django.views.generic import DetailView, ListView, TemplateView
Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@

# General information about the project.
project = u'django-chartwerk'
copyright = u'2017, The Dallas Morning News'
copyright = u'2018, The Dallas Morning News'
author = u'Jon McClure'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u'0.5.18'
version = u'0.5.19'
# The full version, including alpha/beta/rc tags.
release = u'0.5.18'
release = u'0.5.19'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions example/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ celery==4.1.0
certifi==2017.11.5
chardet==3.0.4
decorator==4.1.2
Django==1.11.7
-e git+git@github.com:DallasMorningNews/django-chartwerk.git@cbf19c741e40515d94f5beed85fafde50bd78622#egg=django_chartwerk
Django==2.0.2
-e ./..
django-uuslug==1.1.8
djangorestframework==3.7.3
docutils==0.14
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

REPO_URL = 'https://github.com/DallasMorningNews/django-chartwerk/'

PYPI_VERSION = '0.5.18'
PYPI_VERSION = '0.5.19'

with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
Expand Down

0 comments on commit 0974e2b

Please sign in to comment.