Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 1.5 compatibility #2

Open
wants to merge 1 commit into
base: release-1.6.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[egg_info]
tag_build = +ge.1.0
tag_date = false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
sys.path.insert(0, 'src/reversion')
from distutils.core import setup
from setuptools import setup
from version import __version__


Expand Down
2 changes: 1 addition & 1 deletion src/reversion/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from django import template
from django.db import models, transaction, connection
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, options
from django.contrib.admin.util import unquote, quote
Expand Down
8 changes: 1 addition & 7 deletions src/reversion/revisions.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"""Revision management for django-reversion."""


try:
from functools import wraps
except ImportError:
from django.utils.functional import wraps # Python 2.4 fallback.

from functools import wraps
import operator, sys
from threading import local
from weakref import WeakValueDictionary
Expand Down
2 changes: 1 addition & 1 deletion src/reversion/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from django.test import TestCase
from django.core.management import call_command
from django.conf import settings
from django.conf.urls.defaults import *
from django.conf.urls import *
from django.contrib import admin
from django.contrib.auth.models import User
from django.utils.decorators import decorator_from_middleware
Expand Down
2 changes: 1 addition & 1 deletion src/reversion/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = (1, 6, 6)
__version__ = (1, 6, 7)