How to add manytomany field to flatpage admin
- by valya
Hello!
I have a site with Flatpages, and now I need to be able to add galleries (Gallery model) to the page.
This is going to be ManyToManyField, so there is no need to change the flatpages table. But I still can't define ManyToManyField in proxy class.
I can define ManyToManyField in Gallery model, but it isn't comfortable for the client. How can I change FlatPage Admin to add a ManyToManyField from Galleries model?