fusionbox / django-widgy

A CMS framework for Django built on a heterogenous tree editor.
http://wid.gy
Other
332 stars 52 forks source link

Add valid_root_of method to WidgySite #366

Closed julianandrews closed 8 years ago

julianandrews commented 8 years ago

This should allow better control of which layouts are available for a given site.

This is basically Gavin Wahl's change from https://github.com/fusionbox/django-widgy/pull/257 but passing the field instead of the model to address Rocky Meza's concern about multiple WidgyFields on a single model.