from django.urls import path

from . import views

urlpatterns = [
    path('', views.ExampleFormView.as_view(), name='upload'),
]

try:
    from django.urls import path
except ImportError:
    from django.conf.urls import url as path

from . import views

urlpatterns = [
    path('', views.ExampleFormView.as_view(), name='upload'),
]

Fix test suite for Django 1.11
Fix test suite for Django 1.11
