Django App -> fail2ban ?!?

Is it possible to create fail2ban entries from a Django App?