from django.conf.urls import url from mptt_test.views import mpttView urlpatterns = [] urlpatterns += [ url(r'tree/', mpttView.as_view()), ]