truncate error description in admin

Also removes old conditional imports
This commit is contained in:
Ilan Steemers
2018-08-13 18:50:35 +02:00
parent 83de4c28c7
commit 4076795dc3
3 changed files with 11 additions and 13 deletions
+1 -4
View File
@@ -1,7 +1,4 @@
try:
from django.urls import reverse
except ImportError: # Django < 1.10
from django.core.urlresolvers import reverse
from django.urls import reverse
from django.utils import timezone
import pytest