def register():
    """ Register markdown for flatpages. """

    admin.site.unregister(FlatPage)
    admin.site.register(FlatPage, LocalFlatPageAdmin)
def register ( ) : admin . site . unregister ( FlatPage ) admin . site . register ( FlatPage , LocalFlatPageAdmin )
Register markdown for flatpages.