Skip to content

Commit

Permalink
Removed some 1.3 compatability code
Browse files Browse the repository at this point in the history
  • Loading branch information
macro1 committed Oct 31, 2014
1 parent 5d19c4c commit bd0ed76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 1 addition & 4 deletions simple_history/admin.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
from __future__ import unicode_literals

from django.core.exceptions import PermissionDenied
try:
from django.conf.urls import patterns, url
except ImportError:
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
from django.contrib import admin
from django.contrib.admin import helpers
from django.contrib.contenttypes.models import ContentType
Expand Down
6 changes: 1 addition & 5 deletions simple_history/tests/urls.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from __future__ import unicode_literals

try:
from django.conf.urls import include, url
except ImportError:
from django.conf.urls.defaults import include, url

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

Expand Down

0 comments on commit bd0ed76

Please sign in to comment.