Hi when i add a blog post via the admin page, how do i validate the 
categories?

Ive tried overriding the 'clean()' method of BlogPost, which does get 
called, but not sure where to check for categories.

when i submit a post via the admin, i want to make sure it has atleast one 
category.
I have also modified my blogcategory model to include a 'parent_category' 
field, and i want the make sure the BlogPost also includes all 
parent_categories, so post with also be listed under these parent_categories

Thanks!

-- 
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.

Reply via email to