from django.conf.urls import url from django.contrib.flatpages import views urlpatterns = [ url(r'^(?P.*)$', views.flatpage), ]