I don\'t want to use email configuration fields in setting.py, i want to put them in to a model.
class Configuration(models.Model): email_use_tls = model
You should create an object from EmailBackend:
EmailBackend
I have been an answer in the previous stack overflow post.