I have defined some abbreviations for python mode by using code like this
(define-abbrev-table 'python-mode-abbrev-table
'(
("i_settings" "from django.conf import settings")
("i_requestcontext" "from django.template import RequestContext")
("i_model" "from django.db import models")
("i_form" "from django import forms")
))
but it can't work correctly. for example, I input "i_settings" then input a space, emacs doesn't expand to "from django.conf import settings". I have tried it with all configuration disabled, but no help.