urlpatterns = [url('^api/', include(api_patterns)), url('^internal/',
    include(internal_patterns)), url('^admin/', include(admin.site.urls)),
    url('', MainView.as_view())]
Match all urls without the prefix in Django