Commit 534aacfd authored by Daniel Klaffenbach's avatar Daniel Klaffenbach 🐍

forms: Use new reverse() import

parent 3798d173
Pipeline #13190 passed with stage
in 30 seconds
......@@ -4,7 +4,11 @@ Form base classes which can be used with tuc2014, crispy_forms and bootstrap.
@author: klada
from django import forms
from django.core.urlresolvers import reverse
# Available in Django 1.10+
from django.urls import reverse
except ImportError:
from django.core.urlresolvers import reverse
from django.conf import settings
from django.utils.translation import ugettext as _, ugettext_lazy
from crispy_forms.bootstrap import FormActions, FieldWithButtons
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment