use django's datetime field in models, remove KeyGenerator and
use keygen helper.