hawat.blueprints.settings_reporting.forms module

This module contains custom reporting settings management forms for Hawat.

class hawat.blueprints.settings_reporting.forms.BaseSettingsReportingForm(*args, **kwargs)[source]

Bases: hawat.forms.BaseItemForm

Class representing base reporting settings form.

attachments = <UnboundField(SelectField, (l'Report attachments:',), {'choices': [('', l'<< system default >>'), ('json', l'json'), ('csv', l'csv'), ('all', l'all'), ('none', l'none')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
cancel = <UnboundField(SubmitField, (l'Cancel',), {})>
compress = <UnboundField(RadioFieldWithNone, (l'Attachment compression:',), {'coerce': <function str_to_bool_with_none>, 'choices': [(None, l'System default'), (True, l'Enabled'), (False, l'Disabled')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function str_to_bool_with_none>]})>
emails = <UnboundField(CommaListField, (l'Target emails:',), {'validators': [<wtforms.validators.Optional object>, <function check_email_list>]})>
locale = <UnboundField(SelectField, (l'Locale:',), {'choices': [('', l'<< system default >>'), ['en', 'english']], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
max_attachment_size = <UnboundField(SelectFieldWithNone, (l'Attachment size limit:',), {'choices': [(None, l'<< system default >>'), (0, l'<< no limit >>'), (20971520, '20 MB'), (15728640, '15 MB'), (10485760, '10 MB'), (5242880, '5 MB'), (1048576, '1 MB')], 'default': 10485760, 'coerce': <function str_to_int_with_none>, 'validators': [<wtforms.validators.Optional object>]})>
mode = <UnboundField(SelectField, (l'Reporting mode:',), {'choices': [('', l'<< system default >>'), ('summary', l'summary'), ('extra', l'extra'), ('both', l'both'), ('none', l'none')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
mute = <UnboundField(RadioFieldWithNone, (l'Mute reporting:',), {'coerce': <function str_to_bool_with_none>, 'choices': [(None, l'System default'), (True, l'Enabled'), (False, l'Disabled')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function str_to_bool_with_none>]})>
redirect = <UnboundField(RadioFieldWithNone, (l'Report redirection:',), {'coerce': <function str_to_bool_with_none>, 'choices': [(None, l'System default'), (True, l'Enabled'), (False, l'Disabled')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function str_to_bool_with_none>]})>
submit = <UnboundField(SubmitField, (l'Submit',), {})>
template = <UnboundField(StringField, (l'Template:',), {'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
timezone = <UnboundField(SelectField, (l'Timezone:',), {'choices': [('', l'<< system default >>'), ('Africa/Abidjan', 'Africa/Abidjan'), ('Africa/Accra', 'Africa/Accra'), ('Africa/Addis_Ababa', 'Africa/Addis_Ababa'), ('Africa/Algiers', 'Africa/Algiers'), ('Africa/Asmara', 'Africa/Asmara'), ('Africa/Bamako', 'Africa/Bamako'), ('Africa/Bangui', 'Africa/Bangui'), ('Africa/Banjul', 'Africa/Banjul'), ('Africa/Bissau', 'Africa/Bissau'), ('Africa/Blantyre', 'Africa/Blantyre'), ('Africa/Brazzaville', 'Africa/Brazzaville'), ('Africa/Bujumbura', 'Africa/Bujumbura'), ('Africa/Cairo', 'Africa/Cairo'), ('Africa/Casablanca', 'Africa/Casablanca'), ('Africa/Ceuta', 'Africa/Ceuta'), ('Africa/Conakry', 'Africa/Conakry'), ('Africa/Dakar', 'Africa/Dakar'), ('Africa/Dar_es_Salaam', 'Africa/Dar_es_Salaam'), ('Africa/Djibouti', 'Africa/Djibouti'), ('Africa/Douala', 'Africa/Douala'), ('Africa/El_Aaiun', 'Africa/El_Aaiun'), ('Africa/Freetown', 'Africa/Freetown'), ('Africa/Gaborone', 'Africa/Gaborone'), ('Africa/Harare', 'Africa/Harare'), ('Africa/Johannesburg', 'Africa/Johannesburg'), ('Africa/Juba', 'Africa/Juba'), ('Africa/Kampala', 'Africa/Kampala'), ('Africa/Khartoum', 'Africa/Khartoum'), ('Africa/Kigali', 'Africa/Kigali'), ('Africa/Kinshasa', 'Africa/Kinshasa'), ('Africa/Lagos', 'Africa/Lagos'), ('Africa/Libreville', 'Africa/Libreville'), ('Africa/Lome', 'Africa/Lome'), ('Africa/Luanda', 'Africa/Luanda'), ('Africa/Lubumbashi', 'Africa/Lubumbashi'), ('Africa/Lusaka', 'Africa/Lusaka'), ('Africa/Malabo', 'Africa/Malabo'), ('Africa/Maputo', 'Africa/Maputo'), ('Africa/Maseru', 'Africa/Maseru'), ('Africa/Mbabane', 'Africa/Mbabane'), ('Africa/Mogadishu', 'Africa/Mogadishu'), ('Africa/Monrovia', 'Africa/Monrovia'), ('Africa/Nairobi', 'Africa/Nairobi'), ('Africa/Ndjamena', 'Africa/Ndjamena'), ('Africa/Niamey', 'Africa/Niamey'), ('Africa/Nouakchott', 'Africa/Nouakchott'), ('Africa/Ouagadougou', 'Africa/Ouagadougou'), ('Africa/Porto-Novo', 'Africa/Porto-Novo'), ('Africa/Sao_Tome', 'Africa/Sao_Tome'), ('Africa/Tripoli', 'Africa/Tripoli'), ('Africa/Tunis', 'Africa/Tunis'), ('Africa/Windhoek', 'Africa/Windhoek'), ('America/Adak', 'America/Adak'), ('America/Anchorage', 'America/Anchorage'), ('America/Anguilla', 'America/Anguilla'), ('America/Antigua', 'America/Antigua'), ('America/Araguaina', 'America/Araguaina'), ('America/Argentina/Buenos_Aires', 'America/Argentina/Buenos_Aires'), ('America/Argentina/Catamarca', 'America/Argentina/Catamarca'), ('America/Argentina/Cordoba', 'America/Argentina/Cordoba'), ('America/Argentina/Jujuy', 'America/Argentina/Jujuy'), ('America/Argentina/La_Rioja', 'America/Argentina/La_Rioja'), ('America/Argentina/Mendoza', 'America/Argentina/Mendoza'), ('America/Argentina/Rio_Gallegos', 'America/Argentina/Rio_Gallegos'), ('America/Argentina/Salta', 'America/Argentina/Salta'), ('America/Argentina/San_Juan', 'America/Argentina/San_Juan'), ('America/Argentina/San_Luis', 'America/Argentina/San_Luis'), ('America/Argentina/Tucuman', 'America/Argentina/Tucuman'), ('America/Argentina/Ushuaia', 'America/Argentina/Ushuaia'), ('America/Aruba', 'America/Aruba'), ('America/Asuncion', 'America/Asuncion'), ('America/Atikokan', 'America/Atikokan'), ('America/Bahia', 'America/Bahia'), ('America/Bahia_Banderas', 'America/Bahia_Banderas'), ('America/Barbados', 'America/Barbados'), ('America/Belem', 'America/Belem'), ('America/Belize', 'America/Belize'), ('America/Blanc-Sablon', 'America/Blanc-Sablon'), ('America/Boa_Vista', 'America/Boa_Vista'), ('America/Bogota', 'America/Bogota'), ('America/Boise', 'America/Boise'), ('America/Cambridge_Bay', 'America/Cambridge_Bay'), ('America/Campo_Grande', 'America/Campo_Grande'), ('America/Cancun', 'America/Cancun'), ('America/Caracas', 'America/Caracas'), ('America/Cayenne', 'America/Cayenne'), ('America/Cayman', 'America/Cayman'), ('America/Chicago', 'America/Chicago'), ('America/Chihuahua', 'America/Chihuahua'), ('America/Costa_Rica', 'America/Costa_Rica'), ('America/Creston', 'America/Creston'), ('America/Cuiaba', 'America/Cuiaba'), ('America/Curacao', 'America/Curacao'), ('America/Danmarkshavn', 'America/Danmarkshavn'), ('America/Dawson', 'America/Dawson'), ('America/Dawson_Creek', 'America/Dawson_Creek'), ('America/Denver', 'America/Denver'), ('America/Detroit', 'America/Detroit'), ('America/Dominica', 'America/Dominica'), ('America/Edmonton', 'America/Edmonton'), ('America/Eirunepe', 'America/Eirunepe'), ('America/El_Salvador', 'America/El_Salvador'), ('America/Fort_Nelson', 'America/Fort_Nelson'), ('America/Fortaleza', 'America/Fortaleza'), ('America/Glace_Bay', 'America/Glace_Bay'), ('America/Godthab', 'America/Godthab'), ('America/Goose_Bay', 'America/Goose_Bay'), ('America/Grand_Turk', 'America/Grand_Turk'), ('America/Grenada', 'America/Grenada'), ('America/Guadeloupe', 'America/Guadeloupe'), ('America/Guatemala', 'America/Guatemala'), ('America/Guayaquil', 'America/Guayaquil'), ('America/Guyana', 'America/Guyana'), ('America/Halifax', 'America/Halifax'), ('America/Havana', 'America/Havana'), ('America/Hermosillo', 'America/Hermosillo'), ('America/Indiana/Indianapolis', 'America/Indiana/Indianapolis'), ('America/Indiana/Knox', 'America/Indiana/Knox'), ('America/Indiana/Marengo', 'America/Indiana/Marengo'), ('America/Indiana/Petersburg', 'America/Indiana/Petersburg'), ('America/Indiana/Tell_City', 'America/Indiana/Tell_City'), ('America/Indiana/Vevay', 'America/Indiana/Vevay'), ('America/Indiana/Vincennes', 'America/Indiana/Vincennes'), ('America/Indiana/Winamac', 'America/Indiana/Winamac'), ('America/Inuvik', 'America/Inuvik'), ('America/Iqaluit', 'America/Iqaluit'), ('America/Jamaica', 'America/Jamaica'), ('America/Juneau', 'America/Juneau'), ('America/Kentucky/Louisville', 'America/Kentucky/Louisville'), ('America/Kentucky/Monticello', 'America/Kentucky/Monticello'), ('America/Kralendijk', 'America/Kralendijk'), ('America/La_Paz', 'America/La_Paz'), ('America/Lima', 'America/Lima'), ('America/Los_Angeles', 'America/Los_Angeles'), ('America/Lower_Princes', 'America/Lower_Princes'), ('America/Maceio', 'America/Maceio'), ('America/Managua', 'America/Managua'), ('America/Manaus', 'America/Manaus'), ('America/Marigot', 'America/Marigot'), ('America/Martinique', 'America/Martinique'), ('America/Matamoros', 'America/Matamoros'), ('America/Mazatlan', 'America/Mazatlan'), ('America/Menominee', 'America/Menominee'), ('America/Merida', 'America/Merida'), ('America/Metlakatla', 'America/Metlakatla'), ('America/Mexico_City', 'America/Mexico_City'), ('America/Miquelon', 'America/Miquelon'), ('America/Moncton', 'America/Moncton'), ('America/Monterrey', 'America/Monterrey'), ('America/Montevideo', 'America/Montevideo'), ('America/Montserrat', 'America/Montserrat'), ('America/Nassau', 'America/Nassau'), ('America/New_York', 'America/New_York'), ('America/Nipigon', 'America/Nipigon'), ('America/Nome', 'America/Nome'), ('America/Noronha', 'America/Noronha'), ('America/North_Dakota/Beulah', 'America/North_Dakota/Beulah'), ('America/North_Dakota/Center', 'America/North_Dakota/Center'), ('America/North_Dakota/New_Salem', 'America/North_Dakota/New_Salem'), ('America/Ojinaga', 'America/Ojinaga'), ('America/Panama', 'America/Panama'), ('America/Pangnirtung', 'America/Pangnirtung'), ('America/Paramaribo', 'America/Paramaribo'), ('America/Phoenix', 'America/Phoenix'), ('America/Port-au-Prince', 'America/Port-au-Prince'), ('America/Port_of_Spain', 'America/Port_of_Spain'), ('America/Porto_Velho', 'America/Porto_Velho'), ('America/Puerto_Rico', 'America/Puerto_Rico'), ('America/Punta_Arenas', 'America/Punta_Arenas'), ('America/Rainy_River', 'America/Rainy_River'), ('America/Rankin_Inlet', 'America/Rankin_Inlet'), ('America/Recife', 'America/Recife'), ('America/Regina', 'America/Regina'), ('America/Resolute', 'America/Resolute'), ('America/Rio_Branco', 'America/Rio_Branco'), ('America/Santarem', 'America/Santarem'), ('America/Santiago', 'America/Santiago'), ('America/Santo_Domingo', 'America/Santo_Domingo'), ('America/Sao_Paulo', 'America/Sao_Paulo'), ('America/Scoresbysund', 'America/Scoresbysund'), ('America/Sitka', 'America/Sitka'), ('America/St_Barthelemy', 'America/St_Barthelemy'), ('America/St_Johns', 'America/St_Johns'), ('America/St_Kitts', 'America/St_Kitts'), ('America/St_Lucia', 'America/St_Lucia'), ('America/St_Thomas', 'America/St_Thomas'), ('America/St_Vincent', 'America/St_Vincent'), ('America/Swift_Current', 'America/Swift_Current'), ('America/Tegucigalpa', 'America/Tegucigalpa'), ('America/Thule', 'America/Thule'), ('America/Thunder_Bay', 'America/Thunder_Bay'), ('America/Tijuana', 'America/Tijuana'), ('America/Toronto', 'America/Toronto'), ('America/Tortola', 'America/Tortola'), ('America/Vancouver', 'America/Vancouver'), ('America/Whitehorse', 'America/Whitehorse'), ('America/Winnipeg', 'America/Winnipeg'), ('America/Yakutat', 'America/Yakutat'), ('America/Yellowknife', 'America/Yellowknife'), ('Antarctica/Casey', 'Antarctica/Casey'), ('Antarctica/Davis', 'Antarctica/Davis'), ('Antarctica/DumontDUrville', 'Antarctica/DumontDUrville'), ('Antarctica/Macquarie', 'Antarctica/Macquarie'), ('Antarctica/Mawson', 'Antarctica/Mawson'), ('Antarctica/McMurdo', 'Antarctica/McMurdo'), ('Antarctica/Palmer', 'Antarctica/Palmer'), ('Antarctica/Rothera', 'Antarctica/Rothera'), ('Antarctica/Syowa', 'Antarctica/Syowa'), ('Antarctica/Troll', 'Antarctica/Troll'), ('Antarctica/Vostok', 'Antarctica/Vostok'), ('Arctic/Longyearbyen', 'Arctic/Longyearbyen'), ('Asia/Aden', 'Asia/Aden'), ('Asia/Almaty', 'Asia/Almaty'), ('Asia/Amman', 'Asia/Amman'), ('Asia/Anadyr', 'Asia/Anadyr'), ('Asia/Aqtau', 'Asia/Aqtau'), ('Asia/Aqtobe', 'Asia/Aqtobe'), ('Asia/Ashgabat', 'Asia/Ashgabat'), ('Asia/Atyrau', 'Asia/Atyrau'), ('Asia/Baghdad', 'Asia/Baghdad'), ('Asia/Bahrain', 'Asia/Bahrain'), ('Asia/Baku', 'Asia/Baku'), ('Asia/Bangkok', 'Asia/Bangkok'), ('Asia/Barnaul', 'Asia/Barnaul'), ('Asia/Beirut', 'Asia/Beirut'), ('Asia/Bishkek', 'Asia/Bishkek'), ('Asia/Brunei', 'Asia/Brunei'), ('Asia/Chita', 'Asia/Chita'), ('Asia/Choibalsan', 'Asia/Choibalsan'), ('Asia/Colombo', 'Asia/Colombo'), ('Asia/Damascus', 'Asia/Damascus'), ('Asia/Dhaka', 'Asia/Dhaka'), ('Asia/Dili', 'Asia/Dili'), ('Asia/Dubai', 'Asia/Dubai'), ('Asia/Dushanbe', 'Asia/Dushanbe'), ('Asia/Famagusta', 'Asia/Famagusta'), ('Asia/Gaza', 'Asia/Gaza'), ('Asia/Hebron', 'Asia/Hebron'), ('Asia/Ho_Chi_Minh', 'Asia/Ho_Chi_Minh'), ('Asia/Hong_Kong', 'Asia/Hong_Kong'), ('Asia/Hovd', 'Asia/Hovd'), ('Asia/Irkutsk', 'Asia/Irkutsk'), ('Asia/Jakarta', 'Asia/Jakarta'), ('Asia/Jayapura', 'Asia/Jayapura'), ('Asia/Jerusalem', 'Asia/Jerusalem'), ('Asia/Kabul', 'Asia/Kabul'), ('Asia/Kamchatka', 'Asia/Kamchatka'), ('Asia/Karachi', 'Asia/Karachi'), ('Asia/Kathmandu', 'Asia/Kathmandu'), ('Asia/Khandyga', 'Asia/Khandyga'), ('Asia/Kolkata', 'Asia/Kolkata'), ('Asia/Krasnoyarsk', 'Asia/Krasnoyarsk'), ('Asia/Kuala_Lumpur', 'Asia/Kuala_Lumpur'), ('Asia/Kuching', 'Asia/Kuching'), ('Asia/Kuwait', 'Asia/Kuwait'), ('Asia/Macau', 'Asia/Macau'), ('Asia/Magadan', 'Asia/Magadan'), ('Asia/Makassar', 'Asia/Makassar'), ('Asia/Manila', 'Asia/Manila'), ('Asia/Muscat', 'Asia/Muscat'), ('Asia/Nicosia', 'Asia/Nicosia'), ('Asia/Novokuznetsk', 'Asia/Novokuznetsk'), ('Asia/Novosibirsk', 'Asia/Novosibirsk'), ('Asia/Omsk', 'Asia/Omsk'), ('Asia/Oral', 'Asia/Oral'), ('Asia/Phnom_Penh', 'Asia/Phnom_Penh'), ('Asia/Pontianak', 'Asia/Pontianak'), ('Asia/Pyongyang', 'Asia/Pyongyang'), ('Asia/Qatar', 'Asia/Qatar'), ('Asia/Qyzylorda', 'Asia/Qyzylorda'), ('Asia/Riyadh', 'Asia/Riyadh'), ('Asia/Sakhalin', 'Asia/Sakhalin'), ('Asia/Samarkand', 'Asia/Samarkand'), ('Asia/Seoul', 'Asia/Seoul'), ('Asia/Shanghai', 'Asia/Shanghai'), ('Asia/Singapore', 'Asia/Singapore'), ('Asia/Srednekolymsk', 'Asia/Srednekolymsk'), ('Asia/Taipei', 'Asia/Taipei'), ('Asia/Tashkent', 'Asia/Tashkent'), ('Asia/Tbilisi', 'Asia/Tbilisi'), ('Asia/Tehran', 'Asia/Tehran'), ('Asia/Thimphu', 'Asia/Thimphu'), ('Asia/Tokyo', 'Asia/Tokyo'), ('Asia/Tomsk', 'Asia/Tomsk'), ('Asia/Ulaanbaatar', 'Asia/Ulaanbaatar'), ('Asia/Urumqi', 'Asia/Urumqi'), ('Asia/Ust-Nera', 'Asia/Ust-Nera'), ('Asia/Vientiane', 'Asia/Vientiane'), ('Asia/Vladivostok', 'Asia/Vladivostok'), ('Asia/Yakutsk', 'Asia/Yakutsk'), ('Asia/Yangon', 'Asia/Yangon'), ('Asia/Yekaterinburg', 'Asia/Yekaterinburg'), ('Asia/Yerevan', 'Asia/Yerevan'), ('Atlantic/Azores', 'Atlantic/Azores'), ('Atlantic/Bermuda', 'Atlantic/Bermuda'), ('Atlantic/Canary', 'Atlantic/Canary'), ('Atlantic/Cape_Verde', 'Atlantic/Cape_Verde'), ('Atlantic/Faroe', 'Atlantic/Faroe'), ('Atlantic/Madeira', 'Atlantic/Madeira'), ('Atlantic/Reykjavik', 'Atlantic/Reykjavik'), ('Atlantic/South_Georgia', 'Atlantic/South_Georgia'), ('Atlantic/St_Helena', 'Atlantic/St_Helena'), ('Atlantic/Stanley', 'Atlantic/Stanley'), ('Australia/Adelaide', 'Australia/Adelaide'), ('Australia/Brisbane', 'Australia/Brisbane'), ('Australia/Broken_Hill', 'Australia/Broken_Hill'), ('Australia/Currie', 'Australia/Currie'), ('Australia/Darwin', 'Australia/Darwin'), ('Australia/Eucla', 'Australia/Eucla'), ('Australia/Hobart', 'Australia/Hobart'), ('Australia/Lindeman', 'Australia/Lindeman'), ('Australia/Lord_Howe', 'Australia/Lord_Howe'), ('Australia/Melbourne', 'Australia/Melbourne'), ('Australia/Perth', 'Australia/Perth'), ('Australia/Sydney', 'Australia/Sydney'), ('Canada/Atlantic', 'Canada/Atlantic'), ('Canada/Central', 'Canada/Central'), ('Canada/Eastern', 'Canada/Eastern'), ('Canada/Mountain', 'Canada/Mountain'), ('Canada/Newfoundland', 'Canada/Newfoundland'), ('Canada/Pacific', 'Canada/Pacific'), ('Europe/Amsterdam', 'Europe/Amsterdam'), ('Europe/Andorra', 'Europe/Andorra'), ('Europe/Astrakhan', 'Europe/Astrakhan'), ('Europe/Athens', 'Europe/Athens'), ('Europe/Belgrade', 'Europe/Belgrade'), ('Europe/Berlin', 'Europe/Berlin'), ('Europe/Bratislava', 'Europe/Bratislava'), ('Europe/Brussels', 'Europe/Brussels'), ('Europe/Bucharest', 'Europe/Bucharest'), ('Europe/Budapest', 'Europe/Budapest'), ('Europe/Busingen', 'Europe/Busingen'), ('Europe/Chisinau', 'Europe/Chisinau'), ('Europe/Copenhagen', 'Europe/Copenhagen'), ('Europe/Dublin', 'Europe/Dublin'), ('Europe/Gibraltar', 'Europe/Gibraltar'), ('Europe/Guernsey', 'Europe/Guernsey'), ('Europe/Helsinki', 'Europe/Helsinki'), ('Europe/Isle_of_Man', 'Europe/Isle_of_Man'), ('Europe/Istanbul', 'Europe/Istanbul'), ('Europe/Jersey', 'Europe/Jersey'), ('Europe/Kaliningrad', 'Europe/Kaliningrad'), ('Europe/Kiev', 'Europe/Kiev'), ('Europe/Kirov', 'Europe/Kirov'), ('Europe/Lisbon', 'Europe/Lisbon'), ('Europe/Ljubljana', 'Europe/Ljubljana'), ('Europe/London', 'Europe/London'), ('Europe/Luxembourg', 'Europe/Luxembourg'), ('Europe/Madrid', 'Europe/Madrid'), ('Europe/Malta', 'Europe/Malta'), ('Europe/Mariehamn', 'Europe/Mariehamn'), ('Europe/Minsk', 'Europe/Minsk'), ('Europe/Monaco', 'Europe/Monaco'), ('Europe/Moscow', 'Europe/Moscow'), ('Europe/Oslo', 'Europe/Oslo'), ('Europe/Paris', 'Europe/Paris'), ('Europe/Podgorica', 'Europe/Podgorica'), ('Europe/Prague', 'Europe/Prague'), ('Europe/Riga', 'Europe/Riga'), ('Europe/Rome', 'Europe/Rome'), ('Europe/Samara', 'Europe/Samara'), ('Europe/San_Marino', 'Europe/San_Marino'), ('Europe/Sarajevo', 'Europe/Sarajevo'), ('Europe/Saratov', 'Europe/Saratov'), ('Europe/Simferopol', 'Europe/Simferopol'), ('Europe/Skopje', 'Europe/Skopje'), ('Europe/Sofia', 'Europe/Sofia'), ('Europe/Stockholm', 'Europe/Stockholm'), ('Europe/Tallinn', 'Europe/Tallinn'), ('Europe/Tirane', 'Europe/Tirane'), ('Europe/Ulyanovsk', 'Europe/Ulyanovsk'), ('Europe/Uzhgorod', 'Europe/Uzhgorod'), ('Europe/Vaduz', 'Europe/Vaduz'), ('Europe/Vatican', 'Europe/Vatican'), ('Europe/Vienna', 'Europe/Vienna'), ('Europe/Vilnius', 'Europe/Vilnius'), ('Europe/Volgograd', 'Europe/Volgograd'), ('Europe/Warsaw', 'Europe/Warsaw'), ('Europe/Zagreb', 'Europe/Zagreb'), ('Europe/Zaporozhye', 'Europe/Zaporozhye'), ('Europe/Zurich', 'Europe/Zurich'), ('GMT', 'GMT'), ('Indian/Antananarivo', 'Indian/Antananarivo'), ('Indian/Chagos', 'Indian/Chagos'), ('Indian/Christmas', 'Indian/Christmas'), ('Indian/Cocos', 'Indian/Cocos'), ('Indian/Comoro', 'Indian/Comoro'), ('Indian/Kerguelen', 'Indian/Kerguelen'), ('Indian/Mahe', 'Indian/Mahe'), ('Indian/Maldives', 'Indian/Maldives'), ('Indian/Mauritius', 'Indian/Mauritius'), ('Indian/Mayotte', 'Indian/Mayotte'), ('Indian/Reunion', 'Indian/Reunion'), ('Pacific/Apia', 'Pacific/Apia'), ('Pacific/Auckland', 'Pacific/Auckland'), ('Pacific/Bougainville', 'Pacific/Bougainville'), ('Pacific/Chatham', 'Pacific/Chatham'), ('Pacific/Chuuk', 'Pacific/Chuuk'), ('Pacific/Easter', 'Pacific/Easter'), ('Pacific/Efate', 'Pacific/Efate'), ('Pacific/Enderbury', 'Pacific/Enderbury'), ('Pacific/Fakaofo', 'Pacific/Fakaofo'), ('Pacific/Fiji', 'Pacific/Fiji'), ('Pacific/Funafuti', 'Pacific/Funafuti'), ('Pacific/Galapagos', 'Pacific/Galapagos'), ('Pacific/Gambier', 'Pacific/Gambier'), ('Pacific/Guadalcanal', 'Pacific/Guadalcanal'), ('Pacific/Guam', 'Pacific/Guam'), ('Pacific/Honolulu', 'Pacific/Honolulu'), ('Pacific/Kiritimati', 'Pacific/Kiritimati'), ('Pacific/Kosrae', 'Pacific/Kosrae'), ('Pacific/Kwajalein', 'Pacific/Kwajalein'), ('Pacific/Majuro', 'Pacific/Majuro'), ('Pacific/Marquesas', 'Pacific/Marquesas'), ('Pacific/Midway', 'Pacific/Midway'), ('Pacific/Nauru', 'Pacific/Nauru'), ('Pacific/Niue', 'Pacific/Niue'), ('Pacific/Norfolk', 'Pacific/Norfolk'), ('Pacific/Noumea', 'Pacific/Noumea'), ('Pacific/Pago_Pago', 'Pacific/Pago_Pago'), ('Pacific/Palau', 'Pacific/Palau'), ('Pacific/Pitcairn', 'Pacific/Pitcairn'), ('Pacific/Pohnpei', 'Pacific/Pohnpei'), ('Pacific/Port_Moresby', 'Pacific/Port_Moresby'), ('Pacific/Rarotonga', 'Pacific/Rarotonga'), ('Pacific/Saipan', 'Pacific/Saipan'), ('Pacific/Tahiti', 'Pacific/Tahiti'), ('Pacific/Tarawa', 'Pacific/Tarawa'), ('Pacific/Tongatapu', 'Pacific/Tongatapu'), ('Pacific/Wake', 'Pacific/Wake'), ('Pacific/Wallis', 'Pacific/Wallis'), ('US/Alaska', 'US/Alaska'), ('US/Arizona', 'US/Arizona'), ('US/Central', 'US/Central'), ('US/Eastern', 'US/Eastern'), ('US/Hawaii', 'US/Hawaii'), ('US/Mountain', 'US/Mountain'), ('US/Pacific', 'US/Pacific'), ('UTC', 'UTC')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
timing = <UnboundField(RadioFieldWithNone, (l'Reporting timing:',), {'choices': [(None, l'System default'), ('default', l'Default'), ('custom', l'Custom')], 'validators': [<wtforms.validators.Optional object>], 'filters': [<function BaseSettingsReportingForm.<lambda>>]})>
timing_per_cr = <UnboundField(SelectField, (l'Reporting period:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 600, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_per_hi = <UnboundField(SelectField, (l'Reporting period:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 600, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_per_lo = <UnboundField(SelectField, (l'Reporting period:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 86400, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_per_md = <UnboundField(SelectField, (l'Reporting period:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 7200, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_rel_cr = <UnboundField(SelectField, (l'Reporting relapse:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 0, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_rel_hi = <UnboundField(SelectField, (l'Reporting relapse:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 43200, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_rel_lo = <UnboundField(SelectField, (l'Reporting relapse:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 172800, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_rel_md = <UnboundField(SelectField, (l'Reporting relapse:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 172800, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_thr_cr = <UnboundField(SelectField, (l'Reporting threshold:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 7200, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_thr_hi = <UnboundField(SelectField, (l'Reporting threshold:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 86400, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_thr_lo = <UnboundField(SelectField, (l'Reporting threshold:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 518400, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
timing_thr_md = <UnboundField(SelectField, (l'Reporting threshold:',), {'choices': [(0, 'none'), (300, '5mins'), (600, '10mins'), (900, '15mins'), (1200, '20mins'), (1800, '30mins'), (3600, '1hr'), (7200, '2hrs'), (10800, '3hrs'), (14400, '4hrs'), (21600, '6hrs'), (28800, '8hrs'), (43200, '12hrs'), (86400, '1day'), (172800, '2days'), (259200, '3days'), (345600, '4days'), (432000, '5days'), (518400, '6days'), (604800, '1week'), (691200, '8days'), (777600, '9days'), (864000, '13days'), (1209600, '2weeks'), (1814400, '3weeks'), (2419200, '4weeks')], 'default': 518400, 'coerce': <class 'int'>, 'validators': [<wtforms.validators.Optional object>]})>
class hawat.blueprints.settings_reporting.forms.CreateSettingsReportingForm(*args, **kwargs)[source]

Bases: hawat.blueprints.settings_reporting.forms.BaseSettingsReportingForm

Class representing reporting settings create form.

group = <UnboundField(QuerySelectField, (l'Group:',), {'allow_blank': False, 'query_factory': <function get_available_groups>})>
class hawat.blueprints.settings_reporting.forms.UpdateSettingsReportingForm(*args, **kwargs)[source]

Bases: hawat.blueprints.settings_reporting.forms.BaseSettingsReportingForm

Class representing reporting settings update form.

hawat.blueprints.settings_reporting.forms.get_available_groups()[source]

Query the database for list of all available groups.

hawat.blueprints.settings_reporting.forms.get_available_locales()[source]

Get list available report translations.