mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-03-16 22:20:30 +00:00
Support Django 1.9
This commit is contained in:
parent
1511e67d66
commit
10e0853152
1 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
|||
from django import template
|
||||
from django.urls import reverse
|
||||
try:
|
||||
from django.urls import reverse
|
||||
except ImportError:
|
||||
# For Django < 1.10
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.template.loader import render_to_string
|
||||
from django.utils import six
|
||||
from django.utils.translation import ugettext as _
|
||||
|
|
|
|||
Loading…
Reference in a new issue