-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path__init__.py
82 lines (54 loc) · 2.57 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Bungeni Parliamentary Information System - http://www.bungeni.org/
# Copyright (C) 2010 - Africa i-Parliaments - http://www.parliaments.info/
# Licensed under GNU GPL v2 - http://www.gnu.org/licenses/gpl-2.0.txt
"""Bungeni Custom
Package to include deployment-specific customizations -- this package should
be replicated and modified as necessary.
To specify a deployment's customizations package simply configure the
python path appropriately; a way to do this is to add a ".pth" file in
the deployment's python site-packages folder, containing a single line
with the path to the parent folder of the "bungeni_custom" package.
For example, create the file at:
/home/{USER}/cinst/python25/lib/python2.5/site-packages/bungeni_custom.pth
Containing the one line:
/home/{USER}/cinst/bungeni/src
$Id: __init__.py 10720 2013-03-14 11:25:47Z mianonjoka $
"""
# the legislature instance
legislature = dict(
# whether uni- or bi- cameral legislature, bool
bicameral=True,
# the full name of the legislature, unicode string
full_name="Legislature",
# the legislature election_date, iso 8601 date string
election_date="2012-12-28",
# the legislature start_date, iso 8601 date string
start_date="2013-01-01",
# the legislature end_date, None or iso 8601 date string
end_date=None,
# the identifier of the parliament e.g. 9th parliament
identifier="9",
# official country code for legislature locale is running - ISO 3166-1 alpha-2
country_code="ke",
)
# language ids, either as a space-separated string or as a list of strings
zope_i18n_allowed_languages = "ar en fr pt sw"
# boolean: True, False
zope_i18n_compile_mo_files = True
# string, language identifier, must be one of zope_i18n_allowed_languages
default_language = "en"
# language ids for languages written right to left, as a space-separated string
right_to_left_languages = "ar"
# integer, minimum number of seconds to wait between checks for whether a
# localization file needs reloading; 0 means never check (deployment)
check_auto_reload_localization = 5
# default number of items in listings
default_number_of_listing_items = 50
# when listing text columns, only display first so many characters
long_text_column_listings_truncate_at = 57
# duration in seconds before an access token expires
oauth_access_token_expiry_time = 3600
# duration in seconds before an authorisarion token expires
oauth_authorization_token_expiry_time = 600
# used to secure information during the OAuth flow
oauth_hmac_key = "wNo1CvEW5eN4BbzisBdb7Af2Asx6XXoke0GZtIMN3h3HCdA3"