Infer configparser getter from field type
This commit is contained in:
parent
3b4e587045
commit
b6f7cade68
|
|
@ -22,13 +22,13 @@ class FetchmailServer(models.Model):
|
||||||
"user": {},
|
"user": {},
|
||||||
"password": {},
|
"password": {},
|
||||||
"is_ssl": {
|
"is_ssl": {
|
||||||
"getter": "getbool",
|
"getter": "getboolean",
|
||||||
},
|
},
|
||||||
"attach": {
|
"attach": {
|
||||||
"getter": "getbool",
|
"getter": "getboolean",
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"getter": "getbool",
|
"getter": "getboolean",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
mail_fields.update(base_fields)
|
mail_fields.update(base_fields)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue