Saturday 15 August 2015

Change field in Django Flatpages Admin -


Using Flatpages with default administrator, I can choose with or with a predefined options for a text input for radio Need to change template area from It's easy to do this with one of my own apps - just use the option feature in the model.

I have tried some things - if necessary then I will add details about those efforts - but does anyone know a good way to do this?

"itemprop =" text ">

A custom defined flatpages uses the ModelAdmin class which is by default but inherits from a Custom Form On this form, override the field, the widget you want. Then unpublish the flatpages administrator and re-register it with your custom class.

< / Html>

No comments:

Post a Comment