Skip to content

Commit

Permalink
Replace import django.core.urlresolvers by django.urls
Browse files Browse the repository at this point in the history
  • Loading branch information
nsurbay committed Nov 13, 2017
1 parent 0cc654d commit 78a7ce9
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.contrib import auth
from django.utils.encoding import python_2_unicode_compatible
from django.utils.safestring import mark_safe
from django.core.urlresolvers import reverse
from django.urls import reverse


__all__ = ['User', 'Group', 'Team']
Expand Down
2 changes: 1 addition & 1 deletion accounts/templatetags/accounts_tags.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django import template
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils.safestring import mark_safe
from django.utils.html import escape

Expand Down
2 changes: 1 addition & 1 deletion accounts/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.urls import reverse

import json

Expand Down
2 changes: 1 addition & 1 deletion permissions/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.contrib.auth.models import AnonymousUser

from permissions.models import *
Expand Down
2 changes: 1 addition & 1 deletion tracker/mdx/mdx_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from markdown.inlinepatterns import Pattern
from markdown.util import etree

from django.core.urlresolvers import reverse
from django.urls import reverse
from django.conf import settings


Expand Down
2 changes: 1 addition & 1 deletion tracker/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from django.utils.encoding import python_2_unicode_compatible
from django.contrib.sites.models import Site
from django.core.validators import MinValueValidator, MaxValueValidator
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.contrib.sites.shortcuts import get_current_site
from django.core.exceptions import ObjectDoesNotExist

Expand Down
2 changes: 1 addition & 1 deletion tracker/notifications.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import unicode_literals

from django.template.loader import render_to_string
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.conf import settings
from django.core import mail
from django.core.mail import EmailMultiAlternatives
Expand Down
2 changes: 1 addition & 1 deletion tracker/templatetags/issue_tags.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import unicode_literals

from django import template
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils.safestring import mark_safe


Expand Down
2 changes: 1 addition & 1 deletion tracker/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.urls import reverse

from tracker.models import *
from accounts.models import User
Expand Down
2 changes: 1 addition & 1 deletion tracker/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from django.db.models import Q
from django.conf import settings
from django.contrib.sites.models import Site
from django.core.urlresolvers import reverse
from django.urls import reverse

import bleach
from markdown import markdown
Expand Down
2 changes: 1 addition & 1 deletion tracker/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from django.contrib.sites.shortcuts import get_current_site
from django.views.decorators.http import require_http_methods
from django.conf import settings
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage
from django.http import HttpResponse, Http404
from django.db.models import Max, Count
Expand Down

0 comments on commit 78a7ce9

Please sign in to comment.