Skip to content

Commit

Permalink
legacy support
Browse files Browse the repository at this point in the history
  • Loading branch information
wullerot committed May 25, 2018
1 parent 1f5eca6 commit e9b1087
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Simple terms and condition notify app

## Install
```shell
$ pip install -e git+https://github.com/rouxcode/[email protected].2#egg=django-tac
$ pip install -e git+https://github.com/rouxcode/[email protected].3#egg=django-tac
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion tac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import unicode_literals


__version__ = '0.1.2'
__version__ = '0.1.3'
default_app_config = 'tac.apps.TACConfig'
5 changes: 4 additions & 1 deletion tac/templatetags/tac_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
from django import template
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.urls import reverse
try:
from django.urls import reverse
except Exception:
from django.core.urlresolvers import reverse
from django.utils.translation import get_language

from .. import conf
Expand Down

0 comments on commit e9b1087

Please sign in to comment.