Hi!
The method described in urls.py doesn't seem to work for me.
I made a page with
Title 'Hack' (both in main area and meta)
Content 'dummy'
Url '/' (in meta)
my urls.py urlpatterns are:
urlpatterns += patterns('',
url("^test/$", 'hello.test', name='test'),
#url("^$", direct_to_template, {"template": "index.html"}, name="home"),
url("^$", "mezzanine.pages.views.page", {"slug": "/"}, name="Hack"),
("^", include("mezzanine.urls")),
)
But the slug doesn't work. It doesn't direct browser to
mysite/pages/index.html
It seems, that it just shows the template index.html from mezzanine core
templates. I tried changing core/templates/index.html a bit to see if truly
it is used - and now there's an error at root url of my site.
thx
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.