from django.contrib import admin
from django.contrib.flatpages.admin import FlatpageForm, FlatPageAdmin
from django.contrib.flatpages.models import FlatPage
## OOPS this is a custom widget that works for initializing
## tinymce instances on stacked and tabular inlines
## for flatpages, just use the tinymce packaged one.
#from content.widgets import TinyMCE 
from tinymce.widgets import TinyMCE

class PageForm(FlatpageForm):

    class Meta:
        model = FlatPage
        widgets = {
            'content' : TinyMCE(attrs={'cols': 100, 'rows': 15}),
        }


class PageAdmin(FlatPageAdmin):
    """
    Page Admin
    """
    form = PageForm


admin.site.unregister(FlatPage)
admin.site.register(FlatPage, PageAdmin)
@@ -396,23 +396,29 @@
 %0A%0Aclass 
-PageFor
+FlatPageCusto
 m(Flatpa
@@ -426,17 +426,16 @@
 eForm):%0A
-%0A
     clas
@@ -712,18 +712,23 @@
 atPage, 
-PageAdmin
+FlatPageCustom
 )

Update admin