How to add manytomany field to flatpage admin
Posted
by valya
on Stack Overflow
See other posts from Stack Overflow
or by valya
Published on 2010-04-05T08:30:53Z
Indexed on
2010/04/05
8:33 UTC
Read the original article
Hit count: 784
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?
© Stack Overflow or respective owner