Is it possible to arrange blog posts into categories and subcategories

603 views
Skip to first unread message

A. B.

unread,
Dec 13, 2015, 4:18:55 PM12/13/15
to Wagtail support
I'm exploring the demo project from github. Seems like there are 'tags' that you can attach to posts, but I don't see categories and subcategories. Is this available?

Brett Grace

unread,
Dec 13, 2015, 6:57:56 PM12/13/15
to Wagtail support
I haven't looked at the demo recently so I can't so for sure that this feature is absent, but it's probably absent. You're expected to create a large number of custom page types and models in order to realize your vision for the site. Wagtail is more of a library for building a custom CMS, and isn't really comparable feature-wise to some other CMS which try to integrate everything you might need. It's basically "just Django" with some building blocks and admin area UI elements that make it friendly to content editors.

Adding a category model should be pretty simple. To make them accessible through the admin, you'll want to register the model as a "Snippet".

A. B.

unread,
Dec 14, 2015, 7:59:45 AM12/14/15
to Wagtail support
This seems like a good description from what I've seen so far with Wagtail. I'll give it a bit more testing. For example Mezzanine CMS has the following advantages: more features out of the box, you can edit custom models through common UI, no need to do anything special to them. There is also Pinax, a completely non intrusive set of starter apps for different scenarios. 

So, @register_snippet doesn't seem like a huge overhead. But to tell the editors they need to go to "Snippets"  to manage user data alongside adverts, but to go to Settings/Users for other user management, is a bit of a bad navigation design. 

Brett Grace

unread,
Dec 14, 2015, 11:50:02 AM12/14/15
to Wagtail support
Mezzanine is actually the CMS I had in mind when making this comparison. These two approaches have their respective advantages and shortcomings.

You can customize the navigation bar as well as the dashboard view, if that helps to simplify the editing flow. Also, you can add or choose snippets inline with the model they are related to, so you don't have to hop around the backend quite so much as you may be imagining.

A. B.

unread,
Dec 14, 2015, 3:03:49 PM12/14/15
to Wagtail support
Well that's interesting. I didn't notice such customization options explained on the first glance at the docs.
Reply all
Reply to author
Forward
0 new messages