Upgrade code to support Django 1.10

This commit is contained in:
Claude Paroz 2016-09-08 15:46:58 +02:00
parent 90bcdbbc06
commit f8b1afcf72
6 changed files with 13 additions and 9 deletions

View file

@ -6,10 +6,10 @@ from tabimport import FileFactory
from django.conf import settings
from django.contrib import messages
from django.core.urlresolvers import reverse
from django.db.models import Case, Count, When
from django.http import HttpResponse, HttpResponseNotAllowed, HttpResponseRedirect
from django.shortcuts import get_object_or_404
from django.urls import reverse
from django.utils.translation import ugettext as _
from django.views.generic import DetailView, FormView, TemplateView, ListView