The blog app defines it's own url patterns. For example, the list view 
(showing all blog posts) is mapped to /blog by default. The trick is in 
creating a page in the admin with the exact same slug. You have to do this 
to get Mezzanine to insert the page variable into your context. In the end, 
Mezzanine will merge both the context provided by the page and the context 
of your own application.

I've done this in the past with a custom Portfolio app and the integration 
is seamless. If you want to inspect your template context, list of 
templates and other useful debugging info in your browser, you should use 
Django Debug Toolbar. Install it with pip install django-debug-tollbar, 
Mezzanine will activate it automatically when it detects it's installed; 
you should then get a small button in the top-right corner of your site 
when running in the development server.

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to