from django.conf.urls import patterns, url


def view():
    pass

urlpatterns = patterns(
    "",
    url("^$", view, name="index"),
    url("^(?P<url_title>[^/]+)/$", view, name="detail"),
)

from django.conf.urls import patterns, url


urlpatterns = patterns(
    "",
    url("^$", lambda: None, name="index"),
    url("^(?P<url_title>[^/]+)/$", lambda: None, name="detail"),
)

Replace page test url views with lambdas.
Replace page test url views with lambdas.
