move cms slug down to root url

This commit is contained in:
Luke Hatcher 2012-05-22 00:49:32 -04:00
parent b2b27eec16
commit e3252d7120

View file

@ -22,7 +22,7 @@ urlpatterns = patterns("",
url(r"^account/", include("pinax.apps.account.urls")),
url(r"^openid/", include(PinaxConsumer().urls)),
url(r"^markitup/", include("markitup.urls")),
url(r"^pages/(?P<slug>%s)/$" % WIKI_SLUG, "cms.views.page", name="cms_page"),
url(r"^(?P<slug>%s)/$" % WIKI_SLUG, "cms.views.page", name="cms_page"),
)