You can do something like this:
class SearchKeywordInline(admin.StackedInline):
model = SearchKeyword
extra = 3
class FlatPageAdmin(admin.ModelAdmin):
inlines = [SearchKeywordInline]
# unregister the FlatPage model from the admin site so I can
# register it again with the inline stuff (Thanks Carl & Jason)
admin.site.unregister(FlatPage)
admin.site.register(FlatPage, FlatPageAdmin)
More info in the official Django docs
Update: Fixed the code to suit your requirements.
Baishampayan Ghose
2009-02-10 16:46:25